ipython: Ctrl-C not working when GUI/pylab integration is active
As @juliantaylor mentioned in #825, it seems that recently Ctrl-C
stopped working. To see it, open a normal ipython; first verify that you can interrupt a normal operation:
In [1]: import time; time.sleep(3)
^C---------------------------------------------------------------------------
KeyboardInterrupt Traceback (most recent call last)
/home/fperez/tmp/src/scipy/<ipython-input-1-8d480fb9ac1e> in <module>()
----> 1 import time; time.sleep(3)
KeyboardInterrupt:
Then turn GUI support on and try again:
In [2]: gui qt
Out[2]: <PyQt4.QtGui.QApplication at 0x2b84f80>
In [3]: import time; time.sleep(3)
^C^C^C
In [4]:
Above, I hit ^C
three times and nothing happened, the time.sleep(3)
ran to completion without the interrupt working.
This is new and a major issue we do need to resolve before releasing 0.12.
About this issue
- Original URL
- State: closed
- Created 13 years ago
- Comments: 23 (16 by maintainers)
It seems that this error is back. Using ipython 3, matplotlib 1.4, qt 4.8.6 i get this if I use
%matplotlib qt
and doing a keyboard interrupt: