[SciPy-dev] scipy.io.read_array error reading from pipe

Neal Becker ndbecker2 at gmail.com
Thu Feb 23 20:34:14 CST 2006


It seems read_array wants to seek.  Is this really necessary?  Is there a
workaround?
~/remez/remez2 | ./plotfft.py
Traceback (most recent call last):
  File "./plotfft.py", line 12, in ?
    x = scipy.io.read_array (sys.stdin)
  File "/usr/lib64/python2.4/site-packages/scipy/io/array_import.py", line
348, in read_array
    ascii_object = ascii_stream(fileobject, lines=lines, comment=comment,
linesep=linesep)
  File "/usr/lib64/python2.4/site-packages/scipy/io/array_import.py", line
126, in __init__
    self._pos = self.file.tell()
IOError: [Errno 29] Illegal seek




More information about the Scipy-dev mailing list