#414: Syskit/Roby fails to add-robot when Syskit.conf.transformer_enabled = true
-----------------------+-----------------------------------
Reporter: mawi05 | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: normal | Milestone:
Component: toolchain | Keywords:
-----------------------+-----------------------------------
when in a bundle, the command
syskit add-robot my_robot
fails when in conf/init.rb
Syskit.conf.transformer_enabled = true
is set.
Here's the trace:
{{{
/media/data/Development/SpaceBot/tools/roby/lib/roby/app/installer.rb:18:in
`file?': can't convert nil into String (TypeError)
from
/media/data/Development/SpaceBot/tools/roby/lib/roby/app/installer.rb:18:in
`block in plugin_dirs'
from
/media/data/Development/SpaceBot/tools/roby/lib/roby/app/installer.rb:16:in
`map'
from
/media/data/Development/SpaceBot/tools/roby/lib/roby/app/installer.rb:16:in
`plugin_dirs'
from
/media/data/Development/SpaceBot/tools/roby/lib/roby/app/installer.rb:36:in
`robot'
from
/media/data/Development/SpaceBot/tools/roby/lib/roby/app/scripts/add-
robot.rb:11:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'
from /media/data/Development/SpaceBot/tools/roby/bin/roby:13:in
`<main>'
}}}
Workaround is to set Syskit.conf.transformer_enabled = false
--
Ticket URL: <https://rock.opendfki.de/ticket/414>
rock <https://rock.opendfki.de>
rock: the robot construction kit
_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev