Actions_quiz would not generate action msg

This is an error report.


Screenshot of the error


Error details

Hi, I struggled with this for a few days. The actions_quiz would build incorrectly, the /include files would not be generated and the actions msg can not be used hence import error. With many iterations of the CMakeLists and package.xml it would not work. Then I tried to grade the quiz and it built correctly and with my surprise I passed. That's when I realized this is a bug. I am trying to recreate the issue.

This was not a bug. My take is that the subsequent changes you made to the package, which fixed the initial issue, did not take effect after the initial catkin_make.

Every time you change your package, you should remove the build and devel directories before running catkin_make again.

cd ~/catkin_ws
# remove build and devel directories
rm -rf build/ devel/
catkin_make
# source the workspace after compiling
# This should be run on every terminal 
# where the package will be accessed
source devel/setup.bash

Gradebot runs those commands before grading your package, so that explains why it worked when and after you submitted it!

Thanks for the tips. @bayodesegun

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.