Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619650 - dev-util/rosdep unsupported pickle protocol: 4
Summary: dev-util/rosdep unsupported pickle protocol: 4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robot Operating System team
URL: https://github.com/ros-infrastructure...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-25 07:00 UTC by Alessandro Barbieri
Modified: 2020-08-07 15:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
info (info,14.22 KB, text/plain)
2017-05-25 11:34 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2017-05-25 07:00:35 UTC
Running

sudo rosdep db

led to

ERROR: Rosdep experienced an error: line:
        yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
unsupported pickle protocol: 4
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/lib64/pypy3/site-packages/rosdep2/sources_list.py", line 364, in parse_sources_data
    sources.append(model(type_, url, tags, origin=origin))
  File "/usr/lib64/pypy3/site-packages/rosdep2/sources_list.py", line 193, in create_model
    rosdep_data = pickle.loads(f.read())
  File "/usr/lib64/pypy3/lib-python/3/pickle.py", line 1396, in loads
    encoding=encoding, errors=errors).load()
  File "/usr/lib64/pypy3/lib-python/3/pickle.py", line 890, in load
    dispatch[key[0]](self)
  File "/usr/lib64/pypy3/lib-python/3/pickle.py", line 917, in load_proto
    raise ValueError("unsupported pickle protocol: %d" % proto)
ValueError: unsupported pickle protocol: 4

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/pypy3/site-packages/rosdep2/main.py", line 136, in rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/lib64/pypy3/site-packages/rosdep2/main.py", line 351, in _rosdep_main
    return _no_args_handler(command, parser, options, args)
  File "/usr/lib64/pypy3/site-packages/rosdep2/main.py", line 359, in _no_args_handler
    return command_handlers[command](options)
  File "/usr/lib64/pypy3/site-packages/rosdep2/main.py", line 681, in command_db
    lookup = _get_default_RosdepLookup(options)
  File "/usr/lib64/pypy3/site-packages/rosdep2/main.py", line 127, in _get_default_RosdepLookup
    verbose=options.verbose)
  File "/usr/lib64/pypy3/site-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/lib64/pypy3/site-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/lib64/pypy3/site-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://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
unsupported pickle protocol: 4
Comment 1 Jonas Stein gentoo-dev 2017-05-25 10:44:33 UTC
Please attach the logfiles
https://wiki.gentoo.org/wiki/Bugzilla/Bug_report_guide#Problems_at_build_time
Comment 2 Alessandro Barbieri 2017-05-25 11:23:53 UTC
It's all here (remove the "led to" line and you have the exact terminal command+output), it's a runtime issue. Do you want this error in an attachment too?
Comment 3 Jonas Stein gentoo-dev 2017-05-25 11:27:18 UTC
Please attach the output of emerge --info
Attach the output of emerge -pv <packagename> to quickly see what are the dependencies
Comment 4 Alessandro Barbieri 2017-05-25 11:34:01 UTC
sudo emerge -pv dev-util/rosdep
These are the packages that would be merged, in order:

Calculating dependencies                   ... done!
[ebuild   R   ~] dev-util/rosdep-0.11.5::gentoo  USE="{-test}" PYTHON_TARGETS="pypy pypy3 python2_7 python3_4 python3_5 -python3_6" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 5 Alessandro Barbieri 2017-05-25 11:34:38 UTC
Created attachment 474248 [details]
info

info
Comment 6 Alexis Ballier gentoo-dev 2020-08-07 15:53:51 UTC
pypy has been dropped from recent ebuilds