Rosdep update traceback?
Is anyone else seeing issues with 0.11.5-1 version of rosdep? I get an UnboundLocalError trace as so:
ablasdel@computername:~$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index.yaml
ERROR: Rosdep experienced an error:
local variable 'Request' referenced
before assignment Please go to the
rosdep page [1] and file a bug report
with the stack trace below. [1] :
http://www.ros.org/wiki/rosdep
rosdep version: 0.11.5
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 136, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 351, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 359, in _no_args_handler
return command_handlers[command](options)
File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 545, in command_update
error_handler=update_error_handler)
File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 463, in update_sources_list
for dist_name in sorted(get_index().distributions.keys()):
File "/usr/lib/python2.7/dist-packages/rosdep2/rosdistrohelper.py", line 69, in get_index
_RDCache.index = rosdistro.get_index(_RDCache.index_url)
File "/usr/lib/python2.7/dist-packages/rosdistro/__init__.py", line 100, in get_index
yaml_str = load_url(url)
File "/usr/lib/python2.7/dist-packages/rosdistro/loader.py", line 56, in load_url
fh = urlopen(Request(url, headers=headers), timeout=timeout)
UnboundLocalError: local variable 'Request' referenced before assignment
Nope. Might be an error in the error handling, hiding some other issue. Most likely a networking issue.
Also the traceback is in
rosdistro
make sure yourpython-rosdistro
package is up-to-date. If it is a bug, it will be inrosdistro/loader.py
which is not part ofrosdep
.