Hi,
i finished the Unit 4.7 Quiz and my Code for the services_quiz and for the custom interface services_quiz_srv works as specified in the description. But unfortunately the gradebot fails me after the build.
Hmm, that seems strange. Did you ensure that nothing was running in your terminals? Are you able to submit again? If not, let me know so we can investigate further
I’ve been doing some tests and I’ve seen there are some things not working correctly in the autocorrection system. I need to do some more tests to figure out exactly what is going on. I’ll let you know later today once I have it fixed. Meanwhile, please keep advancing with the rest of the course. Don’t worry about the trials, I’ll reset them for you.
In ROS2 Basics in 5 days Humble (Python) I have the same error and I can’t find the solution too.
Although the packages were compiled before being submitted to GradeBot (services_quiz_srv no errors, services_quiz with a warning message but no errors).
I downloaded @mosgaed packages and they compiled fine in my workspace, so I assume you must have something wrong in your ROS2 workspace. Let’s try removing the current compilation files and building again:
cd ~/ros2_ws
rm -rf build/ install/ log/
colcon build
@oleg.a.kuvaev and @Voltedge You can try this too. Please let me know if it solves the error.
I was also testing in @oleg.a.kuvaev environment. I solved this issue by removing the current compilation files and rebuilding the workspace, as indicated previously:
cd ~/ros2_ws
rm -rf build install log
colcon build
Also, I saw that he had some compilation files inside ~/ros2_ws/src :
This is not correct. You MUST only compile in the root of the workspace (/home/user/ros2_ws) and nowhere else. So all the compilation folders/files that are outside the root of the workspace must be removed.
[0.576s] WARNING:colcon.colcon_ros.prefix_path.ament:The path'/home/user/ros2_ws/install/services_quiz’ in the environment variable AMENT_PREFIX_PATH doesn’t exist [0.576s]WARNING:colcon.colcon_ros.prefix_path.ament:The path’/home/user/ros2_ws/install/services_quiz_srv’ in the environment variableAMENT_PREFIX_PATH doesn’t exist
I send the solution to gradebot and appears the same error “failed create symbo link”
What else can I do?