[ros-users] smach_viewer error

Ugo Cupcic ugo at shadowrobot.com
Tue May 31 09:43:35 UTC 2011


Hi,

Ok: http://answers.ros.org/question/1085/smach_viewer-problem

<http://answers.ros.org/question/1085/smach_viewer-problem>Cheers,

Ugo

PS: I always assumed answers.ros.org was to get answers on how to do
something, and that the ros-users mailing list was to debug things :) Sorry,
my mistake.

On Sat, May 28, 2011 at 10:45 PM, Melonee Wise <mwise at willowgarage.com>wrote:

> Hi Ugo-
>
> Could you please ask this on answers.ros.org..We'd like to keep general
> help/debuigging questions there.
>
> Thanks
>
> -Melonee
>
> On Fri, May 27, 2011 at 8:41 AM, Ugo Cupcic <ugo at shadowrobot.com> wrote:
>
>> 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
>>
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
> --
> Senior Engineer
> Intern Program Director
> Willow Garage
> 68 Willow Rd.
> Menlo Park, Ca 94025
>
>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
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.ros.org/pipermail/ros-users/attachments/20110531/2ee4ee64/attachment-0002.html>


More information about the ros-users mailing list