ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Damien90's profile - activity

2014-12-01 07:04:20 -0500 received badge  Good Question (source)
2012-08-26 17:36:48 -0500 received badge  Popular Question (source)
2012-08-26 17:36:48 -0500 received badge  Notable Question (source)
2012-08-26 17:36:48 -0500 received badge  Famous Question (source)
2012-06-05 05:06:52 -0500 received badge  Nice Question (source)
2012-06-05 00:30:54 -0500 received badge  Student (source)
2012-06-04 21:46:58 -0500 asked a question actionlib error

Hello, I'm new to ROS and am having problems with the actionlib tutorials. After making the directory ./action/move_arm.action with this as the action file;

#goal definition
int32 goalState
---
#result definition
int32[] resultState
---
#feedback definition
int32[] feedbackState

attempting to generate the appropriate files using the command line prompt

$ rosrun actionlib_msgs genaction.py . move_arm.action

I get the following traceback error:

Traceback (most recent call last):
  File "/opt/ros/fuerte/share/actionlib_msgs/scripts/genaction.py", line 133, in <module>
    if __name__ == '__main__': main()
  File "/opt/ros/fuerte/share/actionlib_msgs/scripts/genaction.py", line 72, in main
    os.makedirs(output_dir)
  File "/usr/lib/python2.7/os.py", line 145, in makedirs
    head, tail = path.split(name)
  File "/usr/lib/python2.7/posixpath.py", line 83, in split
    i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'

Is this a python problem? Should it be updated somehow?

Thanks