Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rosdep install fails due to missing package.xml #205

Closed
squarebracket opened this issue Jan 7, 2013 · 3 comments
Closed

rosdep install fails due to missing package.xml #205

squarebracket opened this issue Jan 7, 2013 · 3 comments

Comments

@squarebracket
Copy link

Installed onto raspberry pi using instructions here: http://ros.org/wiki/ROSberryPi/Setting%20up%20ROS%20on%20RaspberryPi

At step rosinstall -ay, it fails due to a missing package.xml in /opt/ros/fuerte/share/rospack. Trace shown below:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 116, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 257, in _rosdep_main
return _package_args_handler(command, parser, options, args)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 338, in _package_args_handler
return command_handlers[command](lookup, packages, options)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/main.py", line 483, in command_install
uninstalled, errors = installer.get_uninstalled(packages, implicit=options.recursive, verbose=options.verbose)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/installers.py", line 401, in get_uninstalled
resolutions, errors = self.lookup.resolve_all(resources, installer_context, implicit=implicit)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/lookup.py", line 348, in resolve_all
rosdep_keys = self.get_rosdeps(resource_name, implicit=implicit)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/lookup.py", line 270, in get_rosdeps
return self.loader.get_rosdeps(resource_name, implicit=implicit)
File "/usr/local/lib/python2.7/dist-packages/rosdep2/rospkg_loader.py", line 131, in get_rosdeps
pkg = catkin_pkg.package.parse_package(path)
File "/usr/local/lib/python2.7/dist-packages/catkin_pkg/package.py", line 251, in parse_package
raise IOError('Directory "%s" does not contain a "%s"' % (path, PACKAGE_MANIFEST_FILENAME))
IOError: Directory "/opt/ros/fuerte/share/rospack" does not contain a "package.xml"

@silverboy
Copy link

I got this error on ROS fuerte under Fedora 16. The last version of rosdep is prepared for Groovy, and specification files for rosdep have changed (more information: http://ros.org/reps/rep-0127.html)

I solved it installing rosdep version 0.10.8, it is the last version with old packages files support. You can use the command:

sudo pip install rosdep==0.10.08

@tfoote
Copy link
Member

tfoote commented Feb 4, 2013

It's something specific about rospack. It doesn't fail for ros roscpp std_msgs. I thought it might be a unary stack thing but std_msgs is unary.

@tfoote
Copy link
Member

tfoote commented Feb 4, 2013

It appears that rospack has a vestigual tag in it's manifest.xml which is screwing up catkin vs rosbuild selection in rospkg_loader.py It's patched upstream: ros/rospack@4541b44 but needs to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants