cdeployer fails to load startup.ops script on toolchain 2.3.2

Dear Sirs,

I have a fresh install of Orocos Toolchain 2.3.2.

I wrote a startup.ops file to configure and start components from a script
following instructions on Orocos wiki page.

I am working on xenomai and I use xeno-load with the following .runinfo file to start cdeployer:

Rosetta:native+posix:cdeployer-xenomai -s startup.ops;popall:control_c

I get the following errors:

root@giampy-P5KC:~/orocos/testCdeployer# xeno-load
*
*
* Type ^C to stop this application.
*
*
0.211 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/string
0.211 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/vector<double>
0.334 [ Warning][TaskContextServer()] CTaskContext 'Deployer' already bound to CORBA Naming Service.
0.335 [ Warning][TaskContextServer()] Trying to rebind... done. New CTaskContext bound to Naming Service.
0.335 [ ERROR ][TinyDemarshaller] Could not load startup.ops Error: Error document empty.
0.335 [ ERROR ][DeploymentComponent::loadComponents] Some error occured while parsing startup.ops
0.335 [ ERROR ][Logger] Failed to load a component: aborting kick-start.
^C

The same script work fine if I use deployer insteda of cdeployer.

Have I missed anything?

The complete orocos.log follows.

Thank you in advance for your support.

G. Rizzi

0.000 [ Info ][Logger] No ORO_LOGLEVEL environment variable set.
0.000 [ Info ][Logger] OROCOS version '2.3.2' compiled with GCC 4.4.5. Running in Xenomai.
0.000 [ Info ][Logger] Orocos Logging Activated at level : [ Warning] ( 4 )
0.000 [ Info ][Logger] Reference System Time is : 27656256906459 ticks ( 11496.2 seconds ).
0.000 [ Info ][Logger] Logging is relative to this time.
0.000 [ Info ][Logger] Real-time memory: 17248 bytes free of 20480 allocated.
0.000 [ Info ][Logger] Setting OCL factory for real-time logging
0.012 [ Info ][Logger] Xenomai Periodic Timer runs in preemptive 'one-shot' mode.
0.012 [ Info ][Logger] Installing SIGXCPU handler.
0.012 [ Info ][Logger] RTT_COMPONENT_PATH was set to: /usr/src/orocos/install/lib/orocos/xenomai/:/usr/local/lib/orocos/lib/orocos/: . Searching in: /usr/src/orocos/install/lib/orocos/xenomai/:/usr/local/lib/orocos/lib/orocos/::/usr/src/orocos/install/lib/orocos
0.012 [ Info ][Logger] plugin 'rtt' not loaded before.
0.012 [ Info ][Logger] Loading plugin libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/./plugins ...
0.013 [ Info ][Logger] Loaded RTT Service 'marshalling' from 'rtt-marshalling-xenomai'
0.013 [ Info ][Logger] Loaded RTT Service 'scripting' from 'rtt-scripting-xenomai'
0.014 [ Info ][Logger] Loading plugin libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/./plugins ...
0.014 [ Info ][Logger] typekit 'rtt' not loaded before.
0.014 [ Info ][Logger] Loading typekit libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/./types ...
0.036 [ Info ][TypekitRepository::Import] Loading Typekit rtt-types.
0.036 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-types' from 'rtt-typekit-xenomai'
0.039 [ Info ][TypekitRepository::Import] Loading Transport mqueue://rtt-types.
0.039 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for array
0.039 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for bool
0.039 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for char
0.039 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for double
0.039 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for float
0.039 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for int
0.039 [ Info ][TypekitRepository::Import] Registered new 'mqueue' transport for uint
0.039 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-mqueue-transport' from 'rtt-transport-mqueue-xenomai'
0.042 [ Info ][TypekitRepository::Import] Loading Transport CORBA://rtt-types.
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for ConnPolicy
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for TaskContext
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for array
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for bool
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for char
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for double
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for float
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for int
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for string
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for uint
0.042 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for void
0.042 [ Info ][Logger] Loaded RTT TypeKit/Transport 'rtt-corba-types' from 'rtt-transport-corba-xenomai'
0.043 [ Info ][Logger] Loading typekit libraries from directory /usr/local/lib/orocos/lib/orocos/./types ...
0.208 [ Info ][TypekitRepository::Import] Loading Transport CORBA:///orogen/rosetta.
0.208 [ Info ][Logger] Loaded RTT TypeKit/Transport '/orogen/rosetta/CORBA' from 'rosetta-transport-corba-xenomai'
0.208 [ Info ][TypekitRepository::Import] Loading Typekit /orogen/rosetta.
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/INTERACTION_MODE_ENUM
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/SAFETY_BEHAVIOR_ENUM
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/areaProbability
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/areaProbabilityRequest
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/areaShape
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/armDataRosetta
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/armVector
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/closestImpactPoint
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/dHParam
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/doubleVector
0.209 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/injuriesInformation
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/intVector
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/interactionAreas
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/interactionMode
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/obstacleP
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/obstaclesPositions
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/omatrix
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/pInformation
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/particlesSet
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/personInfo
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/presenceProbability
0.210 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/rPoint
0.211 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/robotDHParams
0.211 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /rosetta/taskStateR
0.211 [ Info ][TypekitRepository::Import] TypeInfo for type '/std/string' already exists as 'string': I'll alias the original and install the new instance.
0.211 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/string
0.211 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/string
0.211 [ Info ][TypekitRepository::Import] TypeInfo for type '/std/vector<double>' already exists as 'array': I'll alias the original and install the new instance.
0.211 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was already added for type /std/vector<double>
0.211 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<double>
0.211 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<int32_t>
0.211 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<rosetta/areaShape>
0.212 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<rosetta/dHParam>
0.212 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<rosetta/obstacleP>
0.212 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<rosetta/pInformation>
0.212 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<rosetta/presenceProbability>
0.212 [ Info ][TypekitRepository::Import] Registered new 'CORBA' transport for /std/vector<rosetta/rPoint>
0.212 [ Info ][Logger] Loaded RTT TypeKit/Transport '/orogen/rosetta' from 'rosetta-typekit-xenomai'
0.268 [ Info ][TypekitRepository::Import] Loading Transport Typelib:///orogen/rosetta.
0.268 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/INTERACTION_MODE_ENUM
0.268 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/SAFETY_BEHAVIOR_ENUM
0.268 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/areaProbability
0.268 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/areaProbabilityRequest
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/areaShape
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/armDataRosetta
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/armVector
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/closestImpactPoint
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/dHParam
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/doubleVector
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/injuriesInformation
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/intVector
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/interactionAreas
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/interactionMode
0.269 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/obstacleP
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/obstaclesPositions
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/omatrix
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/pInformation
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/particlesSet
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/personInfo
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/presenceProbability
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/rPoint
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/robotDHParams
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /rosetta/taskStateR
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/string
0.270 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<double>
0.271 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<int32_t>
0.271 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<rosetta/areaShape>
0.271 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<rosetta/dHParam>
0.271 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<rosetta/obstacleP>
0.271 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<rosetta/pInformation>
0.271 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<rosetta/presenceProbability>
0.271 [ Info ][TypekitRepository::Import] Registered new 'Typelib' transport for /std/vector<rosetta/rPoint>
0.271 [ Info ][Logger] Loaded RTT TypeKit/Transport '/orogen/rosetta/TYPELIB' from 'rosetta-transport-typelib-xenomai'
0.271 [ Info ][Logger] Loading typekit libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/./types ...
0.272 [ Info ][Thread] Creating Thread for scheduler: 1
0.272 [ Info ][Deployer] Thread created with scheduler type '1', priority 0 and period 0.
0.272 [ Info ][Thread] Creating Thread for scheduler: 1
0.273 [ Info ][GlobalEngine] Thread created with scheduler type '1', priority 0 and period 0.
0.273 [ Info ][DeploymentComponent::configure] RTT_COMPONENT_PATH was set to /usr/src/orocos/install/lib/orocos/xenomai/:/usr/local/lib/orocos/lib/orocos/:
0.273 [ Info ][DeploymentComponent::configure] Re-scanning for plugins and components...
0.273 [ Info ][DeploymentComponent::configure] Importing directory /usr/src/orocos/install/lib/orocos/xenomai/ ...
0.274 [ Info ][DeploymentComponent::configure] Loading typekit libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/types ...
0.274 [ Info ][DeploymentComponent::configure] Loading plugin libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/plugins ...
0.274 [ Info ][DeploymentComponent::configure] Importing directory /usr/local/lib/orocos/lib/orocos/ ...
0.287 [ Info ][DeploymentComponent::configure] Loaded multi component library '/usr/local/lib/orocos/lib/orocos/librosetta-tasks-xenomai.so'
0.287 [ Info ][DeploymentComponent::configure] Loading typekit libraries from directory /usr/local/lib/orocos/lib/orocos/types ...
0.287 [ Info ][Logger] No site file was found. Importing 'ocl' by default.
0.288 [ Info ][DeploymentComponent::import] Importing directory /usr/src/orocos/install/lib/orocos/xenomai/ocl ...
0.290 [ Info ][DeploymentComponent::import] Loaded multi component library '/usr/src/orocos/install/lib/orocos/xenomai/ocl/liborocos-ocl-logging-xenomai.so'
0.293 [ Info ][DeploymentComponent::import] Loaded component type 'OCL::HelloWorld'
0.295 [ Info ][DeploymentComponent::import] Loaded multi component library '/usr/src/orocos/install/lib/orocos/xenomai/ocl/liborocos-ocl-common-xenomai.so'
0.298 [ Info ][DeploymentComponent::import] Loaded multi component library '/usr/src/orocos/install/lib/orocos/xenomai/ocl/liborocos-ocl-reporting-xenomai.so'
0.302 [ Info ][DeploymentComponent::import] Loaded multi component library '/usr/src/orocos/install/lib/orocos/xenomai/ocl/liborocos-ocl-timer-xenomai.so'
0.302 [ Info ][DeploymentComponent::import] Loading typekit libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/ocl/types ...
0.309 [ Info ][TypekitRepository::Import] Loading Typekit OCLTypekit.
0.310 [ Info ][TypekitRepository::Import] TypeInfo for type 'ints' already exists as '/std/vector<int32_t>': I'll alias the original and install the new instance.
0.310 [ Info ][DeploymentComponent::import] Loaded RTT TypeKit/Transport 'OCLTypekit' from 'ocl-xenomai'
0.310 [ Info ][DeploymentComponent::import] Loading plugin libraries from directory /usr/src/orocos/install/lib/orocos/xenomai/ocl/plugins ...
0.312 [ Info ][DeploymentComponent::import] Loaded RTT Service 'print' from 'print-xenomai'
0.313 [ Info ][DeploymentComponent::import] Loaded RTT Service 'os' from 'os-xenomai'
0.313 [ Info ][Logger] Registering TaskContextProxy factory.
0.323 [ Info ][Logger] Creating new TaskContextServer for Deployer
0.333 [ Info ][TaskContextServer()] CTaskContext 'Deployer' found CORBA Naming Service.
0.334 [ Warning][TaskContextServer()] CTaskContext 'Deployer' already bound to CORBA Naming Service.
0.335 [ Warning][TaskContextServer()] Trying to rebind... done. New CTaskContext bound to Naming Service.
0.335 [ Info ][DeploymentComponent::loadComponents] Loading 'startup.ops' in group 0.
0.335 [ ERROR ][TinyDemarshaller] Could not load startup.ops Error: Error document empty.
0.335 [ ERROR ][DeploymentComponent::loadComponents] Some error occured while parsing startup.ops
0.335 [ ERROR ][Logger] Failed to load a component: aborting kick-start.
0.335 [ Info ][Logger] Entering orb->run().

cdeployer fails to load startup.ops script on toolchain 2.3.2

On Thursday 05 May 2011 20:31:32 gprizzi [..] ... wrote:
> Dear Sirs,
>
> I have a fresh install of Orocos Toolchain 2.3.2.
>
> I wrote a startup.ops file to configure and start components from a script
> following instructions on Orocos wiki page.
>
> I am working on xenomai and I use xeno-load with the following .runinfo
> file to start cdeployer:
>
> Rosetta:native+posix:cdeployer-xenomai -s startup.ops;popall:control_c
>
> I get the following errors:
>
> root@giampy-P5KC:~/orocos/testCdeployer# xeno-load
> *
> *
> * Type ^C to stop this application.
> *
> *
> 0.211 [ ERROR ][TypekitRepository::Import] A protocol with id 1 was
> already added for type /std/string 0.211 [ ERROR
> ][TypekitRepository::Import] A protocol with id 1 was already added for
> type /std/vector<double> 0.334 [ Warning][TaskContextServer()]
> CTaskContext 'Deployer' already bound to CORBA Naming Service. 0.335 [
> Warning][TaskContextServer()] Trying to rebind... done. New CTaskContext
> bound to Naming Service. 0.335 [ ERROR ][TinyDemarshaller] Could not load
> startup.ops Error: Error document empty. 0.335 [ ERROR
> ][DeploymentComponent::loadComponents] Some error occured while parsing
> startup.ops 0.335 [ ERROR ][Logger] Failed to load a component: aborting
> kick-start. ^C
>
> The same script work fine if I use deployer insteda of cdeployer.
>
> Have I missed anything?

It's a bug obviously. I have pushed the fix to the toolchain-2.3 branch of OCL.

Thanks for reporting,
Peter