You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jupyter nbconvert --execute minimal_reproducer.ipynb --to html sometimes unpredictably hangs when executing the notebook.
I've managed to reduce the reproducing notebook to just a single cell, which combines ipywidgets.interact with a function which returns an IPython.display.Audio object as result of the function:
Sometimes, when the execution does halt and finish successfully, an error [IPKernelApp] ERROR | KeyboardInterrupt caught in kernel. shows up in the debug output, right after the previous lines.
Adding time.sleep(1) the pywidgets.interact line seems to provide a workaround, as far as I can test. So is there some sort of race condition going on?
The text was updated successfully, but these errors were encountered:
jupyter nbconvert --execute minimal_reproducer.ipynb --to html
sometimes unpredictably hangs when executing the notebook.I've managed to reduce the reproducing notebook to just a single cell, which combines
ipywidgets.interact
with a function which returns anIPython.display.Audio
object as result of the function:Some extra details:
--debug
, I get the following output:$jupyter nbconvert --debug --execute minimal_reproducer.ipynb --to html
Sometimes, when the execution does halt and finish successfully, an error
[IPKernelApp] ERROR | KeyboardInterrupt caught in kernel.
shows up in the debug output, right after the previous lines.Adding
time.sleep(1)
thepywidgets.interact
line seems to provide a workaround, as far as I can test. So is there some sort of race condition going on?The text was updated successfully, but these errors were encountered: