Skip to content

Instantly share code, notes, and snippets.

@MaxGhenis
Created August 1, 2018 03:46
Show Gist options
  • Save MaxGhenis/cee3f0b1fdba0ddd7aacc160a785ce08 to your computer and use it in GitHub Desktop.
Save MaxGhenis/cee3f0b1fdba0ddd7aacc160a785ce08 to your computer and use it in GitHub Desktop.
R Jupyter notebook kernel dies
(xenial)maxghenis@localhost:~$ jupyter notebook
[I 20:45:31.645 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.4.0
[I 20:45:31.646 NotebookApp] Serving notebooks from local directory: /home/maxghenis
[I 20:45:31.646 NotebookApp] The Jupyter Notebook is running at:
[I 20:45:31.646 NotebookApp] http://localhost:8888/?token=6402cdfdfbb0b3d422780a31b07bba61b7221d3879735ece
[I 20:45:31.646 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 20:45:31.647 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://localhost:8888/?token=6402cdfdfbb0b3d422780a31b07bba61b7221d3879735ece
Error /tmp/crouton-ext/in or /tmp/crouton-ext/out are not pipes.
[W 20:45:35.254 NotebookApp] 404 GET /api/kernels/b2e08024-0e6c-4d22-8be8-f48853b52b75/channels?session_id=4eb4976d545a46feb5184fbec0350528 (::1): Kernel does not exist: b2e08024-0e6c-4d22-8be8-f48853b52b75
[W 20:45:35.300 NotebookApp] 404 GET /api/kernels/b2e08024-0e6c-4d22-8be8-f48853b52b75/channels?session_id=4eb4976d545a46feb5184fbec0350528 (::1) 66.28ms referer=None
[I 20:45:37.989 NotebookApp] Kernel started: 4c9cadad-3d8a-447e-98c8-4982fcec5d31
During startup - Warning message:
package 'RevoUtils' was built under R version 3.4.3
[I 20:45:39.487 NotebookApp] Adapting to protocol v5.0 for kernel 4c9cadad-3d8a-447e-98c8-4982fcec5d31
Error in .External2(C_X11, paste0("png::", filename), g$width, g$height, :
unable to start device PNG
Calls: <Anonymous> ... evaluate -> dev.new -> do.call -> <Anonymous> -> ok_device
In addition: Warning message:
In ok_device(filename, ...) : no png support in this version of R
Execution halted
[I 20:45:40.987 NotebookApp] KernelRestarter: restarting kernel (1/5), new random ports
WARNING:root:kernel 4c9cadad-3d8a-447e-98c8-4982fcec5d31 restarted
During startup - Warning message:
package 'RevoUtils' was built under R version 3.4.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment