Create assignment folder ~/A/A1 and add the folder as an assignment to the course.
Open ~/A/A1/Lab1.ipynb. Select View / Create assignment (nbgrader).
Add a code cell by selecting "Autograded answer" at right and leave the default contents.
Add a second code cell by selecting "Autograder tests" and leave the default contents.
Click Validate then Generate student version.
In course "Assignments" tab, distribute the assignment to the student project, collect it, and run nbgrader to get a score of "0 / 1".
Here is where the error is introduced. In a terminal, do this (the name of the destination file doesn't matter as long as its extension is .ipynb):
cd ~/A/A1
cp student/Lab1.ipynb x.ipynb
Back in the course "Assignments" tab, run nbgrader again. Observe that nbgrader fails with this message: "Error: Error: ENOENT: no such file or directory, open 'nbg2020-001-collect/Assignments/Assignment5/650a039a-c296-412f-ab24-db21a605306d/x.ipynb' - try running nbgrader again." Screenshot below.
Reported by Michael Falk.
~/A/A1
and add the folder as an assignment to the course.~/A/A1/Lab1.ipynb
. SelectView / Create assignment (nbgrader)
.Validate
thenGenerate student version
.