Kotlin / kotlin-jupyter

Kotlin kernel for Jupyter/IPython
Apache License 2.0
1.1k stars 106 forks source link

Dead kernel and couln't load notebook #271

Closed permiakover closed 3 years ago

permiakover commented 3 years ago

Hello! I'm using Ubuntu where I install the kotlin kernerl for jupyter. When i start the every notebook - i got Dead kernel and restart. After kotlin works. I print hello-world script, save and re-open. I got empty notebook with Снимок экрана от 2021-06-05 16-03-57 Снимок экрана от 2021-06-05 16-04-05 Снимок экрана от 2021-06-05 16-04-34

What am I doing wrong with kotlin kernel?

ileasile commented 3 years ago

Hi! What kind of Jupyter client do you use?

permiakover commented 3 years ago

jupyter notebook 6.0.3 installed by pip

permiakover commented 3 years ago

update : jupiter lab works fine with the kernel, but jupyter console --kernel=kotlin outputs no such kernel

permiakover commented 3 years ago

update - idea - maybe such a case could be force by ubuntu's snap, because I had preinstall project jupyter in ubuntu

ileasile commented 3 years ago

Does it work for you to install kernel from sources and try with jupyter notebook one more time? I've improved error message in this place so I could understand better what's going on

ileasile commented 3 years ago

I've reproduced this bug with help of @polka125, it seems that it was fixed by fd50133c6585bd59e4d938f776b529c2ed4889a8

ileasile commented 3 years ago

@polka125 confirmed that bug was fixed

ileasile commented 3 years ago

Fixed in version 0.10.0.84 pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.10.0.84