ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

gen_rosinstall.py generating invalid install files?

asked 2011-04-07 14:50:19 -0500

John Hoare gravatar image

updated 2011-04-07 14:57:52 -0500

I'm not entirely familiar with how the rosinstall files are supposed to look, but it looks like the gen_rosinstall.py file is generating invalid rosinstall files.

1.) If I just run rosinstall from the site directly, I get the error:

ahhhhhhhh, yaml parse error: mapping values are not allowed here in "<file>", line 5, column 8

2.) If I download the empty file, I needed to remove the spaces between the key and value pairs on line 5.

I.e. Line 5 Goes from: [{'svn': {'local-name': 'ros', 'uri': 'https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.6'}}, {'svn': {'local-name': 'ros_comm', 'uri': 'https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.4.5'}}]

To: [{'svn':{'local-name':'ros', 'uri':'https://code.ros.org/svn/ros/stacks/ros/tags/ros-1.4.6'}}, {'svn':{'local-name':'ros_comm', 'uri':'https://code.ros.org/svn/ros/stacks/ros_comm/tags/ros_comm-1.4.5'}}]

3.) Then, the first 4 lines are:

Do the parsing
Check if rosdistro exists
Check if stack exists
Check if variant exists

I had to remove these also from my rosinstall file that I had saved.

Is this a bug? Should I register this with the bug-tracker?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2011-04-07 20:37:13 -0500

tfoote gravatar image

This is a bug. It looks like debugging code got released. Please file a blocker ticket on the ros trac

edit flag offensive delete link more

Comments

Okay thanks, I've filed a bug. I was a little nervous filing the bug right away incase I was misunderstanding/mis-using rosinstall.
John Hoare gravatar image John Hoare  ( 2011-04-08 01:12:03 -0500 )edit

Question Tools

Stats

Asked: 2011-04-07 14:50:19 -0500

Seen: 333 times

Last updated: Apr 07 '11