[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 10:24:33 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):

 However, in your case it appears that your machine doesn't have enough
 free memory to load a single contiguous copy of the data, as the failure
 occurs already in the decompression stage before anything else is done
 with the data.

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


More information about the Scipy-tickets mailing list