jupyterhub / jupyterhub-deploy-teaching

Reference deployment of JupyterHub and nbgrader on a single server
http://jupyterhub-deploy-teaching.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
246 stars 85 forks source link

nbgrader #75

Open nabriis opened 7 years ago

nabriis commented 7 years ago

Hi,

I seem to be running into an issue when I try enabling nbgrader for this deployment.

In the jupyterhub log O get:

[I 2017-03-20 16:31:46.722 JupyterHub service:220] Starting service 'formgrade-course1': ['nbgrader', 'formgrade']
[I 2017-03-20 16:31:46.723 JupyterHub service:90] Spawning nbgrader formgrade
[FormgradeApp | WARNING] Outdated config: use Exchange.course_id rather than NbGrader.course_id
[FormgradeApp | WARNING] Config option `port` not recognized by `FormgradeApp`.
[FormgradeApp | WARNING] Config option `authenticator_class` not recognized by `FormgradeApp`.
[FormgradeApp | WARNING] Config option `ip` not recognized by `FormgradeApp`.
[FormgradeApp | ERROR] The formgrader is no longer a standalone command, but is
    rather an extension that is part of the Jupyter notebook. To run the
    formgrader, make sure you have enabled the nbgrader server extensions:

    http://nbgrader.readthedocs.io/en/stable/user_guide/installation.html#nbgrader-extensions

    Then, run the notebook from the command line as normal:

        $ jupyter notebook

    And click on the "Formgrader" tab in the window that opens.
[E 2017-03-20 16:32:16.726 JupyterHub service:250] Service formgrade-course1 exited with status 1
nabriis commented 7 years ago

It seems the version of the nbgrader install was wrong. The ansible script installed the 0.5dev version of nbgrader. I fixed the issue by changing to 0.4.

anaderi commented 7 years ago

I'd vote for updating code/documentation to use what is part of jupyter already (why configuring/running separate service if it is supported by default?)