question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The course id has not been set in nbgrader_config.py. The "release" and "collect" functionality will not be available. Please see the documentation on Setting Up The Exchange for instructions.

See original GitHub issue

Operating system:

Ubuntu 16.04 64bit

python --version

3.6.3

nbgrader --version

0.5.4

jupyterhub --version (if used with JupyterHub)

0.9.2

jupyter notebook --version

5.6.0

Expected behavior

NBgrader will work perfectly.

Actual behavior

Cannot release and collect

Steps to reproduce the behavior

run under root ( BTW: I also installed my JupyterHub using root)

jupyterhub --no-ssl --config=/etc/juypterhub/jupyterhub_config.py --debug

Then open browser and log in, on the “Manage Assignments” page, it shows: The course id has not been set in nbgrader_config.py. The “release” and “collect” functionality will not be available. Please see the documentation on Setting Up The Exchange for instructions.

Please give me a valid nbgrader_config.py and tell me where to put it.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
scott2bcommented, Feb 25, 2019

This seems to have been closed without resolution. Could we get a resolution that includes a minimal config file, where to put it, and what the permissions should be set to? Or a pointer to the relevant part of the docs? As far as I can tell the docs do not answer these questions.

0reactions
dnit13commented, Jul 4, 2022

@jhamrick link not found.

The exact setup differs depending on your use case, but please see here for several example setups: https://nbgrader.readthedocs.io/en/master/configuration/jupyterhub_config.html

Please feel free to open a new issue with specific details about your particular use case and setup if you are still having problems.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog — nbgrader 0.7.2.dev documentation
PR #1579: Only add extra_template_basedirs if it has not been set. PR #1576: Revert “[converters/autograde] Fix autograded notebook permission”.
Read more >
JupyterHub Federated Docs Documentation
By default, JupyterHub will look for a configuration file (which may not be created yet) named jupyterhub_config.py in the current working ...
Read more >
nbgrader Changelog - pyup.io
Create assignment panel only open if a Notebook is visible on main area ... PR \1579: Only add extra\_template\_basedirs if it has not...
Read more >
A system for assigning and grading notebooks - PythonRepo
Using the assignment list extension, students may conveniently view, fetch, submit, and validate their assignments. nbgrader assignment list ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found