You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: