-
Notifications
You must be signed in to change notification settings - Fork 317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error adding student multicourse #1364
Comments
I have same problem. grader-cpp@jupyterhub-jupyterhub1:~$ nbgrader db student add test1
[DbStudentAddApp | INFO] Creating/updating student with ID 'test1': {'last_name': None, 'first_name': None, 'email': None, 'lms_user_id': None}
[DbStudentAddApp | ERROR] Student test1 NOT added to the Jupyterhub group nbgrader-cpp: JupyterhubAPI returned a status code of: 400 for api_path: /groups/nbgrader-cpp/users
[DbStudentAddApp | ERROR] Make sure you set a valid admin_user 'api_token' in your config file before starting the service I saw "400" error, it's likely same with #issue-747962293 . |
That doesn't seem to be the case. I still got the same error when I changed it to HTTP. It seems that nbgrader cannot automatically add system users to the jupyterhub user database. To successfully add a user to the nbgrader database and jupyterhub groups, the user must exist in both the system and the jupyterhub user database. What a hassle. |
Operating system
CentOS7
nbgrader --version
0.6.1
jupyterhub --version
(if used with JupyterHub)1.1.0
Expected behavior
user gets added to student list DB
Actual behavior
get following error:
[DbStudentAddApp | ERROR] user NOT added to the Jupyterhub group nbgrader-course1: JupyterhubAPI returned a status code of: 400 for api_path: /groups/nbgrader-course1/users
[DbStudentAddApp | ERROR] Make sure you set a valid admin_user 'api_token' in your config file before starting the service
Steps to reproduce the behavior
I have the correct admin token listed services start no problem, students show up in the formgrader.
The text was updated successfully, but these errors were encountered: