Open DavidHuebner opened 3 years ago
This looks scary and might be caused by recent releases of jupyter notebook and/or python. Anyway, the focus of development of the sos notebook project has long been moved to jupyterlab. Is there any reason you cannot use the jupyterlab frontend?
I can confirm this bug with the official sos-notebook docker image, and also confirm that the jupyterlab frontend is immune from this problem.
I spent a few hours on this issue but could not find a solution. I will have to revisit this issue later.
This looks scary and might be caused by recent releases of jupyter notebook and/or python. Anyway, the focus of development of the sos notebook project has long been moved to jupyterlab. Is there any reason you cannot use the jupyterlab frontend?
Thanks for your quick reply and investigation. We are developing a custom Jupyter kernel and want to provide a Binder link. The main reason why we are not using the jupyterlab frontend is because we found the integration with Binder to be very difficult, especially when installing the required jupyterlab extensions. We might try that route again.
Problem
Restarting a Jupyter Notebook with SoS kernel crashes each time with the following error logs:
It tries restarting the kernel for five times, then the SoS Kernel is dead with the following log and screenshot.
Clicking on "Try Restarting Now" actually work, but this should not be the "appropriate" way to restart the kernel and causes a bad user experience.
Steps to reproduce the error
I created a very simple Dockerfile to reproduce the error.
docker build . -t sos-test
docker run -p 8888:8888 sos-test
print("hi")