notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Next cell does not execute after an exception is thrown

Open bentaculum opened this issue 1 year ago • 2 comments

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 avatar Aug 29 '22 01:08 bentaculum

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?

RRosio avatar Sep 01 '22 17:09 RRosio

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.

bentaculum avatar Sep 03 '22 13:09 bentaculum

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

vdrhtc avatar Oct 07 '22 14:10 vdrhtc