Skip to content
New issue

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

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

Already on GitHub? # to your account

Next cell does not execute after an exception is thrown #6526

Closed
bentaculum opened this issue Aug 29, 2022 · 5 comments
Closed

Next cell does not execute after an exception is thrown #6526

bentaculum opened this issue Aug 29, 2022 · 5 comments
Labels

Comments

@bentaculum
Copy link

Describe the bug

When using the pyqt gui via %gui qt, the cell that I execute after after an exception is thrown is not run.

To Reproduce

Run

%gui qt
1/0

in a cell.
After that, the first cell I want to run e.g.

print("Run")

does not execute. The second cell I run executes as normal.

Screenshots

Screen Shot 2022-08-28 at 21 21 03

Desktop (please complete the following information):

  • OS: MacOS 12.5
  • Browser Chrome
  • Version 104.0.5112.101
@bentaculum bentaculum added the bug label Aug 29, 2022
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to issues that need triage label Aug 29, 2022
@RRosio RRosio changed the title Next cell does not execute after an exception is thrown when using %gui qt Next cell does not execute after an exception is thrown Sep 1, 2022
@RRosio RRosio removed the status:Needs Triage Applied to issues that need triage label Sep 1, 2022
@RRosio
Copy link
Collaborator

RRosio commented Sep 1, 2022

Hi @bentaculum we were able to reproduce this without the qt gui but not in the ipython terminal. Thank you for submitting this issue! Would you be able to provide a recording of the steps you take to reproduce this issue?

@bentaculum
Copy link
Author

I confirm, this issue does not occur in the ipython terminal for me either, only in the jupyter notebook. I have used the jupyter lab test environment to produce this error in the jupyter notebook.

@vdrhtc
Copy link

vdrhtc commented Oct 7, 2022

Confirming, too, observed on multiple computers. Occurs when %matplotlib qt is loaded.

@jdranczewski
Copy link

Hi all, this should be fixed in ipykernel release 6.29.3: https://github.com/ipython/ipykernel/releases/tag/v6.29.3 with the PR ipython/ipykernel#1212

@jtpio
Copy link
Member

jtpio commented Feb 27, 2024

Thanks @jdranczewski for following-up, closing as fixed then!

@jtpio jtpio closed this as completed Feb 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants