jupyterhub-deploy-teaching icon indicating copy to clipboard operation
jupyterhub-deploy-teaching copied to clipboard

nbgrader

Open nabriis opened this issue 7 years ago • 2 comments

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 avatar Mar 20 '17 15:03 nabriis

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.

nabriis avatar Mar 28 '17 18:03 nabriis

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?)

anaderi avatar Jun 10 '17 19:06 anaderi