[SciPy-Dev] io/matlab test errors

Warren Weckesser warren.weckesser at enthought.com
Thu May 27 18:02:25 EDT 2010


josef.pktd at gmail.com wrote:
> does anyone get these?  WindosXP32, numpy 1.4.0, scipy 0.8.0.dev6416
>
>   

On Mac OSX 10.5 with scipy r6417 and numpy 1.4.0, I only get the last 
error that you got.  The following is in scipy/io/matlab/tests:

$ nosetests
.......................................................................................................................................................................................F.........................................................
======================================================================
FAIL: test_mio_utils.test_squeeze_element(False,)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/6.1/lib/python2.6/site-packages/nose/case.py", 
line 183, in runTest
    self.test(*self.arg)
AssertionError

----------------------------------------------------------------------
Ran 241 tests in 0.809s

FAILED (failures=1)
$


Warren


> Josef
>
>   
>> nosetests scipy.io
>>     
>
> ======================================================================
> ERROR: Failure: TypeError (Expecting miMATRIX type here, got 3917)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\loader
> .py", line 224, in generate
>     for test in g():
>   File "C:\Josef\_progs\Subversion\scipy-trunk_after\trunk\dist\scipy-0.8.0.dev6
> 416.win32\Programs\Python25\Lib\site-packages\scipy\io\matlab\tests\test_mio.py"
> , line 718, in test_func_read
>     d = rdr.get_variables()
>   File "\Programs\Python25\Lib\site-packages\scipy\io\matlab\mio5.py", line 410,
>  in get_variables
>   File "\Programs\Python25\Lib\site-packages\scipy\io\matlab\mio5.py", line 372,
>  in read_var_header
> TypeError: Expecting miMATRIX type here, got 3917
>
> ======================================================================
> ERROR: Failure: TypeError (Expecting miMATRIX type here, got 1224736768)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\loader
> .py", line 224, in generate
>     for test in g():
>   File "C:\Josef\_progs\Subversion\scipy-trunk_after\trunk\dist\scipy-0.8.0.dev6
> 416.win32\Programs\Python25\Lib\site-packages\scipy\io\matlab\tests\test_mio.py"
> , line 728, in test_mat_dtype
>     d = rdr.get_variables()
>   File "\Programs\Python25\Lib\site-packages\scipy\io\matlab\mio5.py", line 410,
>  in get_variables
>   File "\Programs\Python25\Lib\site-packages\scipy\io\matlab\mio5.py", line 372,
>  in read_var_header
> TypeError: Expecting miMATRIX type here, got 1224736768
>
> ======================================================================
> ERROR: Failure: error (Error -3 while decompressing: invalid distance too far ba
> ck)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\loader
> .py", line 379, in loadTestsFromName
>     addr.filename, addr.module)
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\import
> er.py", line 39, in importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\import
> er.py", line 86, in importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File "C:\Josef\_progs\Subversion\scipy-trunk_after\trunk\dist\scipy-0.8.0.dev6
> 416.win32\Programs\Python25\Lib\site-packages\scipy\io\matlab\tests\test_mio_fun
> cs.py", line 57, in <module>
>     ws_vars = read_workspace_vars(fname)
>   File "C:\Josef\_progs\Subversion\scipy-trunk_after\trunk\dist\scipy-0.8.0.dev6
> 416.win32\Programs\Python25\Lib\site-packages\scipy\io\matlab\tests\test_mio_fun
> cs.py", line 44, in read_workspace_vars
>     vars = rdr.get_variables()
>   File "\Programs\Python25\Lib\site-packages\scipy\io\matlab\mio5.py", line 410,
>  in get_variables
>   File "\Programs\Python25\Lib\site-packages\scipy\io\matlab\mio5.py", line 362,
>  in read_var_header
> error: Error -3 while decompressing: invalid distance too far back
>
> ======================================================================
> ERROR: test suite for <module 'test_streams' from 'C:\Josef\_progs\Subversion\sc
> ipy-trunk_after\trunk\dist\scipy-0.8.0.dev6416.win32\Programs\Python25\Lib\site-
> packages\scipy\io\matlab\tests\test_streams.pyc'>
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\suite.
> py", line 201, in run
>     self.tearDown()
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\suite.
> py", line 323, in tearDown
>     self.teardownContext(ancestor)
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\suite.
> py", line 339, in teardownContext
>     try_run(context, names)
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\util.p
> y", line 487, in try_run
>     return func()
>   File "C:\Josef\_progs\Subversion\scipy-trunk_after\trunk\dist\scipy-0.8.0.dev6
> 416.win32\Programs\Python25\Lib\site-packages\scipy\io\matlab\tests\test_streams
> .py", line 37, in teardown
>     os.unlink(fname)
> WindowsError: [Error 32] The process cannot access the file because it is being
> used by another process: 'c:\\docume~1\\josef\\locals~1\\temp\\tmpcx8egl'
>
> ======================================================================
> FAIL: test_mio_utils.test_squeeze_element(False,)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "c:\programs\python25\lib\site-packages\nose-0.11.1-py2.5.egg\nose\case.p
> y", line 183, in runTest
>     self.test(*self.arg)
> AssertionError
>
> ----------------------------------------------------------------------
> Ran 386 tests in 2.328s
>
> FAILED (errors=4, failures=1)
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>   




More information about the SciPy-Dev mailing list