HuaYuXiao / easondrone_mapping

A ROS package to build octomap
Apache License 2.0
4 stars 1 forks source link

rospkg.os_detect.OsNotDetected: unrecognized version: 14 #10

Closed HuaYuXiao closed 7 months ago

HuaYuXiao commented 8 months ago
(base) hyx020222@MacBook-Pro-4 ~ % export HOMEBREW_API_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api"
export HOMEBREW_BOTTLE_DOMAIN="https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles"
export HOMEBREW_BREW_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git"
export HOMEBREW_CORE_GIT_REMOTE="https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git"
export HOMEBREW_PIP_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
(base) hyx020222@MacBook-Pro-4 ~ % 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-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"
Skip end-of-life distro "foxy"
Skip end-of-life distro "galactic"
Skip end-of-life distro "groovy"
Add distro "humble"

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

Traceback (most recent call last):
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/main.py", line 146, in rosdep_main
    exit_code = _rosdep_main(args)
                ^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/main.py", line 444, in _rosdep_main
    return _no_args_handler(command, parser, options, args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/main.py", line 453, in _no_args_handler
    return command_handlers[command](options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/main.py", line 665, in command_update
    update_sources_list(success_handler=update_success_handler,
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/sources_list.py", line 510, in update_sources_list
    rosdep_data = get_gbprepo_as_rosdep_data(dist_name)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/gbpdistro_support.py", line 148, in get_gbprepo_as_rosdep_data
    ctx = create_default_installer_context()
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/__init__.py", line 91, in create_default_installer_context
    m.register_platforms(context)
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/platforms/arch.py", line 53, in register_platforms
    register_manjaro(context)
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/platforms/arch.py", line 58, in register_manjaro
    (os_name, os_version) = context.get_os_name_and_version()
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rosdep2/installers.py", line 115, in get_os_name_and_version
    os_name = self.os_detect.get_name()
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rospkg/os_detect.py", line 636, in get_name
    self.detect_os()
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rospkg/os_detect.py", line 598, in detect_os
    self._os_codename = os_detector.get_codename()
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rospkg/os_detect.py", line 353, in get_codename
    return _osx_codename(*ver[0:2])
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/hyx020222/anaconda3/lib/python3.11/site-packages/rospkg/os_detect.py", line 331, in _osx_codename
    raise OsNotDetected("unrecognized version: %s" % key)
rospkg.os_detect.OsNotDetected: unrecognized version: 14