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

Feedback on kernel start crash #138

Open
juntyr opened this issue Oct 3, 2024 · 0 comments
Open

Feedback on kernel start crash #138

juntyr opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@juntyr
Copy link
Contributor

juntyr commented Oct 3, 2024

Problem

Sometimes when starting a fresh kernel, it fails to start, e.g. because there is a network error in fetching the packages that the Pyodide kernel fetches on startup. If the end user is not familiar with the dev tools console, there is often no indication as to what has happened and why the kernel is not up and running.

Proposed Solution

There should be a try catch around all kernel init code. If an exception is raised, something should happen, e.g. passing a stderr message to the frontend that tells the user that the kernel failed to start, instructs them to save the file and open it again to start a new kernel (since restarting a kernel doesn't always work given the unsolved race conditions), and includes the full error details after that.

@juntyr juntyr added the enhancement New feature or request label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant