Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyodide Kernel: Unknown Status #7

Open
sean-morris opened this issue Apr 15, 2023 · 2 comments
Open

Pyodide Kernel: Unknown Status #7

sean-morris opened this issue Apr 15, 2023 · 2 comments

Comments

@sean-morris
Copy link
Contributor

@jtpio @balajialg @ericvd-ucb
Once JupyterLite renders itself, sometimes the Pyodide Kernel does not "connect".

You can see the message when you mouse over the Pyodide Kernel indicator in the top-right corner of the notebook.
image

In this case, the indicator says: "Kernel Status: Idle"

Sometimes, it says: "Kernel Status: Unknown".

If you run a cell, it will never complete.

We have worked around this problem, by:

  1. Closing the tab and re-opening it; or
  2. By selecting "Restart Kernel..." from the Kernel menu.
    image

It seems to happen fairly regularly. Is there something we are doing wrong with the deployment? Is there a better way to resolve the problem when it does occur?

Thanks.

@jtpio
Copy link
Contributor

jtpio commented Apr 15, 2023

Normally the kernel should indeed indicate "Kernel Status: Unknown" first while initializing.

And the "Kernel Status: Idle" which is normal.

I played with different notebooks on http://www.data8.org/materials-sp22-jupyterlite/ but didn't notice this. Which browser are you using?

@sean-morris
Copy link
Contributor Author

It is Chrome. I am going to keep eye on this to see if I can find some sort of pattern related to this kernel issue.

Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants