Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PermissionError #148

Open
JuHyang-Y opened this issue Nov 14, 2023 · 0 comments
Open

PermissionError #148

JuHyang-Y opened this issue Nov 14, 2023 · 0 comments

Comments

@JuHyang-Y
Copy link

JuHyang-Y commented Nov 14, 2023

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.

@omichel omichel transferred this issue from cyberbotics/webots Nov 14, 2023
@omichel omichel transferred this issue from cyberbotics/webots_ros2 Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant