-
Notifications
You must be signed in to change notification settings - Fork 171
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
problems running rosdep on raspberry pi #890
Comments
What version of |
I had the same problem, and the answer to the question above is
#51 gives a hit to workaround this issue.
// Though the 51 is about The problem is probably in os naming resolution ( |
I have the same problem of Raspbian:
The issue seems to be related to #51, as explicitly overriding OS version from the command line does not help. The output of
|
it seems to be confused about the OS version. i tried running rosdep and also rosdep update -ay --os=debian or etc. it gave the following:
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.22.1
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/main.py", line 146, in rosdep_main
exit_code = _rosdep_main(args)
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/main.py", line 444, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/main.py", line 453, in _no_args_handler
return command_handlerscommand
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/main.py", line 664, in command_update
update_sources_list(success_handler=update_success_handler,
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/sources_list.py", line 508, in update_sources_list
rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/gbpdistro_support.py", line 148, in get_gbprepo_as_rosdep_data
ctx = create_default_installer_context()
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/init.py", line 91, in create_default_installer_context
m.register_platforms(context)
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/platforms/arch.py", line 53, in register_platforms
register_manjaro(context)
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/platforms/arch.py", line 58, in register_manjaro
(os_name, os_version) = context.get_os_name_and_version()
File "/home/pi/.local/lib/python3.9/site-packages/rosdep2/installers.py", line 115, in get_os_name_and_version
os_name = self.os_detect.get_name()
File "/home/pi/.local/lib/python3.9/site-packages/rospkg/os_detect.py", line 634, in get_name
self.detect_os()
File "/home/pi/.local/lib/python3.9/site-packages/rospkg/os_detect.py", line 604, in detect_os
raise OsNotDetected("Could not detect OS, tried %s" % attempted)
rospkg.os_detect.OsNotDetected: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', 'conda', 'oracle', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'opensuse', 'openembedded', 'neon', 'mx', 'mint', 'linaro', 'gentoo', 'funtoo', 'freebsd', 'fedora', 'elementary', 'elementary', 'debian', 'cygwin', 'euleros', 'centos', 'manjaro', 'buildroot', 'arch', 'amazon', 'alpine', 'almalinux']
The text was updated successfully, but these errors were encountered: