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

ros_lib Install error

asked 2014-03-23 16:31:48 -0600

juanquy gravatar image

Hi guys here is a error installing ros_lib any help will appreciated. I'm new with Ros and Ubuntu.

@administrator:/home$ rosrun rosserial_arduino make_libraries.py /sketchbook/libraries/ Exporting to /sketchbook/libraries Traceback (most recent call last): File "/opt/ros/hydro/share/rosserial_arduino/make_libraries.py", line 87, in <module> shutil.copytree(rosserial_arduino_dir+"/src/ros_lib", path+"/ros_lib") File "/usr/lib/python2.7/shutil.py", line 175, in copytree os.makedirs(dst) File "/usr/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.7/os.py", line 150, in makedirs makedirs(head, mode) File "/usr/lib/python2.7/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/sketchbook'

Ubuntu 12.04 ros-hydro

I also try sudo su and them rosrun and here is the error:

juanquy@administrator:/home$ sudo su [sudo] password for juanquy: root@administrator:/home# rosrun rosserial_arduino make_libraries.py /home/sketchbook/librariesrosrun: command not found

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-03-23 17:03:30 -0600

demmeln gravatar image

You should not rosrun things as root. Instead, either make sure you have write permissions to the /sketchbook/libraries folder, or use a location in in your home, maybe ~/sketchbook/libraries?

edit flag offensive delete link more

Comments

Thank you, I just used the root of my home and them cp to /sketchbook/libraries and done. Thank you again

juanquy gravatar image juanquy  ( 2014-04-02 16:47:56 -0600 )edit

If your problem is solved, please mark an answer as accepted to indicate this to others. Thanks.

demmeln gravatar image demmeln  ( 2014-04-03 04:22:37 -0600 )edit

Question Tools

Stats

Asked: 2014-03-23 16:31:48 -0600

Seen: 705 times

Last updated: Mar 23 '14