DigiKlausur / e2xgrader

Addon for nbgrader
MIT License
6 stars 9 forks source link

[server_extensions] 404 not found when using dev image #114

Closed mhwasil closed 8 months ago

mhwasil commented 2 years ago

In the new dev image, which includes e2xauthoring, formgrader and other server extensions are not found.

The following workaround solves the problem: Add the following to your .jupyter/jupyter_notebook_config.json

{
  "NotebookApp": {
    "nbserver_extensions": {
      "e2xgrader.server_extensions.grader": true,
      "e2xgrader.server_extensions.assignment_list": true,
      "nbgrader.server_extensions.validate_assignment": true,
      "nbgrader.server_extensions.assignment_list": false,
      "nbgrader.server_extensions.course_list": true
    }
  }
}

while the configured /opt/conda/etc/jupyter/jupyter_notebook_config.json has

{
  "NotebookApp": {
    "nbserver_extensions": {
      "nbgrader.server_extensions.formgrader": false,
      "nbgrader.server_extensions.validate_assignment": true,
      "nbgrader.server_extensions.assignment_list": false,
      "nbgrader.server_extensions.course_list": true,
      "e2xgrader.server_extensions.assignment_list": true,
      "e2xgrader.server_extensions.grader": true
    }
  }
}