Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error from running % rosdev update (ERROR: Rosdep experienced an error: unrecognized version: 12) #235

Closed
winsatid62 opened this issue Nov 29, 2021 · 1 comment · Fixed by #229

Comments

@winsatid62
Copy link

Error from running % rosdev 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-v4.yaml
Skip end-of-life distro "ardent"
Skip end-of-life distro "bouncy"
Skip end-of-life distro "crystal"
Skip end-of-life distro "dashing"
Skip end-of-life distro "eloquent"
Add distro "foxy"

ERROR: Rosdep experienced an error: unrecognized version: 12
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.21.0

Traceback (most recent call last):
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/main.py", line 146, in rosdep_main
exit_code = _rosdep_main(args)
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/main.py", line 441, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/main.py", line 450, in _no_args_handler
return command_handlerscommand
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/main.py", line 659, in command_update
update_sources_list(success_handler=update_success_handler,
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/sources_list.py", line 516, in update_sources_list
rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/gbpdistro_support.py", line 150, in get_gbprepo_as_rosdep_data
ctx = create_default_installer_context()
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/init.py", line 91, in create_default_installer_context
m.register_platforms(context)
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/platforms/debian.py", line 65, in register_platforms
register_elementary(context)
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/platforms/debian.py", line 95, in register_elementary
(os_name, os_version) = context.get_os_name_and_version()
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rosdep2/installers.py", line 115, in get_os_name_and_version
os_name = self.os_detect.get_name()
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rospkg/os_detect.py", line 610, in get_name
self.detect_os()
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rospkg/os_detect.py", line 572, in detect_os
self._os_codename = os_detector.get_codename()
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rospkg/os_detect.py", line 327, in get_codename
return _osx_codename(*ver[0:2])
File "/Users/winsa/Desktop/Python/WizardChess/arc-wizard-chess/Fall 2021/Ros/env_for_ros/lib/python3.8/site-packages/rospkg/os_detect.py", line 305, in _osx_codename
raise OsNotDetected("unrecognized version: %s" % key)
rospkg.os_detect.OsNotDetected: unrecognized version: 12

@cottsay cottsay transferred this issue from ros-infrastructure/rosdep Nov 30, 2021
@cottsay
Copy link
Member

cottsay commented Nov 30, 2021

Fixed by #229

@cottsay cottsay closed this as completed Nov 30, 2021
@cottsay cottsay linked a pull request Nov 30, 2021 that will close this issue
@cottsay cottsay removed a link to a pull request Nov 30, 2021
@cottsay cottsay linked a pull request Nov 30, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants