-
Notifications
You must be signed in to change notification settings - Fork 313
Open
Description
Hello, I am trying to run the xeus-cling C++ kernel in Jupyter Notebook, but I keep encountering the following error when selecting the xcpp17 kernel:
[E 2025-02-20 03:18:42.135 ServerApp] Uncaught exception in ZMQStream callback
Traceback (most recent call last):
File "/home/user/miniconda3/envs/cling/lib/python3.10/site-packages/zmq/eventloop/zmqstream.py", line 551, in _run_callback
f = callback(*args, **kwargs)
File "/home/user/miniconda3/envs/cling/lib/python3.10/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 600, in record_activity
parent_msg_type = msg.get("parent_header", {}).get("msg_type", None)
AttributeError: 'NoneType' object has no attribute 'get'
The Jupyter Notebook launches correctly, and I can see the xcpp17 (C++17) kernel in the list of available kernels as below, but when I try to select it, I get the error above.
Available kernels:
python3 /home/user/miniconda3/envs/cling/share/jupyter/kernels/python3
xcpp11 /home/user/miniconda3/envs/cling/share/jupyter/kernels/xcpp11
xcpp14 /home/user/miniconda3/envs/cling/share/jupyter/kernels/xcpp14
xcpp17 /home/user/miniconda3/envs/cling/share/jupyter/kernels/xcpp17
System Information:
Operating System: Windows 11 (WSL2 - Ubuntu 22.04)
Conda Environment: cling
Python Version: 3.10 (Miniconda)
Jupyter Server Version: 2.15.0
Jupyter Client Version: 8.6.3
ZeroMQ Version: 4.3.5
xeus 3.1.5
xeus-cling Version: 0.15.3
xeus-zmq: 1.1.1
What could be causing this Uncaught exception in ZMQStream callback error?
Metadata
Metadata
Assignees
Labels
No labels