millejoh / emacs-ipython-notebook

Jupyter notebook client in Emacs
http://millejoh.github.io/emacs-ipython-notebook/
GNU General Public License v3.0
1.47k stars 122 forks source link

(json-end-of-file) with common-lisp-jupyter #711

Open dotmilk opened 4 years ago

dotmilk commented 4 years ago

As mentioned here the common lisp kernel while working in the browser gives correct output, however in ein attempting to run any cel results inl: ein: [info] WS action [(json-end-of-file)] on-message (ws://127.0.0.1:8888/api/kernels/dfab0125-b53b-43cd-baff-c491e54660b2/channels?session_id=7c13390a-d129-4454-abe2-1f9f436d08ae) [5 times]

Cell can be nil or any valid s-expression or even empty. Attempting to run the cell gives same error above.

I was wondering if there was somewhere I could poke around to investigate where the problem comes from? All other kernels I am using work fine in ein.

dickmao commented 4 years ago

My working hypothesis is a bug in https://github.com/ahyatt/emacs-websocket which gets confused when a websocket response has an extended payload length (https://noio-ws.readthedocs.io/en/latest/overview_of_websockets.html).

I will leave this outstanding. I don't plan on looking into this further.