Ask Your Question
1

Cannot run roscore with latest Ubuntu 12.04 Packages

asked 2012-06-28 09:35:40 -0500

rtoris288 gravatar image

updated 2014-01-28 17:12:50 -0500

ngrennan gravatar image

I just ran an update on my system (sudo apt-get upgrade, sudo apt-get upgrade) which included a whole bunch of updated ROS packages. Upon rebooting my system I am now unable to run anything ROS related. Even running roscore presents the same error:

rctoris@MAGLEV:~$ roscore
... logging to /home/rctoris/.ros/log/713123b6-c157-11e1-bd8b-782bcbad8931/roslaunch-MAGLEV-3057.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
  File "/usr/local/bin/rosversion", line 76, in <module>
    version = rosstack.get_stack_version(stack_name)
  File "/usr/local/lib/python2.7/dist-packages/rospkg/rospack.py", line 359, in get_stack_version
    return get_stack_version_by_dir(self.get_path(stack))
  File "/usr/local/lib/python2.7/dist-packages/rospkg/rospack.py", line 412, in get_stack_version_by_dir
    m = parse_manifest_file(stack_dir, STACK_FILE)
  File "/usr/local/lib/python2.7/dist-packages/rospkg/manifest.py", line 343, in parse_manifest_file
    return parse_manifest(manifest_name, f.read(), filename)
  File "/usr/local/lib/python2.7/dist-packages/rospkg/manifest.py", line 404, in parse_manifest
    m.author = _check('author')(p, filename)
  File "/usr/local/lib/python2.7/dist-packages/rospkg/manifest.py", line 67, in check
    raise InvalidManifest("Invalid manifest file [%s]: must have a single '%s' element"%(filename, name))
rospkg.manifest.InvalidManifest: Invalid manifest file [/opt/ros/fuerte/share/ros/stack.xml]: must have a single 'author' element
Invalid <param> tag: Cannot load command parameter [rosversion]: command [rosversion ros] returned with code [1]. 

Param xml is <param command="rosversion ros" name="rosversion"/>

According to this bug report, it appears as if there was an update to allow for multiple author tags. Is it possible part of this update did not make it into the debian packages? I am running the Ubuntu 12.04 32-bit Fuerte packages.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-06-28 09:55:00 -0500

Lorenz gravatar image

Sort of duplicate of this question.

edit flag offensive delete link more
-2

answered 2012-06-28 09:48:06 -0500

derekjchow gravatar image

I've encountered this problem yesterday. My solution was to edit the /opt/ros/fuerte/share/ros/stack.xml file and remove all but one author tag.

edit flag offensive delete link more

Comments

1

Not a good solution.

joq gravatar imagejoq ( 2012-06-28 10:46:52 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2012-06-28 09:35:40 -0500

Seen: 2,228 times

Last updated: Jun 28 '12