ERROR while running - Exercise 4.1 -

user:~/catkin_ws/src/linux_course_files/move_bb8_pkg$ rosrun move_bb8_pkg test_process.py[rosrun] Couldn’t find executable named test_process.py below /home/user/catkin_ws/src/linux_course_files/move_bb8_pkg
[rosrun] Found the following, but they’re either not files,
[rosrun] or not executable:
[rosrun] /home/user/catkin_ws/src/linux_course_files/move_bb8_pkg/my_scripts/test_process.py
user:~/catkin_ws/src/linux_course_files/move_bb8_pkg$

Hi @saimanikanta.badiga.

Welcome to our community.

This message normally means you don’t have a file named test_process.py in the move_bb8_pkg package, or the file doesn’t have execute permissions.

To ensure the name is correct, I recommend you double-checking your file name to ensure there is no typo.

If the file name is correct, then give it execute permissions with the command below:

chmod +x path/to/test_process.py

which would be something like:

chmod +x ~/catkin_ws/src/linux_course_files/move_bb8_pkg/my_scripts/test_process.py

1 Like