Cannot solve rosdistro error: Unable to handle format version 2
Getting error during installing of ROS on pcDuino following instruction on LinkSprite or on pcDuino sites "install ros groovy on pcduino"
On step "Initialize rosdep", command "rosdep update" - an error raised:
ERROR: Rosdep experienced an internal error: Unable to handle format version 2, please update rosdistro
Please go to the rosdep page [1] and file a bug report with the stack trace below.
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 118, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 257, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 265, in _no_args_handler
return command_handlers[command](options)
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 422, in command_update
error_handler=update_error_handler)
File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 414, in update_sources_list
for d, dist in get_index().distributions.iteritems():
File "/usr/lib/pymodules/python2.7/rosdep2/rosdistrohelper.py", line 58, in get_index
_RDCache.index = rosdistro.get_index(_RDCache.index_url)
File "/usr/lib/pymodules/python2.7/rosdistro/__init__.py", line 105, in get_index
return Index(data, base_url)
File "/usr/lib/pymodules/python2.7/rosdistro/index.py", line 47, in __init__
assert self.version == 1, 'Unable to handle format version %d, please update rosdistro' % int(data['version'])
AssertionError: Unable to handle format version 2, please update rosdistro
Configuration: pcDuino V2, extended to 4GB; Lubuntu - Linaro 12.07 or Libaro 12.11 (upgrated by "apt-get upgrade") Original images or images from 20140620; Booted from NAND or from MMC;
Found similar issues in other threads but didn't manage to solve as suggested.
I suspect you're using an outdated version of the python-rosdep package. I've bumped your karma so that you can make links - can you link to the tutorial you're following?
Tutorials: http://www.pcduino.com/install-ros-groovy-on-pcduino/http://learn.linksprite.com/pcduino/ros/install-ros-groovy-on-pcduino/ Command " sudo apt-get install --reinstall python-rosdep" among output lines gives following: . . . Preparing to replace python-rosdep 0.10.18-1 (using .../python-rosdep_0.10.18-1_all.deb) ... . . . Setting up python-rosdep (0.10.18-1) ...