ros-infrastructure / rosdep

rosdep multi-package manager system dependency tool
http://ros.org/wiki/rosdep
BSD 3-Clause "New" or "Revised" License
77 stars 170 forks source link

rosdep not working for devuan #855

Open dimonic opened 2 years ago

dimonic commented 2 years ago

I am using devuan, a systemd-free fork of debian by the original debian developers. It is not being recognised by rosdep:

ERROR: Rosdep experienced an error: Could not detect OS, tried ['zorin', 'windows', 'nixos', 'clearlinux', 'ubuntu', 'slackware', 'rocky', 'rhel', 'qnx', 'pop', 'osx', 'sailfishos', 'tizen', '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'] 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 "/usr/lib/python3/dist-packages/rosdep2/main.py", line 146, in rosdep_main exit_code = _rosdep_main(args) File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 441, in _rosdep_main return _no_args_handler(command, parser, options, args) File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 450, in _no_args_handler return command_handlerscommand File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 659, in command_update update_sources_list(success_handler=update_success_handler, File "/usr/lib/python3/dist-packages/rosdep2/sources_list.py", line 516, in update_sources_list rosdep_data = get_gbprepo_as_rosdep_data(dist_name) File "/usr/lib/python3/dist-packages/rosdep2/gbpdistro_support.py", line 150, in get_gbprepo_as_rosdep_data ctx = create_default_installer_context() File "/usr/lib/python3/dist-packages/rosdep2/init.py", line 91, in create_default_installer_context m.register_platforms(context) File "/usr/lib/python3/dist-packages/rosdep2/platforms/debian.py", line 65, in register_platforms register_elementary(context) File "/usr/lib/python3/dist-packages/rosdep2/platforms/debian.py", line 95, in register_elementary (os_name, os_version) = context.get_os_name_and_version() File "/usr/lib/python3/dist-packages/rosdep2/installers.py", line 115, in get_os_name_and_version os_name = self.os_detect.get_name() File "/usr/lib/python3/dist-packages/rospkg/os_detect.py", line 610, in get_name self.detect_os() File "/usr/lib/python3/dist-packages/rospkg/os_detect.py", line 580, 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', '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']

nandlab commented 1 year ago

Same error here.