[Rock-dev] roby shell

Allan E. Conquest allan.conquest at dfki.de
Mon Dec 12 15:55:38 CET 2011


On 12.12.2011 15:25, Chris Mueller wrote:
> Hi,
>
> I have only two questions about the roby shell provided by each 
> supervision (./scripts/shell):
>
> 1) For some weeks ago the shell couldn't be used because of some changes 
> in orocos.rb.
> Is it currently fixed in our latest version on branch: master? If i try 
> to start it, i always
> get an error message shown in the end of this mail. (We also override 
> our droby ports and
> local process server in our setup, but i removed it temporarely in order 
> test the shell).
>
> 2) Does anyone currently know the commands for reloading all properties 
> and deployments at runtime in the supervision
> usable via the shell? If it's not currently implemented, it would be 
> also great to provide a help command
> in the shell for showing all current utility methods :] or some hints on 
> the website.
>
> Chris
>
>   Address already in use - bind(2) (Errno::EADDRINUSE)
> |   /usr/lib/ruby/1.8/drb/drb.rb:846:in `initialize',
> |   /usr/lib/ruby/1.8/drb/drb.rb:846:in `open',
> |   /usr/lib/ruby/1.8/drb/drb.rb:846:in `open_server_inaddr_any',
> |   /usr/lib/ruby/1.8/drb/drb.rb:859:in `open_server',
> |   /usr/lib/ruby/1.8/drb/drb.rb:759:in `open_server',
> |   /usr/lib/ruby/1.8/drb/drb.rb:757:in `each',
> |   /usr/lib/ruby/1.8/drb/drb.rb:757:in `open_server',
> |   /usr/lib/ruby/1.8/drb/drb.rb:1342:in `initialize',
> |   /usr/lib/ruby/1.8/drb/drb.rb:1630:in `new',
> |   /usr/lib/ruby/1.8/drb/drb.rb:1630:in `start_service',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app.rb:760:in 
> `setup_drb_server',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app.rb:708:in `setup',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app/scripts/shell.rb:23,
> |   /home/chris/repos/rimres/tools/roby/lib/roby/exceptions.rb:339:in 
> `display_exception',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app/scripts/shell.rb:22,
> |   /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in 
> `gem_original_require',
> |   /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in 
> `require',
> |   ./scripts/shell:3
> = Backtrace
> | /usr/lib/ruby/1.8/drb/drb.rb:846:in `initialize',
> |   /usr/lib/ruby/1.8/drb/drb.rb:846:in `open',
> |   /usr/lib/ruby/1.8/drb/drb.rb:846:in `open_server_inaddr_any',
> |   /usr/lib/ruby/1.8/drb/drb.rb:859:in `open_server',
> |   /usr/lib/ruby/1.8/drb/drb.rb:759:in `open_server',
> |   /usr/lib/ruby/1.8/drb/drb.rb:757:in `each',
> |   /usr/lib/ruby/1.8/drb/drb.rb:757:in `open_server',
> |   /usr/lib/ruby/1.8/drb/drb.rb:1342:in `initialize',
> |   /usr/lib/ruby/1.8/drb/drb.rb:1630:in `new',
> |   /usr/lib/ruby/1.8/drb/drb.rb:1630:in `start_service',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app.rb:760:in 
> `setup_drb_server',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app.rb:708:in `setup',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app/scripts/shell.rb:23,
> |   /home/chris/repos/rimres/tools/roby/lib/roby/exceptions.rb:339:in 
> `display_exception',
> |   /home/chris/repos/rimres/tools/roby/lib/roby/app/scripts/shell.rb:22,
> |   /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in 
> `gem_original_require',
> |   /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in 
> `require',
> |   ./scripts/shell:3
>
> _______________________________________________
> Rock-dev mailing list
> Rock-dev at dfki.de
> http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
I used the shell last friday without problems. In my case, I used it for
remote operating with the option "--host <ip>".

I recall "orocos.reload_config" and "orocos.redeploy" as shell commands.
Maybe these two are what you are looking for.


More information about the Rock-dev mailing list