[SciPy-Dev] reported error for numpy 1.8

Charles R Harris charlesr.harris@gmail....
Fri Sep 13 21:47:41 CDT 2013


Hi all,

I don't know if this is known or not, so posting here before opening an
issue. This shows up in scipy master as well as 0.12, along with a ton of
(expected) deprecation warnings for the latter.

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File
"/home/charris/.local/lib/python2.7/site-packages/scipy/io/matlab/tests/test_mio.py",
line 301, in _load_check_case
    matdict = loadmat(file_name, struct_as_record=True)
  File
"/home/charris/.local/lib/python2.7/site-packages/scipy/io/matlab/mio.py",
line 126, in loadmat
    matfile_dict = MR.get_variables(variable_names)
  File
"/home/charris/.local/lib/python2.7/site-packages/scipy/io/matlab/mio5.py",
line 288, in get_variables
    res = self.read_var_array(hdr, process)
  File
"/home/charris/.local/lib/python2.7/site-packages/scipy/io/matlab/mio5.py",
line 248, in read_var_array
    return self._matrix_reader.array_from_header(header, process)
  File "mio5_utils.pyx", line 616, in
scipy.io.matlab.mio5_utils.VarReader5.array_from_header
(scipy/io/matlab/mio5_utils.c:5889)
  File "mio5_utils.pyx", line 657, in
scipy.io.matlab.mio5_utils.VarReader5.array_from_header
(scipy/io/matlab/mio5_utils.c:5446)
  File "mio5_utils.pyx", line 814, in
scipy.io.matlab.mio5_utils.VarReader5.read_char
(scipy/io/matlab/mio5_utils.c:7270)
TypeError: buffer is too small for requested array

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20130913/4fa6df2f/attachment.html 


More information about the SciPy-Dev mailing list