"There was a problem grading your submission. Check stderr for more details."

This has been covered in other topics, but I thought I’d move it to a top-level comment as well.

Can someone tell us where to look for stderr output from the grader so I can debug the problem myself.

In my specific case (labid: ivvddrqm), the only solution I have seen so far is to avoid using globals.
I have not only manually scanned every single function, but I also created an alternate notebook (see) where I moved all global notebook code into a function; that way, there are no globals created and all the information is only passed in through function parameters. No luck. If I had access to the grader’s output, perhaps I can make progress.

Hi Sriram_Srinavasan,

I hope this issue was resolved. If not, I can report this to someone working at the backend.

Hi @reinoudbosch ,

I am getting similar issue when submitting the assignment. When I run the notebook’s unit tests manually everything passes. However, when I submit it fails. Especially, the batch generator part, submission keeps failing with the stderr message. I am not sure where I can check the stderr to understand the issue and fix it.

Many Thanks,
Pradhanta

@Mubsi Do you know what could be going on here?

Hi @Pradhanta,

At the start of the notebook there’s:

**Important Note on Submission to the AutoGrader**

Before submitting your assignment to the AutoGrader, please make sure you are not doing the following:

1. You have not added any extra print statement(s) in the assignment.
2. You have not added any extra code cell(s) in the assignment.
3. You have not changed any of the function parameters.
4. You are not using any global variables inside your graded exercises. Unless specifically instructed to do so, please refrain from it and use the local variables instead.
5. You are not changing the assignment code where it is not required, like creating extra variables.

If you do any of the following, you will get something like, Grader not found (or similarly unexpected) error upon submitting your assignment. Before asking for help/debugging the errors in your assignment, check for these first. If this is the case, and you don't remember the changes you have made, you can get a fresh copy of the assignment by following these instructions.

The stderr error also happens when you do any of the above mentioned things. Please check for those and then let us know if it still continues to happen.

Best,
Mubsi