Description
When running the notebooks (any of them), at some point the cell execution doesn't return anything, as if the notebook was frozen, even if no error message is issued in the notebook interface.
Meanwhile in the terminal (from which I've started the Jupyter session with jupyter-notebook), some errors appear:
[E 11:36:53.320 NotebookApp] Uncaught exception in ZMQStream callback
Traceback (most recent call last):
File "/home/ctroupin/.local/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 584, in _run_callback
f = callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ctroupin/.local/lib/python3.11/site-packages/zmq/eventloop/zmqstream.py", line 308, in stream_callback
return callback(self, msg)
^^^^^^^^^^^^^^^^^^^
File "/home/ctroupin/.local/lib/python3.11/site-packages/notebook/services/kernels/handlers.py", line 572, in _on_zmq_reply
super()._on_zmq_reply(stream, msg)
File "/home/ctroupin/.local/lib/python3.11/site-packages/notebook/base/zmqhandlers.py", line 256, in _on_zmq_reply
self.write_message(msg, binary=isinstance(msg, bytes))
File "/home/ctroupin/.local/lib/python3.11/site-packages/tornado/websocket.py", line 339, in write_message
return self.ws_connection.write_message(message, binary=binary)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ctroupin/.local/lib/python3.11/site-packages/tornado/websocket.py", line 1086, in write_message
fut = self._write_frame(True, opcode, message, flags=flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ctroupin/.local/lib/python3.11/site-packages/tornado/websocket.py", line 1061, in _write_frame
return self.stream.write(frame)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ctroupin/.local/lib/python3.11/site-packages/tornado/iostream.py", line 546, in write
self._handle_write()
File "/home/ctroupin/.local/lib/python3.11/site-packages/tornado/iostream.py", line 976, in _handle_write
self._write_buffer.advance(num_bytes)
File "/home/ctroupin/.local/lib/python3.11/site-packages/tornado/iostream.py", line 182, in advance
assert 0 < size <= self._size
AssertionError
Maybe related to the use of widgets, see https://discourse.jupyter.org/t/output-stuck-buffered-for-60-seconds-uncaught-exception-in-zmqstream-callback/19588
How to reproduce?
It seems that this is triggered by modifications in the widget and the "Execute all cells" button.
Versions
> jupyter --version
Selected Jupyter core packages...
IPython : 8.11.0
ipykernel : 6.22.0
ipywidgets : 8.0.5
jupyter_client : 8.1.0
jupyter_core : 5.3.0
jupyter_server : not installed
jupyterlab : not installed
nbclient : 0.7.2
nbconvert : 7.2.10
nbformat : 5.8.0
notebook : 6.5.3
qtconsole : 5.4.1
traitlets : 5.9.0
also tested with
Selected Jupyter core packages...
IPython : 8.11.0
ipykernel : 6.22.0
ipywidgets : 8.0.5
jupyter_client : 8.6.2
jupyter_core : 5.3.0
jupyter_server : 2.14.2
jupyterlab : 4.2.5
nbclient : 0.7.2
nbconvert : 7.2.10
nbformat : 5.8.0
notebook : 6.5.3
qtconsole : 5.4.1
traitlets : 5.9.0
Description
When running the notebooks (any of them), at some point the cell execution doesn't return anything, as if the notebook was frozen, even if no error message is issued in the notebook interface.
Meanwhile in the terminal (from which I've started the Jupyter session with
jupyter-notebook), some errors appear:Maybe related to the use of widgets, see https://discourse.jupyter.org/t/output-stuck-buffered-for-60-seconds-uncaught-exception-in-zmqstream-callback/19588
How to reproduce?
It seems that this is triggered by modifications in the widget and the "Execute all cells" button.
Versions
also tested with