IHaskell/ihaskell-notebook

kernel not working

Closed this issue · 2 comments

Digest: sha256:52de75aef6b7e6e8c61a74b9a8cb51a2b0849337c2396d333508442516564bb5
Status: Downloaded newer image for crosscompass/ihaskell-notebook:latest
[I 10:00:15.683 LabApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[W 10:00:15.840 LabApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 10:00:16.058 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.8/site-packages/jupyterlab
[I 10:00:16.058 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 10:00:16.061 LabApp] Serving notebooks from local directory: /home/jovyan
[I 10:00:16.061 LabApp] Jupyter Notebook 6.1.4 is running at:
[I 10:00:16.061 LabApp] http://a0cd85abc31b:8888/
[I 10:00:16.061 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 10:00:45.973 LabApp] Clearing invalid/expired login cookie username-127-0-0-1-8888
[W 10:00:45.974 LabApp] 404 GET /api/kernels/736a3857-86f4-4e2a-ad03-1385e2223ac4/channels?session_id=a9e8753a06c046bc848931f5ffc0250d (172.17.0.1): Kernel does not exist: 736a3857-86f4-4e2a-ad03-1385e2223ac4
[W 10:00:45.991 LabApp] 404 GET /api/kernels/736a3857-86f4-4e2a-ad03-1385e2223ac4/channels?session_id=a9e8753a06c046bc848931f5ffc0250d (172.17.0.1) 21.43ms referer=None
[W 10:01:46.006 LabApp] Clearing invalid/expired login cookie username-localhost-8888
[W 10:01:46.007 LabApp] 404 GET /api/kernels/b7096add-e700-434c-b871-962bcfc21356/channels?session_id=a773178f-35bc-414c-b717-947706d1a250 (172.17.0.1): Kernel does not exist: b7096add-e700-434c-b871-962bcfc21356
[W 10:01:46.009 LabApp] 404 GET /api/kernels/b7096add-e700-434c-b871-962bcfc21356/channels?session_id=a773178f-35bc-414c-b717-947706d1a250 (172.17.0.1) 7.15ms referer=None
[I 10:01:54.174 LabApp] 302 GET / (172.17.0.1) 0.33ms
[W 10:01:54.178 LabApp] Clearing invalid/expired login cookie username-localhost-8888
[I 10:01:55.607 LabApp] Build is up to date
[I 10:01:56.923 LabApp] Creating new notebook in
[I 10:01:56.994 LabApp] Writing notebook-signing key to /home/jovyan/.local/share/jupyter/notebook_secret
[I 10:01:57.288 LabApp] Kernel started: 08c8bca7-4b35-462b-a11e-58420eb30b2e, name: haskell
[W 10:02:46.027 LabApp] 404 GET /api/kernels/fdd02bff-a142-4f0b-a4f4-4a0299b99fa4/channels?session_id=7b094169-24bd-439c-8fd7-4db6ebe00e6f (172.17.0.1): Kernel does not exist: fdd02bff-a142-4f0b-a4f4-4a0299b99fa4
[W 10:02:46.028 LabApp] 404 GET /api/kernels/fdd02bff-a142-4f0b-a4f4-4a0299b99fa4/channels?session_id=7b094169-24bd-439c-8fd7-4db6ebe00e6f (172.17.0.1) 5.11ms referer=None
[W 10:02:54.767 LabApp] Clearing invalid/expired login cookie username-127-0-0-1-8888
[W 10:02:54.767 LabApp] Clearing invalid/expired login cookie username-127-0-0-1-8888
[W 10:03:07.599 LabApp] 404 GET /notebooks/work/Untitled.ipynb?kernel_name=haskell (172.17.0.1): No such file or directory: work/Untitled.ipynb
[W 10:03:07.600 LabApp] 404 GET /notebooks/work/Untitled.ipynb?kernel_name=haskell (172.17.0.1) 1.55ms referer=http://localhost:8888/tree/work
[W 10:03:46.041 LabApp] 404 GET /api/kernels/1bc9ec14-ea18-4bae-8e65-77675d4ed758/channels?session_id=518220f7ba784e2b862e27f8b3c9f36d (172.17.0.1): Kernel does not exist: 1bc9ec14-ea18-4bae-8e65-77675d4ed758
[W 10:03:46.044 LabApp] 404 GET /api/kernels/1bc9ec14-ea18-4bae-8e65-77675d4ed758/channels?session_id=518220f7ba784e2b862e27f8b3c9f36d (172.17.0.1) 6.39ms referer=None```
I used the docker command to run it

You used this command? docker run --rm -p 8888:8888 -v $PWD:/home/jovyan/pwd --name ihaskell_notebook crosscompass/ihaskell-notebook:latest jupyter lab --LabApp.token=''

Well, thanks for the bug report, but I'm not sure what's going wrong. I'm able to create a work/Untitled.pynb notebook.

$ docker run --rm -p 8888:8888 -v $PWD:/home/jovyan/pwd --name ihaskell_notebook crosscompass/ihaskell-notebook:latest jupyter lab --LabApp.token=''

[I 06:42:25.384 LabApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[W 06:42:25.594 LabApp] All authentication is disabled.  Anyone who can connect to this server will be able to run code.
[I 06:42:25.849 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.8/site-packages/jupyterlab
[I 06:42:25.850 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
[I 06:42:25.852 LabApp] Serving notebooks from local directory: /home/jovyan
[I 06:42:25.852 LabApp] Jupyter Notebook 6.1.4 is running at:
[I 06:42:25.852 LabApp] http://a6f62bb0950d:8888/
[I 06:42:25.852 LabApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 06:42:42.191 LabApp] 302 GET / (172.17.0.1) 0.70ms
[I 06:42:43.805 LabApp] Build is up to date
[I 06:42:54.841 LabApp] Creating new notebook in /work
[I 06:42:54.849 LabApp] Writing notebook-signing key to /home/jovyan/.local/share/jupyter/notebook_secret
[I 06:42:55.037 LabApp] Kernel started: d33cf931-de52-4661-839c-71630fd64ff6, name: haskell
[I 06:42:57.744 LabApp] Adapting from protocol version 5.0 (kernel d33cf931-de52-4661-839c-71630fd64ff6) to 5.3 (client).
[I 06:42:57.750 LabApp] Starting buffering for d33cf931-de52-4661-839c-71630fd64ff6:7b34b43a-8089-46ee-9fde-94a1a9d83228
[I 06:42:57.758 LabApp] Adapting from protocol version 5.0 (kernel d33cf931-de52-4661-839c-71630fd64ff6) to 5.3 (client).
[I 06:42:57.772 LabApp] Adapting from protocol version 5.0 (kernel d33cf931-de52-4661-839c-71630fd64ff6) to 5.3 (client).
[I 06:43:15.730 LabApp] Saving file at /work/Untitled.ipynb