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

New tab causes crash for --existing kernels #594

Closed
hrdl-github opened this issue Nov 15, 2023 · 0 comments · Fixed by #595
Closed

New tab causes crash for --existing kernels #594

hrdl-github opened this issue Nov 15, 2023 · 0 comments · Fixed by #595
Labels
Milestone

Comments

@hrdl-github
Copy link
Contributor

qtconsole 5.4.4
Reproduction:

$ jupyter-kernel &
[KernelApp] Starting kernel 'python3'
[KernelApp] Connection file: /home/user/.local/share/jupyter/runtime/kernel-267ae814-2df8-4ed5-8e9e-0906cf2446eb.json
[KernelApp] To connect a client: --existing kernel-267ae814-2df8-4ed5-8e9e-0906cf2446eb.json
$ jupyter-qtconsole --existing kernel-267ae814-2df8-4ed5-8e9e-0906cf2446eb.json
# Press C-t in GUI
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/qtconsole/mainwindow.py", line 115, in create_tab_with_new_frontend
    widget = self.new_frontend_factory()
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/qtconsole/qtconsoleapp.py", line 194, in new_frontend_master
    if self.kernel_manager.ipykernel:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'ipykernel'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants