[ros-users] Problem launching pr2_dashboard and friends

Anand Atreya aatreya at stanford.edu
Fri Aug 6 05:45:08 UTC 2010


I'm getting a Python error when I try to launch pr2_dashboard.  Similarly,
and perhaps for a related reason, I'm also unable to use
pr2_tabletop_manipulation.launch to start the grasping pipeline.  The errors
I'm getting are below.  Any ideas what might be wrong?  I'm guessing it's
something simple, but I've been poking around for a while to no avail.

I'm running the most recent Cturtle debs on our PR2.

Thanks.
-- Anand


*$ rosrun pr2_dashboard pr2_dashboard *
Traceback (most recent call last):
  File
"/opt/ros/cturtle/stacks/pr2_gui/pr2_dashboard/scripts/pr2_dashboard", line
50, in <module>
    import pr2_dashboard
  File
"/opt/ros/cturtle/stacks/pr2_gui/pr2_dashboard/src/pr2_dashboard/__init__.py",
line 1, in <module>
    from pr2_frame import *
  File
"/opt/ros/cturtle/stacks/pr2_gui/pr2_dashboard/src/pr2_dashboard/pr2_frame.py",
line 43, in <module>
    from robot_monitor.robot_monitor_panel import RobotMonitorPanel
  File
"/opt/ros/cturtle/stacks/diagnostics/robot_monitor/src/robot_monitor/robot_monitor_panel.py",
line 44, in <module>
    from diagnostic_msgs.msg import DiagnosticArray, DiagnosticStatus,
KeyValue
  File
"/opt/ros/cturtle/stacks/common_msgs/diagnostic_msgs/src/diagnostic_msgs/msg/__init__.py",
line 1, in <module>
    from _DiagnosticArray import *
  File
"/opt/ros/cturtle/stacks/common_msgs/diagnostic_msgs/src/diagnostic_msgs/msg/_DiagnosticArray.py",
line 311, in <module>
    _struct_I = roslib.message.struct_I
AttributeError: 'module' object has no attribute 'struct_I'



*$ roslaunch pr2_tabletop_manipulation_launch
pr2_tabletop_manipulation.launch *
Traceback (most recent call last):
  File "/opt/ros/cturtle/ros/bin/roslaunch", line 2, in <module>
    from ros import roslaunch
  File "/opt/ros/boxturtle/ros/core/roslib/src/ros/__init__.py", line 63, in
__getattr__
    return __import__(name)
  File "/opt/ros/cturtle/ros/tools/roslaunch/src/roslaunch/__init__.py",
line 43, in <module>
    from roslaunch.config import ROSLaunchConfig
  File "/opt/ros/cturtle/ros/tools/roslaunch/src/roslaunch/config.py", line
49, in <module>
    import roslaunch.loader
  File "/opt/ros/cturtle/ros/tools/roslaunch/src/roslaunch/loader.py", line
45, in <module>
    from roslib.names import make_global_ns, ns_join, PRIV_NAME,
load_mappings, is_legal_name, canonicalize_name
ImportError: cannot import name canonicalize_name
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100805/22c8b5a2/attachment-0002.html>


More information about the ros-users mailing list