Dear all,
(please let me know if this is an inappropriate place to ask support questions. Happy to be redirected)
Problem: Assignment list extension is not loading any information. The tab is available but it keeps saying: "Loading, please wait" At the bottom I will post a snippet from nbgrader.log that seems to be pointing in the right direction, but I am unable to pinpoint the problem.
I made an update to the TLJH beta 1.0 Everything else seems to be working so far. Formgrader is available and also "nbgrader list" in terminal gives me my list of assignments.
I am very grateful for any hints. Please find some debugging info below.
Thanks an best regards,
Daniel
nbgrader 0.7.0
Selected Jupyter core packages...
IPython : 8.14.0
ipykernel : 6.25.1
ipywidgets : 8.1.0
jupyter_client : 7.4.9
jupyter_core : 5.3.1
jupyter_server : 2.7.0
jupyterlab : 3.4.3
nbclient : 0.8.0
nbconvert : 7.7.3
nbformat : 5.9.2
notebook : 6.4.12
qtconsole : 5.4.3
traitlets : 5.9.0
excerpt from from nbgrader.log:
[ServerApp | ERROR] Uncaught exception GET /user/XXX/courses?_=1692002873502 (149.222.6.216)
HTTPServerRequest(protocol='https', host='XXX', method='GET', uri='/user/XXX/courses?_=1692002873502', version='HTTP/1.1', remote_ip='149.222.6.216')
Traceback (most recent call last):
File "/opt/tljh/user/lib/python3.9/site-packages/tornado/web.py", line 1784, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/tljh/user/lib/python3.9/site-packages/tornado/web.py", line 3290, in wrapper
return method(self, *args, **kwargs)
File "/opt/tljh/user/lib/python3.9/site-packages/nbgrader/server_extensions/assignment_list/handlers.py", line 315, in get
self.finish(json.dumps(self.manager.list_courses()))
File "/opt/tljh/user/lib/python3.9/site-packages/nbgrader/server_extensions/assignment_list/handlers.py", line 171, in list_courses
assignments = self.list_assignments()
File "/opt/tljh/user/lib/python3.9/site-packages/nbgrader/server_extensions/assignment_list/handlers.py", line 155, in list_assignments
released = self.list_released_assignments(course_id=course_id)
File "/opt/tljh/user/lib/python3.9/site-packages/nbgrader/server_extensions/assignment_list/handlers.py", line 66, in list_released_assignments
with self.get_assignment_dir_config() as config:
File "/opt/tljh/user/lib/python3.9/contextlib.py", line 119, in __enter__
return next(self.gen)
File "/opt/tljh/user/lib/python3.9/site-packages/nbgrader/server_extensions/assignment_list/handlers.py", line 50, in get_assignment_dir_config
with chdir(self.parent.notebook_dir):
File "/opt/tljh/user/lib/python3.9/contextlib.py", line 119, in __enter__
return next(self.gen)
File "/opt/tljh/user/lib/python3.9/site-packages/nbgrader/server_extensions/assignment_list/handlers.py", line 30, in chdir
os.chdir(dirname)
FileNotFoundError: [Errno 2] No such file or directory: ''