Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify formgrader port and suppress notebook output #610

Merged
merged 3 commits into from Jan 6, 2017

Conversation

jhamrick
Copy link
Member

@jhamrick jhamrick commented Jan 5, 2017

Fixes #472

This prints a more useful error message:

$ nbgrader formgrade
[FormgradeApp | INFO] Serving MathJax from /Users/jhamrick/miniconda3/envs/nbgrader/lib/python3.5/site-packages/notebook/static/components/MathJax/MathJax.js
[FormgradeApp | ERROR] Address already in use by another process: http://localhost:5000
[FormgradeApp | ERROR] Try running nbgrader with a different port, e.g. nbgrader formgrade --port=5001

and also is more explicit about where the formgrader is running:

$ nbgrader formgrade --port=5001
[FormgradeApp | INFO] Serving MathJax from /Users/jhamrick/miniconda3/envs/nbgrader/lib/python3.5/site-packages/notebook/static/components/MathJax/MathJax.js
[FormgradeApp | INFO] Notebook server is running at http://localhost:55550/notebooks/
[FormgradeApp | INFO] The formgrader is running at http://localhost:5001/
[FormgradeApp | INFO] --> Go to http://localhost:5001/ to access the formgrader
[FormgradeApp | INFO] Use Control-C to stop this server

@jhamrick jhamrick added this to the 0.4.0 milestone Jan 5, 2017
@jhamrick jhamrick merged commit 62ef350 into jupyter:master Jan 6, 2017
@jhamrick jhamrick deleted the clarify-port branch January 6, 2017 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant