Hello,
After installing rock and following the tutorial, I am now just past the
point "Run it" at
http://rock-robotics.org/documentation/tutorials/110_basics_create_compo...
upon typing: ruby start.rb
I get the error below. After trying the valgrind command the output
asked me to run, I got a _lot_ of text flying across the screen and then
it paused for a long time. I got a bit impatient and Ctrl+C'ed the
process and then even more texts flew across the screen, all of which I
did not really understand.
Could someone say what is going on? I can continue running Valgrind and
attach all its output if necessary.
/Sagar
---------
sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
ruby start.rb
Caught std::exception.
what(): multiple occurrences
Orocos has detected an uncaught C++ exception
in the ORO_main() function.
You might have called a function which throws
without a try {} catch {} block.
To Debug this situation, issue the following command:
valgrind -v --num-callers=16
/home/sagar/rock/install/bin/orogen_default_message_producer__Task
[options...] --nocatch
Which will show where the exception occured.
( Change num-callers for more/less detail.
Also, compiling orocos and your program with
-g adds more usefull information. )
Orocos: deployment orogen_default_message_producer__Task terminated with
code 65280
/home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:447:in
`wait_running': Orocos::Process was started but crashed (Orocos::NotFound)
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:470:in
`wait_running'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `each'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
from start.rb:8
sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
---------
error doing Rock tutorial
Am 24.03.2012 um 18:04 schrieb Sagar Behere <sagar [dot] behere [..] ...>:
> Hello,
>
> After installing rock and following the tutorial, I am now just past the
> point "Run it" at
> http://rock-robotics.org/documentation/tutorials/110_basics_create_compo...
>
> upon typing: ruby start.rb
Hi I only have a mobile device so I cannot reproduce the error.
But my best guess is that the start script printed in
the tutorial is not compatible to the current software stack.
Could you please try to replace
Orocos.run 'message_producer::Task' => 'message_producer' do
with
Orocos.run 'message_producer' do
and give it another try.
Alex
>
> I get the error below. After trying the valgrind command the output
> asked me to run, I got a _lot_ of text flying across the screen and then
> it paused for a long time. I got a bit impatient and Ctrl+C'ed the
> process and then even more texts flew across the screen, all of which I
> did not really understand.
>
> Could someone say what is going on? I can continue running Valgrind and
> attach all its output if necessary.
>
> /Sagar
> ---------
> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
> ruby start.rb
>
> Caught std::exception.
> what(): multiple occurrences
>
> Orocos has detected an uncaught C++ exception
> in the ORO_main() function.
> You might have called a function which throws
> without a try {} catch {} block.
>
> To Debug this situation, issue the following command:
>
> valgrind -v --num-callers=16
> /home/sagar/rock/install/bin/orogen_default_message_producer__Task
> [options...] --nocatch
> Which will show where the exception occured.
> ( Change num-callers for more/less detail.
> Also, compiling orocos and your program with
> -g adds more usefull information. )
>
> Orocos: deployment orogen_default_message_producer__Task terminated with
> code 65280
> /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:447:in
> `wait_running': Orocos::Process was started but crashed (Orocos::NotFound)
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:470:in
> `wait_running'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `each'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
> from start.rb:8
> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
> ---------
error doing Rock tutorial
On 03/25/2012 11:31 AM, Alexander Duda wrote:
>
>
>
>
> Am 24.03.2012 um 18:04 schrieb Sagar Behere<sagar [dot] behere [..] ...>:
>
>> Hello,
>>
>> After installing rock and following the tutorial, I am now just past the
>> point "Run it" at
>> http://rock-robotics.org/documentation/tutorials/110_basics_create_compo...
>>
>> upon typing: ruby start.rb
>
> Hi I only have a mobile device so I cannot reproduce the error.
> But my best guess is that the start script printed in
> the tutorial is not compatible to the current software stack.
> Could you please try to replace
>
> Orocos.run 'message_producer::Task' => 'message_producer' do
>
> with
>
> Orocos.run 'message_producer' do
>
> and give it another try.
Didn't work. This is what it says
-------
sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
ruby start.rb
/home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:106:in
`initialize': deployment message_producer does not exist or its
pkg-config orogen-message_producer is not found by pkg-config
(Orocos::NotFound)
check your PKG_CONFIG_PATH environment var. Current value is
/home/sagar/rock/install/lib/pkgconfig:/home/sagar/rock/install/lib64/pkgconfig:/home/sagar/rock/install/share/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:245:in `new'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:245:in `run'
from
/home/sagar/rock/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:99:in `map'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `each'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `map'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `run'
from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
from start.rb:8
sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
-------------
Regards,
Sagar
> Alex
>
>>
>> I get the error below. After trying the valgrind command the output
>> asked me to run, I got a _lot_ of text flying across the screen and then
>> it paused for a long time. I got a bit impatient and Ctrl+C'ed the
>> process and then even more texts flew across the screen, all of which I
>> did not really understand.
>>
>> Could someone say what is going on? I can continue running Valgrind and
>> attach all its output if necessary.
>>
>> /Sagar
>> ---------
>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>> ruby start.rb
>>
>> Caught std::exception.
>> what(): multiple occurrences
>>
>> Orocos has detected an uncaught C++ exception
>> in the ORO_main() function.
>> You might have called a function which throws
>> without a try {} catch {} block.
>>
>> To Debug this situation, issue the following command:
>>
>> valgrind -v --num-callers=16
>> /home/sagar/rock/install/bin/orogen_default_message_producer__Task
>> [options...] --nocatch
>> Which will show where the exception occured.
>> ( Change num-callers for more/less detail.
>> Also, compiling orocos and your program with
>> -g adds more usefull information. )
>>
>> Orocos: deployment orogen_default_message_producer__Task terminated with
>> code 65280
>> /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:447:in
>> `wait_running': Orocos::Process was started but crashed (Orocos::NotFound)
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:470:in
>> `wait_running'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `each'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
>> from start.rb:8
>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>> ---------
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
error doing Rock tutorial
Am 25.03.2012 um 17:29 schrieb Sagar Behere <sagar [dot] behere [..] ...>:
> On 03/25/2012 11:31 AM, Alexander Duda wrote:
>>
>>
>>
>>
>> Am 24.03.2012 um 18:04 schrieb Sagar Behere<sagar [dot] behere [..] ...>:
>>
>>> Hello,
>>>
>>> After installing rock and following the tutorial, I am now just past the
>>> point "Run it" at
>>> http://rock-robotics.org/documentation/tutorials/110_basics_create_compo...
>>>
>>> upon typing: ruby start.rb
>>
>> Hi I only have a mobile device so I cannot reproduce the error.
>> But my best guess is that the start script printed in
>> the tutorial is not compatible to the current software stack.
>> Could you please try to replace
>>
>> Orocos.run 'message_producer::Task' => 'message_producer' do
>>
>> with
>>
>> Orocos.run 'message_producer' do
>>
>> and give it another try.
>
> Didn't work. This is what it says
> -------
> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
> ruby start.rb
> /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:106:in
> `initialize': deployment message_producer does not exist or its
> pkg-config orogen-message_producer is not found by pkg-config
> (Orocos::NotFound)
> check your PKG_CONFIG_PATH environment var. Current value is
> /home/sagar/rock/install/lib/pkgconfig:/home/sagar/rock/install/lib64/pkgconfig:/home/sagar/rock/install/share/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:245:in `new'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:245:in `run'
> from
> /home/sagar/rock/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:99:in `map'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `each'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `map'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `run'
> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
> from start.rb:8
> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
> -------------
>
The tutorial did not work properly on your machine because there is a problem between boost 1.42 and the default deployments (this was your first back trace).
I wrongly assumed that you have added a deployment named message_producer therefore you are getting the error printed above.
To add your own deployment add the follow lines to the file message_producer.orogen and rebuild your component (see http://rock-robotics.org/documentation/orogen/deployment.html).
deployment "message_producer" do
task("message_producer","message_producer::Task")
end
Regards
Alex
> Regards,
> Sagar
>
>> Alex
>>
>>>
>>> I get the error below. After trying the valgrind command the output
>>> asked me to run, I got a _lot_ of text flying across the screen and then
>>> it paused for a long time. I got a bit impatient and Ctrl+C'ed the
>>> process and then even more texts flew across the screen, all of which I
>>> did not really understand.
>>>
>>> Could someone say what is going on? I can continue running Valgrind and
>>> attach all its output if necessary.
>>>
>>> /Sagar
>>> ---------
>>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>>> ruby start.rb
>>>
>>> Caught std::exception.
>>> what(): multiple occurrences
>>>
>>> Orocos has detected an uncaught C++ exception
>>> in the ORO_main() function.
>>> You might have called a function which throws
>>> without a try {} catch {} block.
>>>
>>> To Debug this situation, issue the following command:
>>>
>>> valgrind -v --num-callers=16
>>> /home/sagar/rock/install/bin/orogen_default_message_producer__Task
>>> [options...] --nocatch
>>> Which will show where the exception occured.
>>> ( Change num-callers for more/less detail.
>>> Also, compiling orocos and your program with
>>> -g adds more usefull information. )
>>>
>>> Orocos: deployment orogen_default_message_producer__Task terminated with
>>> code 65280
>>> /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:447:in
>>> `wait_running': Orocos::Process was started but crashed (Orocos::NotFound)
>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:470:in
>>> `wait_running'
>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `each'
>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
>>> from start.rb:8
>>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>>> ---------
>>> --
>>> Orocos-Users mailing list
>>> Orocos-Users [..] ...
>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>
error doing Rock tutorial
On 03/26/2012 12:36 AM, Alexander Duda wrote:
>
>
>
>
> Am 25.03.2012 um 17:29 schrieb Sagar Behere<sagar [dot] behere [..] ...>:
>
>> On 03/25/2012 11:31 AM, Alexander Duda wrote:
>>>
>>>
>>>
>>>
>>> Am 24.03.2012 um 18:04 schrieb Sagar Behere<sagar [dot] behere [..] ...>:
>>>
>>>> Hello,
>>>>
>>>> After installing rock and following the tutorial, I am now just past the
>>>> point "Run it" at
>>>> http://rock-robotics.org/documentation/tutorials/110_basics_create_compo...
>>>>
>>>> upon typing: ruby start.rb
>>>
>>> Hi I only have a mobile device so I cannot reproduce the error.
>>> But my best guess is that the start script printed in
>>> the tutorial is not compatible to the current software stack.
>>> Could you please try to replace
>>>
>>> Orocos.run 'message_producer::Task' => 'message_producer' do
>>>
>>> with
>>>
>>> Orocos.run 'message_producer' do
>>>
>>> and give it another try.
>>
>> Didn't work. This is what it says
>> -------
>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>> ruby start.rb
>> /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:106:in
>> `initialize': deployment message_producer does not exist or its
>> pkg-config orogen-message_producer is not found by pkg-config
>> (Orocos::NotFound)
>> check your PKG_CONFIG_PATH environment var. Current value is
>> /home/sagar/rock/install/lib/pkgconfig:/home/sagar/rock/install/lib64/pkgconfig:/home/sagar/rock/install/share/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig:
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:245:in `new'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:245:in `run'
>> from
>> /home/sagar/rock/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:99:in `map'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `each'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `map'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:244:in `run'
>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
>> from start.rb:8
>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>> -------------
>>
>
> The tutorial did not work properly on your machine because there is a problem between boost 1.42 and the default deployments (this was your first back trace).
>
> I wrongly assumed that you have added a deployment named message_producer therefore you are getting the error printed above.
>
> To add your own deployment add the follow lines to the file message_producer.orogen and rebuild your component (see http://rock-robotics.org/documentation/orogen/deployment.html).
>
> deployment "message_producer" do
> task("message_producer","message_producer::Task")
> end
>
Thank you, Alex. That worked. This means that the tutorial needs to be
modified at two places. 1) The place where the message_producer.orogen
is described and the place where start.rb is described. (I retained the
changes to start.rb that you suggested in your previous email.)
Regards,
Sagar
>>> Alex
>>>
>>>>
>>>> I get the error below. After trying the valgrind command the output
>>>> asked me to run, I got a _lot_ of text flying across the screen and then
>>>> it paused for a long time. I got a bit impatient and Ctrl+C'ed the
>>>> process and then even more texts flew across the screen, all of which I
>>>> did not really understand.
>>>>
>>>> Could someone say what is going on? I can continue running Valgrind and
>>>> attach all its output if necessary.
>>>>
>>>> /Sagar
>>>> ---------
>>>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>>>> ruby start.rb
>>>>
>>>> Caught std::exception.
>>>> what(): multiple occurrences
>>>>
>>>> Orocos has detected an uncaught C++ exception
>>>> in the ORO_main() function.
>>>> You might have called a function which throws
>>>> without a try {} catch {} block.
>>>>
>>>> To Debug this situation, issue the following command:
>>>>
>>>> valgrind -v --num-callers=16
>>>> /home/sagar/rock/install/bin/orogen_default_message_producer__Task
>>>> [options...] --nocatch
>>>> Which will show where the exception occured.
>>>> ( Change num-callers for more/less detail.
>>>> Also, compiling orocos and your program with
>>>> -g adds more usefull information. )
>>>>
>>>> Orocos: deployment orogen_default_message_producer__Task terminated with
>>>> code 65280
>>>> /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:447:in
>>>> `wait_running': Orocos::Process was started but crashed (Orocos::NotFound)
>>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:470:in
>>>> `wait_running'
>>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
>>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `each'
>>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:267:in `run'
>>>> from /home/sagar/rock/tools/orocos.rb/lib/orocos/process.rb:48:in `run'
>>>> from start.rb:8
>>>> sagar@squeezebox:~/rock/basics_tutorial/orogen/message_producer/scripts$
>>>> ---------
>>>> --
>>>> Orocos-Users mailing list
>>>> Orocos-Users [..] ...
>>>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>>
>> --
>> Orocos-Users mailing list
>> Orocos-Users [..] ...
>> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
error doing Rock tutorial
Actually, as soon as rock is going to be released, the tutorial is going
to be up-to-date. And bugfixed (that's on our todo list before
releasing). Sorry that you got caught up there.
I think that the real bugfix will be to have a "stable" documentation
(for the current "stable" branch) and a "master" documentation (for the
upcoming changes).
error doing Rock tutorial
On 03/28/2012 09:49 AM, Sylvain Joyeux wrote:
> Actually, as soon as rock is going to be released,
Which release would this be? I thought rock does not have a fixed-point
release?
http://rock-robotics.org/documentation/about/releases.html
Regards,
Sagar
> the tutorial is going
> to be up-to-date. And bugfixed (that's on our todo list before
> releasing). Sorry that you got caught up there.
>
> I think that the real bugfix will be to have a "stable" documentation
> (for the current "stable" branch) and a "master" documentation (for the
> upcoming changes).
error doing Rock tutorial
On 03/28/2012 10:51 AM, Sagar Behere wrote:
> On 03/28/2012 09:49 AM, Sylvain Joyeux wrote:
>> Actually, as soon as rock is going to be released,
>
> Which release would this be? I thought rock does not have a fixed-point
> release?
>
> http://rock-robotics.org/documentation/about/releases.html
That's absolutely right. However, we are reaching a point where we want
to tell the world that Rock exists, and we dubbed that "the release".
In other words, the "stable" branch you are currently testing could be
named "Rock Beta". However, unlike Google, we plan to remove the "beta"
name pretty soon.
Sylvain