jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.04k stars 341 forks source link

Nbgrader with Littlest JupyterHub releases assignment to course directory but not to /srv/nbgrader/exchange #546

Closed sukhjitsehra closed 3 years ago

sukhjitsehra commented 4 years ago

Operating system

nbgrader --version: 0.6.1

jupyterhub --version (if used with JupyterHub): 1.0.0 (Using littlest Jupterhub)

jupyter notebook --version

jupyter core : 4.6.3 jupyter-notebook : 6.0.3 qtconsole : 4.7.2 ipython : 7.13.0 ipykernel : 5.2.0 jupyter client : 6.1.2 jupyter lab : 1.2.8 nbconvert : 5.6.1 ipywidgets : 7.5.1 nbformat : 5.0.4 traitlets : 4.3.3

Expected behavior: When used

nbgrader release_assignment ps1 --force --debug

It should release the assignment in /srv/nbgrader/exchange shared folder.

Actual behavior

I am facing an issue when I try to release the assignment:

nbgrader release_assignment ps1 --force --debug

It releases the assignment without errors but to the location (/home/jupyter-tljh-admin/course_id/outbound/ps1) but not to the shared location /srv/nbgrader/exchange:

[ReleaseAssignmentApp | INFO] Overwriting files: /home/jupyter-tljh-admin/course_id ps1 [ReleaseAssignmentApp | INFO] Source: /home/jupyter-tljh-admin/course_id/release/./ps1 [ReleaseAssignmentApp | INFO] Destination: /home/jupyter-tljh-admin/course_id/outbound/ps1 [ReleaseAssignmentApp | INFO] Released as: /home/jupyter-tljh-admin/course_id ps1

The folder /srv/nbgrader/exchange has write permissions.

Please suggest, what could be the issue?

consideRatio commented 3 years ago

This is a bit too complicated for me to help debug as a maintainer of TLJH, but without knowledge of nbgrader. Could you raise this question in discourse.jupyter.org ?