Skip to content

Instantly share code, notes, and snippets.

@dartdog
Created January 23, 2018 17:37
Show Gist options
  • Save dartdog/10d63c8f9e65821b2ff717a6871396a0 to your computer and use it in GitHub Desktop.
Save dartdog/10d63c8f9e65821b2ff717a6871396a0 to your computer and use it in GitHub Desktop.
Jupyter traceback
tom@tomServal:~$ jupyter notebook
[W 11:22:10.558 NotebookApp] server_extensions is deprecated, use nbserver_extensions
[I 11:22:11.513 NotebookApp] [nb_conda_kernels] enabled, 11 kernels found
[I 11:22:11.537 NotebookApp] [beakerx] enabled
[I 11:22:11.553 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.2.7
[I 11:22:11.568 NotebookApp] JupyterLab alpha preview extension loaded from /home/tom/anaconda3/lib/python3.6/site-packages/jupyterlab
[I 11:22:11.568 NotebookApp] JupyterLab application directory is /home/tom/anaconda3/share/jupyter/lab
[I 11:22:11.570 NotebookApp] Serving notebooks from local directory: /home/tom
[I 11:22:11.570 NotebookApp] 0 active kernels
[I 11:22:11.570 NotebookApp] The Jupyter Notebook is running at:
[I 11:22:11.570 NotebookApp] http://localhost:8888/?token=d133216c34eec96279b4ef47096d12eac5906dee81d09dce
[I 11:22:11.570 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 11:22:11.570 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=d133216c34eec96279b4ef47096d12eac5906dee81d09dce
[I 11:22:11.862 NotebookApp] Accepting one-time-token-authenticated connection from 127.0.0.1
[31713:31752:0123/112211.878602:ERROR:browser_gpu_channel_host_factory.cc(107)] Failed to launch GPU process.
Created new window in existing browser session.
[E 11:22:12.303 NotebookApp] Uncaught exception GET /api/kernelspecs (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8888', method='GET', uri='/api/kernelspecs', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Host': 'localhost:8888', 'Connection': 'keep-alive', 'Accept': '*/*', 'X-Requested-With': 'XMLHttpRequest', 'X-Xsrftoken': '2|c604aaf7|d2ca94a4861a397f298c5ca77bb7887a|1515006983', 'Save-Data': 'on', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36', 'Referer': 'http://localhost:8888/tree', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-US,en;q=0.9', 'Cookie': '_xsrf=2|c604aaf7|d2ca94a4861a397f298c5ca77bb7887a|1515006983; username-localhost-8888="2|1:0|10:1516728131|23:username-localhost-8888|44:MmJlMDI0ZTZiYjYyNGIyODgyYjY3Yzc3ODA4MjQ0MGY=|53d8742216c5495140dd128eb279194a44fc220474e440d4cb455ad2911fb287"', 'If-None-Match': '"cb5100d78751f708da2d72ba636c7dacd689f732"'})
Traceback (most recent call last):
File "/home/tom/anaconda3/lib/python3.6/site-packages/tornado/web.py", line 1510, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/tom/anaconda3/lib/python3.6/site-packages/tornado/web.py", line 2898, in wrapper
return method(self, *args, **kwargs)
File "/home/tom/anaconda3/lib/python3.6/site-packages/notebook/services/kernelspecs/handlers.py", line 57, in get
for kernel_name, kernel_info in ksm.get_all_specs().items():
File "/home/tom/anaconda3/lib/python3.6/site-packages/jupyter_client/kernelspec.py", line 224, in get_all_specs
} for kname in d}
File "/home/tom/anaconda3/lib/python3.6/site-packages/jupyter_client/kernelspec.py", line 224, in <dictcomp>
} for kname in d}
File "/home/tom/anaconda3/lib/python3.6/site-packages/jupyter_client/kernelspec.py", line 192, in _get_kernel_spec_by_name
return self.kernel_spec_class.from_resource_dir(resource_dir)
File "/home/tom/anaconda3/lib/python3.6/site-packages/jupyter_client/kernelspec.py", line 39, in from_resource_dir
with io.open(kernel_file, 'r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/tom/anaconda3/lib/python3.6/site-packages/nb_conda_kernels/logos/python/kernel.json'
[W 11:22:12.304 NotebookApp] Unhandled error
[E 11:22:12.304 NotebookApp] {
"Host": "localhost:8888",
"Connection": "keep-alive",
"Accept": "*/*",
"X-Requested-With": "XMLHttpRequest",
"X-Xsrftoken": "2|c604aaf7|d2ca94a4861a397f298c5ca77bb7887a|1515006983",
"Save-Data": "on",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",
"Referer": "http://localhost:8888/tree",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-US,en;q=0.9",
"Cookie": "_xsrf=2|c604aaf7|d2ca94a4861a397f298c5ca77bb7887a|1515006983; username-localhost-8888=\"2|1:0|10:1516728131|23:username-localhost-8888|44:MmJlMDI0ZTZiYjYyNGIyODgyYjY3Yzc3ODA4MjQ0MGY=|53d8742216c5495140dd128eb279194a44fc220474e440d4cb455ad2911fb287\"",
"If-None-Match": "\"cb5100d78751f708da2d72ba636c7dacd689f732\""
}
[E 11:22:12.304 NotebookApp] 500 GET /api/kernelspecs (127.0.0.1) 2.39ms referer=http://localhost:8888/tree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment