ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

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

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

mathpati.nikhil gravatar image

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

When we use catkin_init_workspace command, it is showing following error

without sudo:

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'

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

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


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

Seen: 675 times

Last updated: Jun 10 '16