[SciPy-User] scipy.io.matlab.loadmat error

Nils Wagner nwagner@iam.uni-stuttgart...
Wed Jun 9 01:53:55 CDT 2010


On Fri, 4 Jun 2010 20:30:21 -0300
  Fernando Guimarães 
Ferreira	<fernando.ferreira@poli.ufrj.br> wrote:
> So,
> 
> Things have change... I rebuilt numpy and scipy. It 
>turns out that
> scipy.io.matlab.loadmat is working again....
> However scipy.test('1', '10') is still failing
> 
> I attached the output... i can't understand why...
> 
> I installed the dmg package from the sourceForge 
>repository.
> 
> Any idea?
> 
> Cheers,
>Fernando
> 
> 
I cannot reproduce the problem here.
>>> numpy.__version__
'2.0.0.dev8460'
>>> scipy.__version__
'0.9.0.dev6495'

======================================================================
ERROR: test_decomp.test_lapack_misaligned(<function solve 
at 0x2cc5410>, (array([[  1.734e-255,   8.189e-217, 
  4.025e-178,   1.903e-139,   9.344e-101,
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/linalg/tests/test_decomp.py", 
line 1071, in check_lapack_misaligned
     func(*a,**kwargs)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/linalg/basic.py", 
line 49, in solve
     a1, b1 = map(asarray_chkfinite,(a,b))
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/lib/function_base.py", 
line 528, in asarray_chkfinite
     "array must not contain infs or NaNs")
ValueError: array must not contain infs or NaNs

======================================================================
ERROR: Ticket #1124.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/signal/tests/test_signaltools.py", 
line 287, in test_none
     signal.medfilt(None)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/signal/signaltools.py", 
line 317, in medfilt
     return sigtools._order_filterND(volume,domain,order)
ValueError: order_filterND not available for this type

======================================================================
ERROR: test_mpmath.test_expi_complex
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/nose-0.11.1-py2.5.egg/nose/case.py", 
line 183, in runTest
     self.test(*self.arg)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/numpy/testing/decorators.py", 
line 146, in skipper_func
     return f(*args, **kwargs)
   File 
"/data/home/nwagner/local/lib/python2.5/site-packages/scipy/special/tests/test_mpmath.py", 
line 46, in test_expi_complex
     dataset = np.array(dataset, dtype=np.complex_)
TypeError: a float is required

----------------------------------------------------------------------
Ran 4625 tests in 166.157s

FAILED (KNOWNFAIL=12, SKIP=17, errors=3)
<nose.result.TextTestResult run=4625 errors=3 failures=0>

  


More information about the SciPy-User mailing list