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

Problem with roscore?

asked 2012-07-02 05:30:57 -0600

allenh1 gravatar image

Well this is a new one. I updated my packages, and now roscore doesn't work. Here's the error code:

allenh1@muri-pc7:~$ roscore
... logging to /home/allenh1/.ros/log/b450054e-c45a-11e1-b560-0025648c1ab0/roslaunch-muri-pc7-2554.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"/>

What have I done now...

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-07-02 05:48:41 -0600

Lorenz gravatar image

updated 2013-03-14 10:10:46 -0600

tfoote gravatar image

Duplicate of this question. Just do a pip install -U rospkg.

See this more completed answer

edit flag offensive delete link more

Comments

1

I think we should stop recommending easy_install. Use pip, it's better.

joq gravatar image joq  ( 2012-07-02 05:50:16 -0600 )edit

@joq +1: pip has 'uninstall', easy_install doesn't. Also pip freeze | grep XXX is nice.

ipso gravatar image ipso  ( 2012-07-02 06:05:44 -0600 )edit

Both have their problems but you are right, I should stop mentioning easy_install.

Lorenz gravatar image Lorenz  ( 2012-07-02 06:54:01 -0600 )edit

Actually the Question you linked to later says the correct solution is to remove rospkg, not reinstall it. Go to link to view full answer.

Vittorio88 gravatar image Vittorio88  ( 2012-07-15 10:46:42 -0600 )edit

That's not true. Look at the last sentence of my answer, in the edit. The correct solution for now is to update rospkg since it will be updated anyway when rosdep or rosrelease is installed or updated.

Lorenz gravatar image Lorenz  ( 2012-07-15 10:49:44 -0600 )edit

pip install -U rospkg. this is'nt helping me out ..........i have reinstalled the roscore but nothing is happening still showing keyboard interrupts

arushi gravatar image arushi  ( 2015-08-31 06:54:10 -0600 )edit
0

answered 2012-07-02 05:49:19 -0600

joq gravatar image
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-02 05:30:57 -0600

Seen: 1,756 times

Last updated: Mar 14 '13