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

roswtf fails to launch [closed]

asked 2018-11-12 21:28:40 -0500

tarapt gravatar image

I am getting the following message when I use roswtf command:

Traceback (most recent call last):
  File "/opt/ros/melodic/bin/roswtf", line 35, in <module>
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roswtf/", line 89, in roswtf_main
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roswtf/", line 138, in _roswtf_main
    static_plugins, online_plugins = roswtf.plugins.load_plugins()
  File "/opt/ros/melodic/lib/python2.7/dist-packages/roswtf/", line 54, in load_plugins
    to_check = rospack.get_depends_on('roswtf', implicit=False)
  File "/usr/lib/python2.7/dist-packages/rospkg/", line 268, in get_depends_on
    m = self.get_manifest(r)
  File "/usr/lib/python2.7/dist-packages/rospkg/", line 167, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/python2.7/dist-packages/rospkg/", line 211, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self)
  File "/usr/lib/python2.7/dist-packages/rospkg/", line 412, in parse_manifest_file
    _static_rosdep_view = init_rospack_interface()
  File "/usr/lib/python2.7/dist-packages/rosdep2/", line 59, in init_rospack_interface
    lookup = _get_default_RosdepLookup(Options())
  File "/usr/lib/python2.7/dist-packages/rosdep2/", line 130, in _get_default_RosdepLookup
  File "/usr/lib/python2.7/dist-packages/rosdep2/", line 633, in create_default
    sources = load_cached_sources_list(sources_cache_dir=sources_cache_dir, verbose=verbose)
  File "/usr/lib/python2.7/dist-packages/rosdep2/", line 533, in load_cached_sources_list
    return parse_sources_data(cache_data, origin=cache_index, model=model)
  File "/usr/lib/python2.7/dist-packages/rosdep2/", line 388, in parse_sources_data
    raise InvalidData('line:\n\t%s\n%s' % (line, e), origin=origin)
rosdep2.core.InvalidData: line:
    yaml osx
unsupported pickle protocol: 4

I am using ros-melodic in Ubuntu 18.04.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by 130s
close date 2018-11-13 07:32:32.732786

1 Answer

Sort by » oldest newest most voted

answered 2018-11-12 22:01:58 -0500

130s gravatar image

This is a known bug (see ros-infrastructure/rosdep#379) and a new version of rosdep 0.13.0 that includes the fix is already released. You should update python-rosdep package.

If you still see the issue you should report at rosdep's developer repo.

edit flag offensive delete link more


I believe #q307543 is related / duplicate.

gvdhoorn gravatar image gvdhoorn  ( 2018-11-13 02:47:21 -0500 )edit

Looks like that is it, from the same OP user ( ゚д゚ )

130s gravatar image 130s  ( 2018-11-13 07:32:23 -0500 )edit

Question Tools

1 follower


Asked: 2018-11-12 21:28:40 -0500

Seen: 157 times

Last updated: Nov 12 '18