jupyter-elm-kernel icon indicating copy to clipboard operation
jupyter-elm-kernel copied to clipboard

Notebook failing to connect to kernel

Open 573 opened this issue 6 years ago • 1 comments

Steps to reproduce:

git clone https://github.com/abingham/jupyter-elm-kernel
copy default.nix and requirements.txt there

In a nix-enabled shell run:

nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz

I had to use nixos-18.03 to overcome the requirement to upgrade to elm 0.19 (elm-make renamed to elm make which would require kernel.json edits).

Also had to use pyzmq==17.1.3 instaed of pyzmq==18.0.0 (current latest version) to overcome https://github.com/zeromq/pyzmq/issues/946 (had exact same error).

Reproducing the following error when opening the notebook after jupyter notebook:

[I 09:16:59.447 NotebookApp] Adapting to protocol v5.1 for kernel 8b6ce4f9-db58-4082-a242-8d67b7580676 /mnt/c/Users/myuser/pip-inside-nix-shell/venv/lib/python3.6/site-packages/notebook/base/zmqhandlers.py:284: RuntimeWarning: coroutine 'WebSocketHandler.get' was never awaited super(AuthenticatedZMQStreamHandler, self).get(*args, **kwargs)

573 avatar Mar 04 '19 09:03 573

I don't want to leave you hanging here, but I have no idea off the top of my head what's going on. And I also don't have any time to put into this right now. My guess is that the kernel needs to be updated to account for changes in zmq or something, though.

abingham avatar Mar 06 '19 08:03 abingham