[ros-users] smach_viewer error

Ugo Cupcic ugo at shadowrobot.com
Fri May 27 15:41:00 UTC 2011


Hi,

smach_viewer is reporting an error when I'm trying to visualize my state
machine. It's displaying the state machine correctly and I can see the
states changing, but when it gives me the error message below.

state_machines_library is not my package, it's just a subdirectory in my
package src directory where I put some state machines.

Cheers,

Ugo

[ERROR] [WallTime: 1306510577.579619] bad callback: <bound method
SmachViewerFrame._status_msg_update of <__main__.SmachViewerFrame; proxy of
<Swig Object of type 'wxFrame *' at 0x3cb36d0> >>
Traceback (most recent call last):
  File "/code/ros/ros_comm/clients/rospy/src/rospy/topics.py", line 563, in
_invoke_callback
    cb(msg)
  File
"/code/ros/executive_smach_visualization/smach_viewer/smach_viewer.py", line
662, in _status_msg_update
    if container.update_status(msg):
  File
"/code/ros/executive_smach_visualization/smach_viewer/smach_viewer.py", line
148, in update_status
    roslib.load_manifest(packagename)
  File "/code/ros/ros/core/roslib/src/roslib/launcher.py", line 69, in
load_manifest
    sys.path = _generate_python_path(package_name, [], os.environ) +
sys.path
  File "/code/ros/ros/core/roslib/src/roslib/launcher.py", line 105, in
_generate_python_path
    manifest_file = roslib.manifest.manifest_file(pkg, True, env)
  File "/code/ros/ros/core/roslib/src/roslib/manifest.py", line 117, in
manifest_file
    d = roslib.packages.get_pkg_dir(package, required,
ros_root=env[roslib.rosenv.ROS_ROOT])
  File "/code/ros/ros/core/roslib/src/roslib/packages.py", line 213, in
get_pkg_dir
    raise InvalidROSPkgException("Cannot locate installation of package %s:
%s. ROS_ROOT[%s] ROS_PACKAGE_PATH[%s]"%(package, rperr.strip(), ros_root,
ros_package_path))
InvalidROSPkgException: Cannot locate installation of package
state_machines_library: [rospack] couldn't find package
[state_machines_library]. ROS_ROOT[/code/ros/ros]
ROS_PACKAGE_PATH[/code/Projects/heyu_x10/heyu_X10:/code/ros_overlay/cereal_port:/code/ros_overlay/openni_kinect/openni_kinect:/code/Projects/ethercat/trunk:/code/Projects/ethercat/shadow_robot_ethercat:/code/Projects/ethercat/pr2_sr_hand_gazebo_demo:/code/ros/geometry_visualization:/code/ros/pr2_ethercat_drivers:/code/ros/pr2_power_drivers:/code/ros/pr2_simulator:/code/ros/pr2_gui:/code/ros/visualization_tutorials:/code/ros/geometry_tutorials:/code/ros/common_tutorials:/code/ros/ros_tutorials:/code/ros/documentation:/code/ros/simulator_gazebo:/code/ros/simulator_stage:/code/ros/geometry_experimental:/code/ros/sql_database:/code/ros/tabletop_object_perception:/code/ros/ros_realtime:/code/ros/pr2_tabletop_manipulation_apps:/code/ros/pr2_object_manipulation:/code/ros/pr2_arm_navigation:/code/ros/pr2_kinematics:/code/ros/pr2_navigation:/code/ros/pr2_calibration:/code/ros/web_interface:/code/ros/point_cloud_perception:/code/ros/robot_calibration:/code/ros/object_manipulation:/code/ros/slam_gmapping:/code/ros/navigation:/code/ros/vision_opencv:/code/ros/image_pipeline:/code/ros/image_transport_plugins:/code/ros/pr2_common:/code/ros/pr2_mechanism:/code/ros/control:/code/ros/pr2_controllers:/code/ros/perception_pcl:/code/ros/trajectory_filters:/code/ros/physics_ode:/code/ros/motion_planning_common:/code/ros/motion_planners:/code/ros/kinematics:/code/ros/arm_navigation:/code/ros/diagnostics_monitors:/code/ros/executive_smach_visualization:/code/ros/laser_pipeline:/code/ros/image_common:/code/ros/rx:/code/ros/visualization:/code/ros/visualization_common:/code/ros/executive_smach:/code/ros/robot_model:/code/ros/geometry:/code/ros/driver_common:/code/ros/diagnostics:/code/ros/common:/code/ros/common_msgs:/code/ros/ros_comm:/code/Projects/3_FT_DSTL/Software/ros:/code/Projects/ROS_interfaces/sr-ros-interface/manipulation/shadow_robot:/code/Projects/ROS_interfaces/sr-ros-interface/manipulation/shadow_robot/sr_object_manipulation]



-- 
Ugo Cupcic | Shadow Robot Company | ugo at shadowrobot.com
Software Engineer | 251 Liverpool Road |
need a Hand? | London N1 1LX | +44 20 7700 2487
http://www.shadowrobot.com/hand/ @shadowrobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110527/10b017e6/attachment-0001.html>


More information about the ros-users mailing list