Open
Description
I think because of #1774, trying to re-release feedback can fail if submission was done prior to the update because the current code does not take into account that the file submission_secret.txt
might not exist.
nbgrader/nbgrader/exchange/default/release_feedback.py
Lines 66 to 67 in e0b2e65
Operating system
nbgrader --version
Python version 3.11.8 | packaged by conda-forge | (main, Feb 16 2024, 20:53:32) [GCC 12.3.0]
nbgrader version 0.9.3
jupyterhub --version
(if used with JupyterHub)
4.0.2
jupyter notebook --version
7.2.1
Expected behavior
Updating nbgrader should not break releasing feedback of older submissions.
Actual behavior
If submission_secret.txt
does not exist in the feedback folder, release feedback will fail.
Steps to reproduce the behavior
- Take an old submission (from before updating to current version)
- Recreate feedback (this works)
- Release feedback (this fails)