Robotics StackExchange | Archived questions

rosdep fails with ResourceNotFound()

Hi All,

I am new to ROS and working my way through the installation and startup tutorial on the wiki. I'm using Ubuntu 12.04.2 LTS

After installing groovy using apt-get, I run sudo rosdep init.

Then, I go to run rosdep update and get the following error:


kurt@sharceye1:~$ rosdep update

Traceback (most recent call last): File "/home/kurt/ros/ros/bin/rosdep", line 34, in from ros import rosdep

File "/opt/ros/groovy/lib/python2.7/dist-packages/ros/init.py", line 54, in getattr roslib.load_manifest(name.split('.')[0])

File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in loadmanifest sys.path = _generatepythonpath(packagename, _rospack) + sys.path

File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in generatepythonpath m = rospack.getmanifest(pkg)

File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 136, in getmanifest return self.load_manifest(name)

File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 175, in loadmanifest retval = self.manifests[name] = parsemanifestfile(self.getpath(name), self.manifestname)

File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 167, in getpath raise ResourceNotFound(name, rospaths=self.rospaths)

rospkg.common.ResourceNotFound: rosdep

ROS path [0]=/opt/ros/groovy/share/ros

ROS path [1]=/opt/ros/groovy/share

ROS path [2]=/opt/ros/groovy/stacks


The same error occurs even if I only do rosdep --version.

Using apt-get to re-install rosdep does not seem to help.

Trying to reinstall all of ROS (I think) like this:

sudo apt-get install --reinstall ros-groovy-desktop-full

does not resolve this.

Then, trying

sudo apt-get install --reinstall python-rospkg

doesn't seem to help either - I get the same error running rosdep.

Does anybody have a suggestion of what else I might try?

Asked by zoompig on 2013-07-05 12:07:25 UTC

Comments

Answers

I got a little farther I think.

After uninstalling ros-groovy-desktop-full, I then do

aptitude purge ~c

apt-get autoremove

Then I reinstall ros-groovy-desktop-full. Now when I do

rosdep update

I get:

rosdep: error: Unsupported command update.

Any Ideas? Thanks!

Asked by zoompig on 2013-07-05 13:43:40 UTC

Comments

For future reference, additional information about your problem should be added as an edit to your question, rather than added as an answer. This helps keep the Q&A format clearer. (I'm sorry - I don't know the answer to your question, and I'm using a different install than you)

Asked by lindzey on 2013-07-07 20:17:11 UTC

There's a similar thread. Try the solution suggested there.

Asked by 130s on 2013-07-07 20:23:20 UTC

Comments