jupyter / nbgrader

A system for assigning and grading notebooks
https://nbgrader.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.28k stars 316 forks source link

student not able to fetch feedback #1868

Open bpfrd opened 6 months ago

bpfrd commented 6 months ago

Hi,

I set up nbgrader (this implementation https://github.com/CERIT-SC/nbgrader-k8s/tree/main/nbgrader-exchange) with jupyterhub. Some students are not able to fetch feedback and get this error:

$nbgrader fetch_feedback "assignment_name" --course course_name
[FetchFeedbackApp | WARNING] Config option `kernel_spec_manager_class` not recognized by `FetchFeedbackApp`.
[FetchFeedbackApp | WARNING] Could not find feedback for 'course_name/assignment_name/notebook_name' submitted at 2024-03-02 14:20:56.795510 UTC
[FetchFeedbackApp | WARNING] Could not find feedback for 'course_name/assignment_name/notebook_name2' submitted at 2024-03-02 14:20:56.795510 UTC
[FetchFeedbackApp | INFO] Source: /mnt/exchange/course_name/feedback_public/username
[FetchFeedbackApp | INFO] Destination: /home/jovyan/course_name/assignment_name/feedback

course_name, assignment_name, ... are just placeholders for actual data. This only happens for some random students. I was wondering, what's the issue?

best

brichet commented 5 months ago

Thanks @bpfrd for opening this issue.

If the error still occurs, can you check if the feedback files are still in the relevant directory ?

bpfrd commented 5 months ago

Thanks for your response. the feedback files exist in the relevant directory with hashed names. However, the fetch_feedback command doesn't work in some cases and gives the above error.

brichet commented 5 months ago

Probably related to https://github.com/jupyter/nbgrader/pull/1774 and https://github.com/jupyter/nbgrader/issues/1712