[SciPy-dev] scipy.test() error

Nils Wagner nwagner@iam.uni-stuttgart...
Fri Jul 18 12:43:19 CDT 2008


Hi Nathan,

I found a new error in scipy.sparse. I have used
>>> scipy.__version__
'0.7.0.dev4549'

======================================================================
ERROR: test_sparse_formats (test_mmio.TestMMIOCoordinate)
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/io/tests/test_mmio.py", 
line 311, in test_sparse_formats
     mmwrite(fn, mat.asformat(fmt))
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/io/mmio.py", 
line 67, in mmwrite
     MMFile().write(target, a, comment, field, precision)
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/io/mmio.py", 
line 284, in write
     self._write(stream, a, comment, field, precision)
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/io/mmio.py", 
line 564, in _write
     IJV = vstack((a.row, a.col, a.data)).T
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/sparse/csr.py", 
line 93, in __getattr__
     return _cs_matrix.__getattr__(self, attr)
   File 
"/usr/local/lib64/python2.5/site-packages/scipy/sparse/base.py", 
line 393, in __getattr__
     raise AttributeError, attr + " not found"
AttributeError: row not found

Nils


More information about the Scipy-dev mailing list