Formgrader says to run the autograde command from the wrong folder
See original GitHub issueI created an assignment entirely using the formgrader interface (in the browser). I successfully grade a handful of students by clicking on the lightning bolt icon under the “Autograde” column. But I don’t want to click each one individually so I try the command line version, running the commands suggested at the top of the page:
cd "/mnt/classdat/psy360"
nbgrader autograde "ps0"
This initially gives me an error saying the assignment is not in the database. I add it with nbgrader db assignment add ps0 --duedate="2019-9-27 20:30:00 UCT"
and try rerunning autograde. Now it gives me the error No notebooks found, did you forget to run 'nbgrader generate_assignment'?
I’m not sure what to do now. I’m worried that generate_assignment
will overwrite the assignment that I generated (and released) earlier using the formgrader interface. It is very odd to me that the GUI interface would work but the command line interface would throw errors. Shouldn’t these be ultimately be calling the same backend functions?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
Another thing that might work is to try running the autograde command from
/mnt/classdat
instead of/mnt/classdat/psy360
.I really need to add some better documentation about where config files need to live and where the respective commands need to be run from, sorry for the confusion!
Yes, that sounds fine to me. Let’s leave this issue open though (I will rename the title) so that I can fix the path it tells you to run commands from (for myself: I think the path should probably been the notebook directory rather than the course root, but I need to check this).