[SciPy-user] scipy.test errors (generic ld filter, loadmat case callnest)

Michael Williams williams at astro.ox.ac.uk
Thu Sep 14 09:55:38 CDT 2006


Hi,

I'm running scipy 0.8.5 and numpy 1.0b5 built from source using Debian's
stable environment (gcc 3.3, Python 2.3.5) on an AMD64 machine.
numpy.test() runs fine, but scipy.test does not. Here are the errors:

======================================================================
ERROR: generic 1d filter 1
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/williams/usr/lib/python2.3/site-packages/scipy/ndimage/tests/test_ndimage.py",
line 1141, in test_generic_filter1d01
    extra_keywords = {'total': weights.sum()})
  File
"/home/williams/usr//lib/python2.3/site-packages/scipy/ndimage/filters.py",
line 632, in generic_filter1d
    mode, cval, origin, extra_arguments, extra_keywords)
MemoryError

======================================================================
ERROR: check loadmat case cellnest
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/williams/usr/lib/python2.3/site-packages/scipy/io/tests/test_mio.py",
line 80, in cc
    self._check_case(name, expected)
  File
"/home/williams/usr/lib/python2.3/site-packages/scipy/io/tests/test_mio.py",
line 75, in _check_case
    self._check_level(k_label, expected, matdict[k])
  File
"/home/williams/usr/lib/python2.3/site-packages/scipy/io/tests/test_mio.py",
line 33, in _check_level
    self._check_level(level_label, ev, actual[i])
  File
"/home/williams/usr/lib/python2.3/site-packages/scipy/io/tests/test_mio.py",
line 30, in _check_level
    assert len(expected) == len(actual), "Different list lengths at %s"
% label
TypeError: len() of unsized object

----------------------------------------------------------------------
Ran 1569 tests in 2.105s

FAILED (errors=2)

I would be very grateful for any suggestions? Indeed, should I even
worry about this?

Thanks,
-- 
Michael Williams
Theoretical Physics, University of Oxford


More information about the SciPy-user mailing list