Hello all,
I was able to get both integrated and normal QtConsole example from here https://github.com/ipython/ipykernel/tree/main/examples/embedding running but I struggling to connect a notebook interface to an already running kernel inside a PySide app.
From what I found the “simplest” way should be with jupyverse but I’m still unable to find my kernel from jupyterlab.
Once my PySide app launched I get a json file in $HOME/.local/share/jupyter/runtime, the one I use to connect a QtConsole. I start jupyverse with:
jupyverse --set "kernels.allow_external_kernels=true" --set "kernels.external_connection_dir=/home/jeandet/.local/share/jupyter/runtime" --set "auth.mode=noauth" --port=8800 --open-browser
From the browser I can’t see any running kernel, I sometimes get from the terminal (maybe related):
File "/home/jeandet/PySide6.5.1Venv3.10/lib/python3.10/site-packages/fps_kernels/routes.py", line 154, in get_sessions
kernel_id = session.kernel.id
AttributeError: 'dict' object has no attribute 'id'
Is there anything obvious I missed or I can do to fix/understand the issue? Any help is welcome .
Best regards,
Alexis.