[SciPy-dev] ERROR: test_sparse_formats (test_mmio.TestMMIOCoordinate)

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Jul 24 11:06:50 CDT 2008


The error mentioned in the subject happens with

>>> scipy.__version__
'0.7.0.dev4559'

======================================================================
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