python import tf -> rosdep2.core.InvalidData osx-homebrew.yaml
I've somehow messed up the ability to import tf:
(starting from a clean .bashrc)
$ source /opt/ros/jade/setup.bash
$ python
Python 2.7.6 (default, Jun 22 2015, 17:58:13)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import tf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/ros/jade/lib/python2.7/dist-packages/tf/__init__.py", line 29, in <module>
from listener import TransformListener, TransformerROS
File "/opt/ros/jade/lib/python2.7/dist-packages/tf/listener.py", line 30, in <module>
roslib.load_manifest(PKG)
File "/opt/ros/jade/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/jade/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
m = rospack.get_manifest(pkg)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 164, in get_manifest
return self._load_manifest(name)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 208, 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/manifest.py", line 393, in parse_manifest_file
_static_rosdep_view = init_rospack_interface()
File "/usr/lib/python2.7/dist-packages/rosdep2/rospack.py", line 58, in init_rospack_interface
lookup = _get_default_RosdepLookup(Options())
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 127, in _get_default_RosdepLookup
verbose=options.verbose)
File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 607, in create_default
sources = load_cached_sources_list(sources_cache_dir=sources_cache_dir, verbose=verbose)
File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 508, in load_cached_sources_list
return parse_sources_data(cache_data, origin=cache_index, model=model)
File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 366, in parse_sources_data
raise InvalidData("line:\n\t%s\n%s"%(line, e), origin=origin)
rosdep2.core.InvalidData: line:
yaml https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml osx
unsupported pickle protocol: 4
I cleaned out my ~/.ros/rosdep and ran rosdep update on it, but no change.
Another user account on same system was able to import tf fine, but then I ran rosdep update
in it and now it has the same error.
If I scp the sources.cache from another system that hasn't been rosdep updated I can make it work again.
Ubuntu 14.04.4, jade, rosdep 0.11.4-1.