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

We are facing following error while trying to create package in groovy envirnment on pr2

asked 2015-11-30 07:53:03 -0500

mathpati.nikhil gravatar image

updated 2015-11-30 23:33:25 -0500

When we use catkin_init_workspace command, it is showing following error

without sudo:

catkin_init_workspace
Could neither symlink nor copy file "/opt/ros/groovy/share/catkin/cmake/toplevel.cmake" to "/home/pr2admin/r_os/src/CMakeLists.txt":
- [Errno 13] Permission denied
- [Errno 13] Permission denied: '/home/pr2admin/r_os/src/CMakeLists.txt'
pr2admin@c1:~/r_os/src$

with sudo:

sudo catkin_init_workspace
Traceback (most recent call last):
  File "/opt/ros/groovy/bin/catkin_init_workspace", line 11, in <module>
    from catkin.init_workspace import init_workspace
ImportError: No module named catkin.init_workspace

Kindly help us to resolve this problem

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-06-10 20:55:06 -0500

130s gravatar image

Could neither symlink nor copy file "/opt/ros/groovy/share/catkin/cmake/toplevel.cmake" to "/home/pr2admin/r_os/src/CMakeLists.txt":

This error reads like the user you're using does not have a right to write into the folder mentioned. Make sure you use the right user you're supposed to in your team.

Adding sudo wouldn't work unless your super user account is configured for ROS environment (see e.g. this for the reason).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-11-30 07:53:03 -0500

Seen: 785 times

Last updated: Jun 10 '16