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

nbgrade formgrade 404 not found #516

Closed
randy3k opened this issue Jun 9, 2016 · 1 comment
Closed

nbgrade formgrade 404 not found #516

randy3k opened this issue Jun 9, 2016 · 1 comment
Labels
Milestone

Comments

@randy3k
Copy link
Contributor

randy3k commented Jun 9, 2016

Hi,

I have a problem of opening formgrade after autograding the assignments. I checked that the assignment is in the autograde folder.

screen shot 2016-06-09 at 2 03 57 pm

(jupyter)-sts437$ nbgrader formgrade
[FormgradeApp | INFO] Proxying /hub/nbgrader/sts437 --> http://localhost:5005
[FormgradeApp | INFO] Serving MathJax from /opt/conda/lib/python3.5/site-packages/notebook/static/components/MathJax/MathJax.js
[FormgradeApp | INFO] Form grader running at http://localhost:5005/
[FormgradeApp | INFO] Use Control-C to stop this server
[FormgradeApp | WARNING] 404 GET / (127.0.0.1) 1.61ms

and this is my nbgrader_config.py

c = get_config()

c.NbGrader.course_id = 'sts437'
c.FormgradeApp.authenticator_class = u'nbgrader.auth.hubauth.HubAuth'
c.FormgradeApp.port = 5005
c.HubAuth.proxy_token = u'xxxxxxxxxxxx'
c.HubAuth.hubapi_token = u'u'xxxxxxxxxxxx'
c.HubAuth.hub_base_url = u'https://www.example.com'
c.HubAuth.notebook_url_prefix = u'/home/randy3k/nbgrader/sts437'
c.HubAuth.graders = ['randy3k']

c.NbGrader.db_assignments = [dict(name="hw1")]
c.NbGrader.db_students = [
    dict(id="shingx1")
]

Do you have an idea why it does not work?

@randy3k
Copy link
Contributor Author

randy3k commented Jun 9, 2016

Solved. I shouldn't access it via localhost, but https://www.example.com/hub/nbgrader/sts437

@randy3k randy3k closed this as completed Jun 9, 2016
@jhamrick jhamrick added this to the No action milestone Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants