Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with porting ipkernel_qtapp to PySide6, event loop doesn't quit #1180

Open
jeandet opened this issue Dec 11, 2023 · 0 comments
Open

Issue with porting ipkernel_qtapp to PySide6, event loop doesn't quit #1180

jeandet opened this issue Dec 11, 2023 · 0 comments

Comments

@jeandet
Copy link

jeandet commented Dec 11, 2023

Hello,

I was successfully using in process embedded QtConsole example in my app.
Now, I want to allow jupyter notebooks to connect to my app kernel, so I switched to IPKernelApp like in this example but I can't close anymore My app.
The trick that work is to call quit() from the kernel with self.ipkernel.shell.run_cell("quit()") or from a QtConsole, using qapp.quit() doesn't seems to work anymore.
Here is a patch if someone want to reproduce the issue with ipykernel example:
ipykernel_pyside6.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant