Public bug reported:

On Ubuntu 20.04 with stock installed packages, the command "rosdep
--all-versions" generates the following error:

$rosdep --all-versions

0.18.0

ERROR: Rosdep experienced an error: a bytes-like object is required, not 'str'
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.18.0

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 144, in 
rosdep_main
    exit_code = _rosdep_main(args)
  File "/usr/lib/python3/dist-packages/rosdep2/main.py", line 387, in 
_rosdep_main
    installer_version_strings = installer.get_version_strings()
  File "/usr/lib/python3/dist-packages/rosdep2/platforms/debian.py", line 235, 
in get_version_strings
    version = output.splitlines()[0].split(' ')[1]
TypeError: a bytes-like object is required, not 'str'
-------------------------------------------------------------------

Details on installed packages:

$ dpkg --list | grep "ii  ros"
ii  ros-actionlib-msgs                                 1.12.7-2                 
                   all          Messages relating to Robot OS actionlib, 
definitions
ii  ros-base                                           1.15                     
                   all          Python Robot OS base metapackage
ii  ros-base-dev                                       1.15                     
                   all          Robot OS base development metapackage
ii  ros-base-lisp-dev                                  1.15                     
                   all          Lisp Robot OS base development metapackage
ii  ros-base-python-dev                                1.15                     
                   all          Python Robot OS base development metapackage
ii  ros-cmake-modules                                  0.5.0-1                  
                   all          Robot OS CMake Modules
ii  ros-core                                           1.15                     
                   all          Robot OS core metapackage
ii  ros-core-dev                                       1.15                     
                   all          Robot OS core development metapackage
ii  ros-core-lisp-dev                                  1.15                     
                   all          Lisp Robot OS core development metapackage
ii  ros-core-python-dev                                1.15                     
                   all          Python Robot OS core development metapackage
ii  ros-core-rosbuild-dev                              1.15                     
                   all          Robot OS rosbuild core development metapackage
ii  ros-desktop                                        1.15                     
                   all          Robot OS desktop metapackage
ii  ros-desktop-full                                   1.15                     
                   all          Robot OS desktop-full metapackage
ii  ros-desktop-full-python-dev                        1.15                     
                   all          Python Robot OS desktop-full development 
metapackage
ii  ros-desktop-python-dev                             1.15                     
                   all          Python Robot OS desktop development metapackage
ii  ros-diagnostic-msgs                                1.12.7-2                 
                   all          Messages relating to Robot OS diagnostic, 
definitions
ii  ros-environment                                    1.2.2-2                  
                   all          Robot OS environment hooks
ii  ros-geometry-msgs                                  1.12.7-2                 
                   all          Messages relating to Robot OS geometry, 
definitions
ii  ros-map-msgs                                       1.13.1-1                 
                   all          Definitions of map-related ROS Messages
ii  ros-message-generation                             0.4.0-4                  
                   all          Generates build-time messaging dependencies for 
Robot OS packages
ii  ros-message-runtime:amd64                          0.4.12-6                 
                   amd64        Generates runtime messaging dependencies for 
Robot OS package
ii  ros-mk                                             1.14.7-3build2           
                   all          Robot OS make file helpers
ii  ros-move-base-msgs                                 1.13.1-1                 
                   all          Definitions of move-base-related ROS Messages
ii  ros-nav-msgs                                       1.12.7-2                 
                   all          Messages relating to Robot OS nav, definitions
ii  ros-perception                                     1.15                     
                   all          Python Robot OS perception metapackage
ii  ros-perception-python-dev                          1.15                     
                   all          Python Robot OS perception development 
metapackage
ii  ros-robot                                          1.15                     
                   all          Python Robot OS robot metapackage
ii  ros-robot-dev                                      1.15                     
                   all          Robot OS robot development metapackage
ii  ros-robot-lisp-dev                                 1.15                     
                   all          LISP Robot OS robot development metapackage
ii  ros-robot-python-dev                               1.15                     
                   all          Python Robot OS robot development metapackage
ii  ros-robot-state-publisher                          1.14.0-3build1           
                   amd64        Robot OS robot_state_publisher
ii  ros-roscpp-msg                                     1.14.3+ds1-11ubuntu5     
                   all          Robot OS definitions of roscpp messages
ii  ros-rosgraph-msgs                                  1.11.2-10                
                   all          Messages relating to the Robot OS Computation 
Graph, definitions
ii  ros-sensor-msgs                                    1.12.7-2                 
                   all          Messages relating to Robot OS sensor, 
definitions
ii  ros-shape-msgs                                     1.12.7-2                 
                   all          Messages relating to Robot OS shape, definitions
ii  ros-simulators                                     1.15                     
                   all          Python Robot OS simulators metapackage
ii  ros-simulators-dev                                 1.15                     
                   all          Robot OS simulators development metapackage
ii  ros-simulators-lisp-dev                            1.15                     
                   all          LISP Robot OS simulators development metapackage
ii  ros-simulators-python-dev                          1.15                     
                   all          Python Robot OS simulators development 
metapackage
ii  ros-std-msgs                                       0.5.12-2                 
                   all          Message definitions for Standard Robot OS 
Messages
ii  ros-std-srvs                                       1.11.2-10                
                   all          Robot OS Common service definitions, definitions
ii  ros-stereo-msgs                                    1.12.7-2                 
                   all          Messages relating to Robot OS stereo, 
definitions
ii  ros-tf2-msgs                                       0.6.6-1build3            
                   all          Robot OS messages for tf2 transform library - 
definitions
ii  ros-topic-tools-srvs                               1.14.3+ds1-11ubuntu5     
                   all          service templates files for libtopic-tools 
(Robot OS)
ii  ros-trajectory-msgs                                1.12.7-2                 
                   all          Messages relating to Robot OS trajectory, 
definitions
ii  ros-visualization-msgs                             1.12.7-2                 
                   all          Messages relating to Robot OS visualization, 
definitions
ii  ros-viz                                            1.15                     
                   all          Python Robot OS viz metapackage
ii  ros-viz-python-dev                                 1.15                     
                   all          Python Robot OS viz development metapackage
ii  rosbash                                            1.14.7-3build2           
                   all          Assorted shell commands for using Robot OS with 
bash
ii  rosbuild                                           1.14.7-3build2           
                   all          scripts for managing the Robot OS build system
ii  roslang                                            1.14.7-3build2           
                   all          Common metapackage for all Robot OS client 
libraries
ii  roslisp                                            1.9.22-2                 
                   all          Lisp client library for Robot OS
ii  rosout                                             1.14.3+ds1-11ubuntu5     
                   amd64        Robot OS system-wide logging mechanism
ii  rospack-tools                                      2.5.4-2build2            
                   amd64        command-line tool for retrieving information 
about Robot OS packages

$ uname -a
Linux REDACTED 5.4.0-48-generic #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020 
x86_64 x86_64 x86_64 GNU/Linux

$ python --version
Python 3.8.5

** Affects: ros-rosdep (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1901235

Title:
  ERROR: Rosdep experienced an error: a bytes-like object is required,
  not 'str'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ros-rosdep/+bug/1901235/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to