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

cell execution hangs after a session reconnect #425

Open
stevejpurves opened this issue Jul 11, 2024 · 1 comment
Open

cell execution hangs after a session reconnect #425

stevejpurves opened this issue Jul 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@stevejpurves
Copy link
Contributor

Describe the bug

context
When I am executing either a notebook or an embedded figure on a myst website that is connected to a remote jupyter session.

expectation
I expected to be able to run a notebook on a myst site and then refresh the page, reconnect and re-execute and for everything to work.

bug
But instead cell execution will not complete after reconnecting to the existing session. The cells spinners just keep running an there is no error message I the console.

problem
This is a problem for most people using a myst site, as it may work on first visit or isolated visits,m but on visits by the same person within the lifetime of the kernel/session they would hit this bug

Reproduce the bug

  1. visit a myst website with notebook content, either hosted or in local dev
  2. connect to a kernel and run all cells
  3. refresh the page
  4. connect to a kernel and run all cells or an individual cell
  5. the [first] cell will stay busy

List your environment

No response

@stevejpurves stevejpurves added the bug Something isn't working label Jul 11, 2024
@stevejpurves
Copy link
Contributor Author

I've experiences this on 2 binders, and think it is something to do with either unsuccessful reconnect to the session, or that the session is somehow left in a bad state after the first time around.

Hitting the "reset" button on figure or cell/notebook controls fixes the issue so it's definitely session related.

Need to test in other places including local and pay attention to versions. Perhaps recent changes to thebe introduced some unintended dep bumps or perhaps we need to upgrade there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant