Skip to content
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.

working in Notebook / CLI but not in jupyterlab? #17

Open
kinoc opened this issue Feb 19, 2018 · 1 comment
Open

working in Notebook / CLI but not in jupyterlab? #17

kinoc opened this issue Feb 19, 2018 · 1 comment
Milestone

Comments

@kinoc
Copy link

kinoc commented Feb 19, 2018

While using the C# core for another project I came across the problem of
the kernel working great in Notebook but not Jupyterlab. After much digging I found the issue is the same as the following link:
jupyterlab/jupyterlab#470
Basically you need to modify the KernelInfoHandler to send PublishStatus(message, ioPub, KernelState.Busy) before the message and PublishStatus(message, ioPub, KernelState.Idle) after it is done in HandleMessage just like you do for an ExecuteRequestHandler. You have to do this for all messages you choose to handle. The new system going forward does not consider the kernel to be active until it gets the KernelState.Idle on the ioPub channel for every message it sends forward and gets handled.

Just thought someone might like to know.

@Jaykul
Copy link
Owner

Jaykul commented Mar 14, 2018

yeah, in particular the lab console is broken, I also need to add support for a history message that I somehow missed in the Jupyter docs.

@Jaykul Jaykul added this to the 1.1.0 milestone May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants