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

ROS enviroenment variable setup

asked 2014-02-25 03:55:40 -0600

sara.ershadi gravatar image

Hi , I am new in ROS and I want to use ROS to make dvo (dense visual odometry) package
the command is : rosmake dvo_core dvo_ros dvo_benchmarke

but it can't execute and the error is :

sara@sara:~$ rosmake dvo_core dvo_ros dvo_benchmark [ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['dvo_core', 'dvo_ros', 'dvo_benchmark']
[ rosmake ] Logging to directory /home/sara/.ros/rosmake/rosmake_output-20140225-192413 Traceback (most recent call last): File "/opt/ros/hydro/bin/rosmake", line 55, in <module> if rma.main(): File "/opt/ros/hydro/lib/python2.7/dist-packages/rosmake/engine.py", line 741, in main makedirs_with_parent_perms(self.log_dir) File "/opt/ros/hydro/lib/python2.7/dist-packages/rosmake/engine.py", line 91, in makedirs_with_parent_perms os.chown(p, s.st_uid, s.st_gid) OSError: [Errno 1] Operation not permitted: '/home/sara/.ros/rosmake/rosmake_output-20140225-192413' Traceback (most recent call last): File "/opt/ros/hydro/bin/rosmake", line 55, in <module> if rma.main(): File "/opt/ros/hydro/lib/python2.7/dist-packages/rosmake/engine.py", line 741, in main makedirs_with_parent_perms(self.log_dir) File "/opt/ros/hydro/lib/python2.7/dist-packages/rosmake/engine.py", line 91, in makedirs_with_parent_perms os.chown(p, s.st_uid, s.st_gid) OSError: [Errno 1] Operation not permitted: '/home/sara/.ros/rosmake/rosmake_output-20140225-192413' sara@sara:~$

What should I do ?

Thanks a lot in advance

Sarah

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-02-25 04:17:37 -0600

dornhege gravatar image

updated 2014-02-25 04:18:21 -0600

It seems to me that you somehow made the .ros directory in your home accessible only be root. The easiest way to fix that is probably to (backup anything important and then) delete it completely.

You might need to run rosdep update (NOT sudo rosdep update!) again.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-02-25 03:55:40 -0600

Seen: 361 times

Last updated: Feb 25 '14