SMACH tutorial: ImportError: No module named msg
I got error while trying to run the ./examples/state_machine.py in smach_tutorials package
Traceback (most recent call last): File "/home/tienthanh/workspace/ros/fuerte/mebios/tienthanh/executive_smach_tutorials/smach_tutorials/examples/state_machine.py", line 21, in <module> import smach_ros File "/opt/ros/fuerte/stacks/executive_smach/smach_ros/src/smach_ros/__init__.py", line 55, in <module> from action_server_wrapper import ActionServerWrapper File "/opt/ros/fuerte/stacks/executive_smach/smach_ros/src/smach_ros/action_server_wrapper.py", line 9, in <module> from actionlib.simple_action_server import SimpleActionServer File "/home/tienthanh/workspace/ros/fuerte/mebios/tienthanh/executive_smach_tutorials/smach_tutorials/examples/actionlib.py", line 27, in <module> from actionlib.msg import * ImportError: No module named msg
Output of "echo $PYTHONPATH" is /opt/ros/fuerte/share/ros/core/roslib/src:/opt/ros/fuerte/lib/python2.7/dist-packages:
I use ROS fuerte, Ubuntu 12.04 32 bit.