gap-packages / JupyterKernel

Native Jupyter kernel for GAP
https://gap-packages.github.io/JupyterKernel/
BSD 3-Clause "New" or "Revised" License
19 stars 12 forks source link

no output from cell evaluation (using Python 3.5) #27

Closed dimpase closed 6 years ago

dimpase commented 6 years ago

I have installed Jupyter using pip3 install jupyter --user on 4.14.3-gentoo #3 SMP x86_64 Intel(R) and JupyterKernel as described in the manual (and all the needed packages, naturally).

I do not get any echo from commands in input cells, only if I do Print() then I get to see things. This is not how it is meant to work, right?

Also, if I do not complete a statement with ; then the echo from execution is a message on red background saying An error happened.

cmdawson commented 6 years ago

I also have the issue with statements not completed with ; . I see the gap error in the jupyter log

Syntax error: ; expected in stream:1

but then no further communication with the kernel is possible.

Otherwise everything works perfectly (and is awesome)

markuspf commented 6 years ago

Most of this is fixed in the master branch of JupyterKernel, though the current 4.9.1 GAP release has a bug that inconveniently crashes the kernel when a syntax error occurs.

haraldschilly commented 6 years ago

I'm curious, is this fixed or part of an ongoing pull request? This is one of the issues we had with that kernel on cocalc.com and I want to know if we should try again.

dimpase commented 6 years ago

It would be good to know what GAP kernel bug this is. Thanks!

cmdawson commented 6 years ago

I believe it is this one

https://github.com/gap-system/gap/issues/2487