Bug#840758: python-rosmsg: Missing dependencies

Johannes Schauer josch at debian.org
Fri Oct 14 14:06:02 UTC 2016


Package: python-rosmsg
Version: 1.12.5-1
Severity: normal

Hi,

steps to reproduce:

 1. install python-rosmesg
 2. run "rosmsg list"

Traceback (most recent call last):
  File "/usr/bin/rosmsg", line 34, in <module>
    import rosmsg
  File "/usr/lib/python2.7/dist-packages/rosmsg/__init__.py", line 49, in <module>
    import rospkg
ImportError: No module named rospkg

 3. install python-rospkg
 4. run "rosmsg list"

Traceback (most recent call last):
  File "/usr/bin/rosmsg", line 34, in <module>
    import rosmsg
  File "/usr/lib/python2.7/dist-packages/rosmsg/__init__.py", line 52, in <module>
    import roslib.message
ImportError: No module named roslib.message

 5. install python-roslib
 6. run "rosmsg list"

Traceback (most recent call last):
  File "/usr/bin/rosmsg", line 34, in <module>
    import rosmsg
  File "/usr/lib/python2.7/dist-packages/rosmsg/__init__.py", line 53, in <module>
    import rosbag
ImportError: No module named rosbag

 7. install rosbag
 8. run "rosmsg list"

Traceback (most recent call last):
  File "/usr/bin/rosmsg", line 34, in <module>
    import rosmsg
  File "/usr/lib/python2.7/dist-packages/rosmsg/__init__.py", line 53, in <module>
    import rosbag
  File "/usr/lib/python2.7/dist-packages/rosbag/__init__.py", line 33, in <module>
    from .bag import Bag, Compression, ROSBagException, ROSBagFormatException, ROSBagUnindexedException
  File "/usr/lib/python2.7/dist-packages/rosbag/bag.py", line 64, in <module>
    import rospy
  File "/usr/lib/python2.7/dist-packages/rospy/__init__.py", line 49, in <module>
    from .client import spin, myargv, init_node, \
  File "/usr/lib/python2.7/dist-packages/rospy/client.py", line 54, in <module>
    import rospy.core
  File "/usr/lib/python2.7/dist-packages/rospy/core.py", line 74, in <module>
    from rosgraph_msgs.msg import Log
ImportError: No module named rosgraph_msgs.msg

 9. install python-rosgraph-msgs
 10. run "rosmsg list"

Success!

cheers, josch



More information about the debian-science-maintainers mailing list