Skip to content

Formgrader says to run the autograde command from the wrong folder #1231

@fredcallaway

Description

@fredcallaway

I 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions