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

hitting run on a notebook too soon after compute on the page has been enabled causes execute to fail #168

Open
stevejpurves opened this issue Jul 7, 2023 · 1 comment
Labels
bug Something isn't working thebe

Comments

@stevejpurves
Copy link
Member

Describe the bug

context
When I press the power button on a notebook and the run button becomes available, and I quickly press it.

expectation
I expected the cells to execute and they appear to as busy cursors appear, but then execution never completes

bug
But instead execution never completes, and it looks like thebe thinks the cells were already executed -- but that occured too fast to be possible.

image

problem
This is a problem as people think the execution is happening or has hung

Reproduce the bug

  1. go to https://simpeg.xyz/tle-finitevolume/all-together-now
  2. press the power button
  3. click run immedaitely after is appear

contrast this to:

  1. go to https://simpeg.xyz/tle-finitevolume/all-together-now
  2. press the power button
  3. wait a few seconds
  4. click run immediately after it appears

List your environment

No response

@stevejpurves stevejpurves added the bug Something isn't working label Jul 7, 2023
@stevejpurves
Copy link
Member Author

I think this could be down to a silent return in the execute call (maybe because of an exception being eaten or someone) in the case where the session/kernel has not yet been attached.

@rowanc1 rowanc1 added the thebe label Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working thebe
Projects
None yet
Development

No branches or pull requests

2 participants