-
Notifications
You must be signed in to change notification settings - Fork 294
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
Some ipywidgets interactions cause subsequent cells to hang when using the raw kernel #13971
Comments
Thanks for filing this issue, unfortunately I'm unable to replicate this at my end.
Please could you enable logging as follows:
|
I changed the logging level to
Here's a video recording of the issue. trimmed_bqplot_issue_720p.mov |
I'm so sorry for not getting back to you on this. |
I do still have the issue when running with |
I believe I have managed to identify the issue and fix this Please could you
If this still does not fix it, please feel free to re-open this issue or feel free to create a new one or just ping me here |
Duplicate of #13469 |
Applies To
What happened?
I have found this happening most consistently with bqplot interactions.
Create a plot with a brushable selection, e.g.:
The interaction with the plot using the brush selector behaves as expected, but after making a selection, trying to run any new cell simply hangs, with VSCode indicating that the cell is waiting to be executed. If no selection has been made, cells execute normally, but once any selection has been made, the only recourse seems to be restarting the kernel. The plot remains responsive throughout, however.
I have seen similar but temporary hangs when a widget runs a long task in the UI thread on instantiation, so perhaps something similar is going on here?
Setting
"jupyter.disableZMQSupport": true
(which I believe moves the backend to the Jupyter server rather than the raw kernel) seems to resolve the problem. I previously submitted this as an issue in bqplot (bqplot/bqplot#1618) but on discovering this workaround I thought it was probably better submitted here.VS Code Version
1.80.1
Jupyter Extension Version
2023.6.1101941928
Jupyter logs
Cell 0 is the imports, cell 1 creates and displays the figure, and cell 2 is the subsequent cell that never executes.
The text was updated successfully, but these errors were encountered: