ucbds-infra / otter-grader

A Python and R autograding solution
https://otter-grader.readthedocs.io
BSD 3-Clause "New" or "Revised" License
126 stars 66 forks source link

Grader Failed to Build on Gradescope #883

Closed codingPie closed 5 days ago

codingPie commented 1 week ago

I currently use otter grader 6.0.2. My most recent grader failed to build. The error is ERROR conda.core.link:_execute(951): An error occurred while installing package 'defaults::nb_conda_kernels-2.5.2-py312h06a4308_0'.

Before that, I have this line: ModuleNotFoundError: No module named 'jupyter_server'. Is this related to the most recent otter grader update? Should I upgrade to 6.0.4 to have the grader built successfully? If not, anybody else experienced similar issue?

Thanks!

chrispyles commented 1 week ago

Yes, this should be fixed in v6.0.4. Please upgrade and let me know if it works.

codingPie commented 1 week ago

Thanks so much for the quick reply Chris. @chrispyles

One more question, do students need to upgrade their grader version as well? I had some challenge last week asking students upgrade to 6.0.2. If possible, I hope they don't have to upgrade.

chrispyles commented 6 days ago

No, students don’t need to upgrade

codingPie commented 6 days ago

Thanks @chrispyles. I was able to have the grader built on Gradescope and grade some files but the grader starts to fail grading now. Not sure whether this is an otter grader issue or Gradescope issue. I am going to keep trying.

codingPie commented 5 days ago

Everything works well.

SaiUCM commented 1 day ago

Hello @codingPie ,

I'm encountering the same error. Otter 6.0.4 installed successfully on JupyterHub, but the autograder setup in Gradescope keeps failing. Do you have any insights on this?

codingPie commented 23 hours ago

Hi @SaiUCM I use Jupyter notebook, not JupyterHub. I guess it should be the same. Since I upgrade my Otter grader to 6.0.4, I was able to build the container on Gradescope and all student files are graded without any problem. You may want to check the version of your otter grader to confirm the upgrader is successful. Good luck!

SaiUCM commented 23 hours ago

Hi @codingPie, Thanks for your suggestion! I upgraded my Otter version to 6.0.4, and the container build on Gradescope was successful. However, even though the test cases pass in the student notebooks, they are still failing in Gradescope. Do you have any idea why this might be happening?

codingPie commented 23 hours ago

Sorry I don't have any idea. Actually, I am struggling with a similiar issue even though the previous assignment worked successfully after the grader update. I am waiting for help on the issue of test cases passed on the notebook but failed on Gradescope as well.

chrispyles commented 19 hours ago

@SaiUCM please follow the debugging instructions here and if you're unable to resolve the issue feel free to open a new discussion or reach out over slack.