Quiz grading tool broke shell's ability to compile

Everything seemed to be going alright until I hit the submit quiz for grading button. It said things couldn’t compile, which they were prior to me hitting the button. and now I see this error message whenever I try to compile my code.

This is an error report.


Screenshot of the error


Error details

I had a working program that broke after submitting for grading.

Closing The Construct and waiting a while let me recreate this error.

@APoli
Thank for your recording a video - that made troubleshooting so easy!

The problem here is that Gradebot does not expect topics_quiz to depend on any external package. Every functionality (custom messages et al) must be built into the package itself.

In this case, your package depends on custom_interfaces. Please remove that.

custom_interfaces was obviously built before you ran the colcon build --packages-select topics_quiz that was successful, because a colcon build for the entire workspace was run before that.

The reason it failed after submitting to gradebot was that gradebot does a rm -rf build/ install/ log/ before compiling your package, to completely isolate the package from other packages.

Thanks, glad the video helped. That solution took care of the compiling issue.

1 Like

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