Common Gradescope error messages
Last modified at: Oct 10, 2019
As the labs get more complicated the Gradescope tests also get more complicated. A lot can go wrong in your programs and often the error message can be opaque. A couple of suggestions to help navigate Gradescope error messages:
- Always read the entire message, i.e. scroll all the way to the right. For technical reasons, the more informative part of the message is often at the end.
EOF when reading a line
often occurs when your program prompts the user for input that Gradescope doesn’t expect (and thus doesn’t provide when “playing” your game). Double check you are soliciting input in the right places.- Python doesn’t know about synonyms. Thus if the specified output includes the word “correct”, Gradescope is looking for that exact word. It can’t know that “right” is a synonym in that context. A good strategy is to copy the example message from the lab into your program so that you are sure it will match exactly.
As always don’t hesitate to reach out with questions.