Skip to content

Instantly share code, notes, and snippets.

Created July 5, 2015 18:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2a7622e67016a71c8857 to your computer and use it in GitHub Desktop.
Save anonymous/2a7622e67016a71c8857 to your computer and use it in GitHub Desktop.
user@osgeolive:~$ jupyterhub-singleuser
Traceback (most recent call last):
File "/usr/local/bin/jupyterhub-singleuser", line 4, in <module>
main()
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/singleuser.py", line 221, in main
return SingleUserNotebookApp.launch_instance()
File "/usr/local/lib/python3.4/dist-packages/IPython/config/application.py", line 573, in launch_instance
app.initialize(argv)
File "<string>", line 2, in initialize
File "/usr/local/lib/python3.4/dist-packages/IPython/config/application.py", line 75, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/IPython/html/notebookapp.py", line 1015, in initialize
self.init_webapp()
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/singleuser.py", line 192, in init_webapp
s['hub_api_key'] = env.pop('JPY_API_TOKEN')
File "/usr/lib/python3.4/_collections_abc.py", line 533, in pop
value = self[key]
File "/usr/lib/python3.4/os.py", line 631, in __getitem__
raise KeyError(key) from None
KeyError: 'JPY_API_TOKEN'
If you suspect this is an IPython bug, please report it at:
https://github.com/ipython/ipython/issues
or send an email to the mailing list at ipython-dev@scipy.org
You can print a more detailed traceback right now with "%tb", or use "%debug"
to interactively debug it.
Extra-detailed tracebacks for bug-reporting purposes can be enabled via:
c.Application.verbose_crash=True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment