-
Couldn't load subscription status.
- Fork 328
Open
Description
Operating system
linux, jupyterhub/jupyterhub docker image
nbgrader --version
[GCC 9.3.0]
nbgrader version 0.7.0.dev
jupyterhub --version (if used with JupyterHub)
2.0.0
jupyter notebook --version
6.4.4
Expected behavior
- adding user from Formgrader menu adds user to corresponding jupyterhub group (
nbgrader-...) - adding / importing user from command line via
nbgrader db studentcommand works, however,- it should make the userID lower-case before registering in
gradebook.dbOR - the collected assignment should be registered in the
gradebook.dbwith case-insensitive ID matching.
- it should make the userID lower-case before registering in
Actual behavior
- adding user from formgrade menu DOES NOT add user to corresponding jupyterhub group (
nbgrader-...) - adding / importing user from command line via
nbgrader db studentcommand has issues, if the userids are capitalized (though, the linux ids are in lower-case):- the ids are added to the
nbgrader-...group in lower-case correctly, but they are registered ingradebook.dbwithout such transformation; this causes problem when the submitted assignments are collected, since - the
/srv/nbgrader/exhcange/inboudfolder stores them below the lower-case linux id-s, and during the collect process a lower-case userID is going to be registered ingradebook.db(with no last-name, first-name, etc.)
- the ids are added to the
Steps to reproduce the behavior
- Open Formgrader, go to Manage students, Add students, give an ID. The student appears in the list, however, the student of that ID cannot access the released assignment, because his/her ID was not added to the appropriate
nbgrader-...group. - Open a Terminal as a grader and issue the command:
Now, Manage students (and
nbgrader db student add S0M3BODY --lastname Body --firstname Samgradebook.db) lists a student Body, Sam with idS0M3BODY, and thenbgrader-...group will contain an IDs0m3body. However, when the user of the IDs0m3bodysubmits his work, and the instructor collects it, a new user appears in the list on the page Manage students: None, None with ids0m3body.