[Scipy-tickets] [SciPy] #653: global name 'Mat5CellWriter' is not defined

SciPy scipy-tickets@scipy....
Wed Nov 12 13:33:08 CST 2008


#653: global name 'Mat5CellWriter' is not defined
----------------------+-----------------------------------------------------
 Reporter:  nich2o    |        Owner:  somebody
     Type:  defect    |       Status:  new     
 Priority:  high      |    Milestone:  0.7.0   
Component:  scipy.io  |      Version:          
 Severity:  normal    |   Resolution:          
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by nils):

 {{{
 >>> scipy.__version__
 '0.7.0.dev5062'
 }}}

 {{{
 >>> io.savemat('test', {'d':{1:2}}, format='5')
 Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "/usr/lib/python2.4/site-packages/scipy/io/matlab/mio.py", line
 154, in savemat
     MW.put_variables(mdict)
   File "/usr/lib/python2.4/site-packages/scipy/io/matlab/mio5.py", line
 924, in put_variables
     is_global)
   File "/usr/lib/python2.4/site-packages/scipy/io/matlab/mio5.py", line
 861, in matrix_writer_factory
     raise TypeError('Could not convert %s (type %s) to array'
 TypeError: Could not convert {1: 2} (type <type 'dict'>) to array
 }}}

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


More information about the Scipy-tickets mailing list