[Scipy-tickets] [SciPy] #340: Several attribute errors in r2501

SciPy scipy-tickets at scipy.net
Sun Jan 7 12:34:01 CST 2007


#340: Several attribute errors in r2501
--------------------------+-------------------------------------------------
 Reporter:  nils          |       Owner:  somebody
     Type:  defect        |      Status:  new     
 Priority:  normal        |   Milestone:          
Component:  scipy.sparse  |     Version:          
 Severity:  normal        |    Keywords:          
--------------------------+-------------------------------------------------
 {{{
 ======================================================================
 ERROR: check_eye (scipy.sparse.tests.test_sparse.test_construct_utils)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/sparse/tests/test_sparse.py", line 723, in check_eye
     a = speye(2, 3 )
   File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
 line 2728, in speye
     return spdiags(diags, k, n, m)
   File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
 line 2709, in spdiags
     indptr,rowind,data =
 sparsetools.spdiags(M,N,len(offsets),offsets,diags)
 AttributeError: 'module' object has no attribute 'spdiags'
 }}}


 {{{
 ======================================================================
 ERROR: check_constructor1 (scipy.sparse.tests.test_sparse.test_coo)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/sparse/tests/test_sparse.py", line 747, in
 check_constructor1
     assert_array_equal(arange(12).reshape(4,3),coo.todense())
   File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
 line 364, in todense
     return asmatrix(self.toarray())
   File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
 line 367, in toarray
     csc = self.tocsc()
   File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
 line 2208, in tocsc
     indptr,rowind,data =
 sparsetools.cootocsc(self.shape[0],self.shape[1],self.size,self.row,self.col,self.data)
 AttributeError: 'module' object has no attribute 'cootocsc'
 }}}


 {{{
 ======================================================================
 ERROR: check_normalize (scipy.sparse.tests.test_sparse.test_coo)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib64/python2.5/site-
 packages/scipy/sparse/tests/test_sparse.py", line 787, in check_normalize
     assert_array_equal(coo.tocsr().todense(), coo.todense())
   File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
 line 2216, in tocsr
     indptr,colind,data =
 sparsetools.cootocsr(self.shape[0],self.shape[1],self.size,self.row,self.col,self.data)
 AttributeError: 'module' object has no attribute 'cootocsr'
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/scipy/ticket/340>
SciPy <http://www.scipy.org/>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list