I am using jupyterlab connect conda R env, every time I got error like:
[W 2024-02-07 23:03:48.349 ServerApp] kernel bcceed27-d986-4ab6-a8b5-95b3f741e0c7 restarted [E 2024-02-07 23:03:48.349 ServerApp] KernelRestarter: restart callback <bound method ZMQChannelsWebsocketConnection.on_kernel_restarted of <jupyter_server.services.kernels.connection.channels.ZMQChannelsWebsocketConnection object at 0x7f839fcba5e0>> failed Traceback (most recent call last): File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/jupyter_server/services/kernels/connection/channels.py", line 798, in on_kernel_restarted self._send_status_message("restarting") File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/jupyter_server/services/kernels/connection/channels.py", line 793, in _send_status_message self.write_message(json.dumps(msg, default=json_default)) File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/tornado/websocket.py", line 331, in write_message raise WebSocketClosedError() tornado.websocket.WebSocketClosedError
When I connect jupyterlab with conda python env, there is no errors.
I was trouble shooting for few days, but no luck.
anyone maybe have some idea how could I solve this issue?
There's not much to go on here - looks like the browser/client has closed the connection. This is more likely to be a jupyterlab-specific issue than something in Tornado.
Hello!
I am using jupyterlab connect conda R env, every time I got error like:
[W 2024-02-07 23:03:48.349 ServerApp] kernel bcceed27-d986-4ab6-a8b5-95b3f741e0c7 restarted [E 2024-02-07 23:03:48.349 ServerApp] KernelRestarter: restart callback <bound method ZMQChannelsWebsocketConnection.on_kernel_restarted of <jupyter_server.services.kernels.connection.channels.ZMQChannelsWebsocketConnection object at 0x7f839fcba5e0>> failed Traceback (most recent call last): File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/jupyter_client/restarter.py", line 105, in _fire_callbacks callback() File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/jupyter_server/services/kernels/connection/channels.py", line 798, in on_kernel_restarted self._send_status_message("restarting") File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/jupyter_server/services/kernels/connection/channels.py", line 793, in _send_status_message self.write_message(json.dumps(msg, default=json_default)) File "/hpc/miniconda3/envs/python3.9/lib/python3.9/site-packages/tornado/websocket.py", line 331, in write_message raise WebSocketClosedError() tornado.websocket.WebSocketClosedError
When I connect jupyterlab with conda python env, there is no errors. I was trouble shooting for few days, but no luck. anyone maybe have some idea how could I solve this issue?
Best, Zhijun