Skip to content

PermissionError #148

@JuHyang-Y

Description

@JuHyang-Y

Describe the Bug
A clear and concise description of what the bug is.

I'm encountering issues while trying to follow Tutorial 9 "Running the Nodes" section.

lab105@4:~/catkin_ws$ roslaunch webots_ros e_puck_line.launch

outcome

... logging to /home/lab105/.ros/log/ebb25ba8-82c7-11ee-bf04-250ecf49806a/roslaunch-4-8564.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://127.0.0.1:42197/

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.16.0

NODES
  /
    epuck_line (webots_ros/e_puck_line)
    webots (webots_ros/webots_launcher.py)

auto-starting new master
process[master]: started with pid [8572]
ROS_MASTER_URI=http://127.0.0.1:11311

setting /run_id to ebb25ba8-82c7-11ee-bf04-250ecf49806a
process[rosout-1]: started with pid [8582]
started core service [/rosout]
process[webots-2]: started with pid [8585]
process[epuck_line-3]: started with pid [8590]
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/webots_ros/webots_launcher.py", line 81, in <module>
    subprocess.call(command)
  File "/usr/lib/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/mnt/c/Program Files/webots'
================================================================================REQUIRED process [webots-2] has died!
process has died [pid 8585, exit code 1, cmd /opt/ros/noetic/lib/webots_ros/webots_launcher.py --world=/opt/ros/noetic/share/webots_ros/worlds/e-puck_line.wbt --mode=realtime --no-gui=false, --stream=false __name:=webots __log:=/home/lab105/.ros/log/ebb25ba8-82c7-11ee-bf04-250ecf49806a/webots-2.log].
log file: /home/lab105/.ros/log/ebb25ba8-82c7-11ee-bf04-250ecf49806a/webots-2*.log
Initiating shutdown!
================================================================================
[epuck_line-3] killing on exit
[webots-2] killing on exit
[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete 
done

According to the provided link "https://answers.ros.org/question/373756/roslaunch-failing-to-launch-webots_ros-simulations/" ,
I attempted to use the /opt/ros/noetic/share/webots_ros/worlds/e_puck_line.wbt.
but it was reported "File does no exist." and tried running webots /opt/ros/noetic/share/webots_ros/worlds/e_puck_line.wbt, and the Webots screen appeared briefly before closing..
Error

System

  • Operating System: [Windows 10, Linux Ubuntu 20.04]
  • Graphics Card: [NVIDIA GeForce RTX 3080]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions