guile-kernel icon indicating copy to clipboard operation
guile-kernel copied to clipboard

en-dash character prevents output from displaying.

Open jgibbons94 opened this issue 3 years ago • 4 comments

I'm using commit f25fb90b95529b17a006a807bd04e6aee12ea304 as built and installed by guix.

In a jupyter notebook with the guile kernel, add the following code to different cells: (display "display function works") (display "\u2013") (display "hello") Run all cells. The first cell produces the expected output, but the second and third cell don't produce output even though they show the output number. When all cells are run again, no cell produces any output, but the output count is shown. The escaped unicode can be replaced with the actual en-dash character "–" for the same results. I have not tried this with other 16-bit unicode character codes.

guile itself can run all of the above code as expected.

This issue is not present in the python kernel. The code blocks: print("print function works") print("\u2013") print("hello") work as expected.

This is most likely a problem with how the guile kernel handles the jupyter protocol.

Attached is issue.ipynb.gz which replicates this issue with the guile code above.

jgibbons94 avatar Jun 24 '21 02:06 jgibbons94