[IPython-dev] Subtle ls bug :(

Brian Granger ellisonbg at gmail.com
Fri Aug 27 01:18:03 EDT 2010


Can you both try the following:

Just keep typing ls return.  Every so often I get:

In [28]: ls
---------------------------------------------------------------------------
IOError                                   Traceback (most recent call last)
/Library/Frameworks/Python.framework/Versions/6.2/Doc/<ipython
console> in <module>()

/Users/bgranger/Documents/Computation/IPython/code/ipython/IPython/zmq/zmqshell.pyc
in system(self, cmd)
     61         sys.stderr.flush()
     62         p = Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE)
---> 63         for line in p.stdout.read().split('\n'):
     64             if len(line) > 0:
     65                 print line

IOError: [Errno 4] Interrupted system call

This only seems to show up when running the qt GUI mode.  I think this
one will be fun to debug :)

Brian

-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the IPython-dev mailing list