[Scipy-tickets] [SciPy] #1894: scipy.io.loadmat() --- File "/usr/lib/python2.7/dist-packages/scipy/io/matlab/mio5.py", line 224, in read_var_header stream = BytesIO(dcor.decompress(data)) SystemError: ../Objects/stringobject.c:3899: bad argument to internal

SciPy Trac scipy-tickets@scipy....
Sat Apr 20 18:45:31 CDT 2013


#1894: scipy.io.loadmat()  --- File "/usr/lib/python2.7/dist-
packages/scipy/io/matlab/mio5.py", line 224, in read_var_header     stream
= BytesIO(dcor.decompress(data)) SystemError:
../Objects/stringobject.c:3899: bad argument to internal
------------------------+---------------------------------------------------
 Reporter:  ncphillips  |       Owner:  MatthewBrett
     Type:  defect      |      Status:  new         
 Priority:  low         |   Milestone:  Unscheduled 
Component:  scipy.io    |     Version:  0.12.0      
 Keywords:              |  
------------------------+---------------------------------------------------

Comment(by pv):

 PR https://github.com/scipy/scipy/pull/519

 Because your file is corrupted, you cannot load it even with these
 changes, but the memory usage can indeed be reduced.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1894#comment:4>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list