nbgrader
nbgrader copied to clipboard
Status stays "draft" no collect button
Trying to make nbgrader work with multiple courses. when I press "release" button in the formgrader the status of the assignment stays in "draft" and no collect button shows up
Operating system
Fedora 30 server
nbgrader --version
Python version 3.7.3 (default, Mar 27 2019, 13:36:35)
[GCC 9.0.1 20190227 (Red Hat 9.0.1-0.8)]
nbgrader version 0.6.1
jupyterhub --version (if used with JupyterHub)
1.0.0
jupyter notebook --version
6.0.1
Expected behavior
status changes to "released", "collect" button appears
Actual behavior
status stays in "draft", no "collect" button appears
Steps to reproduce the behavior
I have no idea.
Might be related to #863
the problem is in https://github.com/jupyter/nbgrader/blob/4708c9d66f9ef975054df0a060086e15da2020f4/nbgrader/exchange/list.py#L75
Here the student_id is '*' and authenticator returns []
Hi!
We are suffering this issue, can someone clarify a solution to this?
nbgrader version 0.6.1 jupyterhub --version 1.2.1 jupyter notebook --version 6.1.4
Thanks in advance. Best, Raúl
We have the same problem here. A workaround is to to add the user of the jupyterhub service to the course.
Example: If your course is running as a service owned by user "grader-course_a" you have to add the user "grader-course_a" to this course, e.g., with nbgrader db student add grader-course_a
Had similar problem and found a more clean solution than adding the grader user to the course: it suffices to add the grader user (grader-course_a in @bjoernvoss example) to the course's JupyterHub group. In jupyterhub_config.py add
c.JupyterHub.load_groups.update({'nbgrader-course_a': ['grader-course_a']})
Tested with JupyterHub 3.1.1, nbgrader 0.8.4