Hi all,
I have a problem with typegen on toolchain-2.4, running on Ubuntu 10.04 (64Bit)
When I create a new package with "orocreate-pkg test" and then try "typegen -d -o types test test-types.hpp", I get the following output:
typegen -d -o types test test-types.hpp /usr/lib/ruby/1.8/fileutils.rb:1441:in `fu_check_options': no such option: force (ArgumentError)
from /usr/lib/ruby/1.8/fileutils.rb:568:in `rm_f' from /opt/orocos/orogen/lib/orogen/gen/typekit.rb:1536:in `generate' from /opt/orocos/orogen/bin/typegen:109It creates a directory types and in there is a symbolic link "test -> /opt/orocos/Projects/test/types" thats it.
Has anyone an idea about whats going wrong??
Ciao Joerg
typegen crashes
On 06/09/2011 07:03 PM, joerg [..] ... wrote:
> I have a problem with typegen on toolchain-2.4, running on Ubuntu 10.04 (64Bit)
>
> When I create a new package with "orocreate-pkg test" and then try "typegen -d -o types test test-types.hpp", I get the following output:
>
>
> typegen -d -o types test test-types.hpp
> /usr/lib/ruby/1.8/fileutils.rb:1441:in `fu_check_options': no such option: force (ArgumentError)
> from /usr/lib/ruby/1.8/fileutils.rb:568:in `rm_f'
> from /opt/orocos/orogen/lib/orogen/gen/typekit.rb:1536:in `generate'
> from /opt/orocos/orogen/bin/typegen:109
>
> It creates a directory types and in there is a symbolic link "test -> /opt/orocos/Projects/test/types" thats it.
>
>
> Has anyone an idea about whats going wrong??
That was a known bug, but I overlooked it.
I just pushed a patch to toolchain-2.4. Update orogen and try again.
Thanks to Charles for the fix, and you for reporting ;-)
typegen crashes
On Friday 10 June 2011 10:21:07 Sylvain Joyeux wrote:
> On 06/09/2011 07:03 PM, joerg [..] ... wrote:
> > I have a problem with typegen on toolchain-2.4, running on Ubuntu 10.04
> > (64Bit)
> >
> > When I create a new package with "orocreate-pkg test" and then try
> > "typegen -d -o types test test-types.hpp", I get the following output:
> >
> >
> > typegen -d -o types test test-types.hpp
> > /usr/lib/ruby/1.8/fileutils.rb:1441:in `fu_check_options': no such
> > option: force (ArgumentError)
> >
> > from /usr/lib/ruby/1.8/fileutils.rb:568:in `rm_f'
> > from /opt/orocos/orogen/lib/orogen/gen/typekit.rb:1536:in
> > `generate' from /opt/orocos/orogen/bin/typegen:109
> >
> > It creates a directory types and in there is a symbolic link "test ->
> > /opt/orocos/Projects/test/types" thats it.
> >
> >
> > Has anyone an idea about whats going wrong??
>
> That was a known bug, but I overlooked it.
>
> I just pushed a patch to toolchain-2.4. Update orogen and try again.
>
> Thanks to Charles for the fix, and you for reporting ;-)
I added this case to the hudson builds as well, so I hope we can catch similar
issues sooner too in the future.
Peter
Re: typegen crashes
I added this case to the hudson builds as well, so I hope we can catch similar issues sooner too in the future.
Peter
Works now, THANKS
Cioa Jeorg
Computer are like air conditioner, they stop working properly when opening windows