[IPython-user] KeyboardInterrupt ignored until flush is complete!
Danny Jacobs
jacobsda@sas.upenn....
Fri Dec 4 12:03:07 CST 2009
Hello Everyone,
My ipython usage experience is almost perfect and I am close to
achieving research nirvana but lately I have been having a strange
issue that really affects the workflow. After working for a little
while, doing plotting and numpy stuff the keyboard interrupt (^c) at
the command line (eg to cancel a half-written command) stops working
and responds with
KeyboardInterrupt ignored until flush is complete!
before continuing on to (or attempt to) run whatever is on the command
line. A google search for this error only brings up svn commits to
ipython from a couple years ago. As far as I can tell this has to do
with the pylab threading environment and perhaps some unfinished
thread process. Is there a way to clear this (by giving it the flush
it desires) besides restarting the interpreter? I haven't been able
to pin down when exactly interrupts stop working but I will keep
trying. Its definitely after doing some pylab plotting.
My basic science command line is:
ipython -pylab -p sh
IPython 0.10 [on Py 2.5.1]
matplotlib 0.99.1.1
OS X (10.5)
Thanks,
~Danny
--
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Danny Jacobs
Dept. of Physics and Astronomy
University of Pennsylvania
209 South 33rd Street
Philadelphia, PA 19104-6396
-------------------------------------------------
Office: Rittenhouse Lab - 1n2a
Phone: (215) 280-7357
Fax: (215) 898-2010
Homepage: http://dannycjacobs.googlepages.com
--
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Danny Jacobs
Dept. of Physics and Astronomy
University of Pennsylvania
209 South 33rd Street
Philadelphia, PA 19104-6396
-------------------------------------------------
Office: Rittenhouse Lab - 1n2a
Phone: (215) 280-7357
Fax: (215) 898-2010
Homepage: http://dannycjacobs.googlepages.com
More information about the IPython-user
mailing list