fredokun / cl-jupyter

An enhanced interactive Shell for Common Lisp (based on the Jupyter protocol)
BSD 2-Clause "Simplified" License
199 stars 29 forks source link

cl-jupyter unresponsive "issue with UTF-8 decoding"? #45

Closed stereosphere closed 5 years ago

stereosphere commented 5 years ago

Hello,

I am using SBCL 1.3.1.debian on Ubuntu 16.04. I have updated all my quicklisp dists.

I start in a terminal with "jupyter notebook".

When I load "about-cl-jupyter.ipynb", the kernel does not respond to evaluation requests. I get an asterisk in the brackets. I get the following message in the terminal:

[I 15:54:13.959 NotebookApp] Kernel started: 6459a13b-4f46-4935-911f-123f13f80457 To load "cl-jupyter": Load 1 ASDF system: cl-jupyter ; Loading "cl-jupyter" ..................

cl-jupyter: an enhanced interactive Common Lisp REPL (Version 0.7 - Jupyter protocol v.5.0) --> (C) 2014-2015 Frederic Peschanski (cf. LICENSE)

[Kernel] Entering mainloop ...

Kernel] Entering mainloop ... [Heartbeat] thread startedm[Shell] loop started

Kernel] Entering mainloop ... [Heartbeat] thread startedmRecv: issue with UTF-8 decoding

            "eda0f ... dcb2"
            "{\"msg_id\":\"8816 ... cbc4d0e8f48\",
    \"msg_type\":\"kernel_info_request\",
    \"username\":\"mfleming\",\"session\":
    \"44db9641d ... 822a1d1226760\",
    \"date\":\"2018-11-02T22:54:14.170030Z\",
    \"version\":\"5.3\"}"
            "{}" "{}" "{}")

[W 15:54:35.140 NotebookApp] Replacing stale connection: 6459 ...

stereosphere commented 5 years ago

Hello, I put a print statement after (bordeaux-threads:release-lock message-recv-lock) in the message-recv function in message.lisp. It's never called, so it looks like there is a hang up there. I'm going to switch from Firefox to Chrome to see if that makes a difference.

stereosphere commented 5 years ago

Works on Chrome! Next I'm going to try to get cl-jupyter-widgets working.