rosbag results in OSError
Hello all, I'm trying to run this tutorial, but rosbag fails to record data. I tried both the specified instructions
rosbag record -a
as well as recording a single topic
rosbag record /turtle1/command_velocity
but either results in the same error:
Traceback (most recent call last):
File "/Users/mrath/ros/ros/bin/rosbag", line 35, in <module>
rosbag.rosbagmain()
File "/Users/mrath/ros/ros_comm/tools/rosbag/src/rosbag/rosbag_main.py", line 807, in rosbagmain
cmds[cmd](argv[2:])
File "/Users/mrath/ros/ros_comm/tools/rosbag/src/rosbag/rosbag_main.py", line 115, in record_cmd
os.execv(recordpath, cmd)
OSError: [Errno 2] No such file or directory
I'm running ROS in OS X Lion, which I suppose is the problem, but I have no clue to the solution, so please advise.