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

rospkg.common.ResourceNotFound: catkin

asked 2013-03-18 05:21:39 -0500

jontromanab gravatar image

updated 2013-03-18 07:31:56 -0500

joq gravatar image

I am facing this error suddenly in manipulating my dynamixel-based arm. Please anybody help me out. I have not changed anything since my previous version. But suddenly this problem occured. In the dynamixel_controller package:-

 File "/opt/ros/fuerte/stacks/fuerte_workspace/dynamixel_motor/dynamixel_controllers/nodes/controller_manager.py", line 51, in <module>
    roslib.load_manifest('dynamixel_controllers')
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 98, in _generate_python_path
    packages = get_depends(pkg, rospack)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 51, in get_depends
    vals = rospack.get_depends(package, implicit=True)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 195, in get_depends
    names = [p.name for p in self.get_manifest(name).depends]
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 133, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 172, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 164, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
****rospkg.common.ResourceNotFound: catkin
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/opt/ros/fuerte/stacks
ROS path [2]=/opt/ros/fuerte/share
ROS path [3]=/opt/ros/fuerte/share/ros****
================================================================================REQUIRED process [smartarm_motor_manager-1] has died!
process has died [pid 25712, exit code 1, cmd /opt/ros/fuerte/stacks/fuerte_workspace/dynamixel_motor/dynamixel_controllers/nodes/controller_manager.py __name:=smartarm_motor_manager __log:=/root/.ros/log/0a8093ee-8f70-11e2-9c78-00224d6bc6e5/smartarm_motor_manager-1.log].
log file: /root/.ros/log/0a8093ee-8f70-11e2-9c78-00224d6bc6e5/smartarm_motor_manager-1*.log
Initiating shutdown!
================================================================================

Traceback (most recent call last):
  File "/opt/ros/fuerte/stacks/fuerte_workspace/dynamixel_motor/dynamixel_controllers/nodes/controller_spawner.py", line 50, in <module>
    roslib.load_manifest('dynamixel_controllers')
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 98, in _generate_python_path
    packages = get_depends(pkg, rospack)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 51, in get_depends
    vals = rospack.get_depends(package, implicit=True)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 195, in get_depends
    names = [p.name for p in self.get_manifest(name).depends]
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 133, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 172, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
  File "/usr/lib ...
(more)
edit retag flag offensive close merge delete

Comments

I'm facing the same error message just a couple of days when building packages that use dynamic_reconfigure on fuerte (gen_cfg() fails): Strangely "roscd catkin" works while "rospack find catkin" fails. "source /opt/ros/fuerte/setup.bash" did not help...

Wolf gravatar image Wolf  ( 2013-03-20 00:04:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-03-18 08:13:43 -0500

William gravatar image

Something in your launch file depends on catkin and rospkg cannot find it.

Make sure you have run source /opt/ros/fuerte/setup.bash first.

edit flag offensive delete link more

Comments

Hii.........thanks for the answer........it just worked for me.....the problem was in the ~/.bashrc file....sometimes it shows that problem I have mentioned, when there is two setup.bash file located in that file for different locations

jontromanab gravatar image jontromanab  ( 2013-03-27 04:55:27 -0500 )edit

Question Tools

Stats

Asked: 2013-03-18 05:21:39 -0500

Seen: 17,974 times

Last updated: Mar 18 '13