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

SciPy scipy-tickets@scipy....
Sat Oct 11 04:56:10 CDT 2008


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

 The current output of io.savemat('test', {'d':{1:2}}, format='5') is

 {{{
   File "/usr/lib/python2.4/site-packages/scipy/io/matlab/mio5.py", line
 773, in write
     self.write_header(mclass=mxCELL_CLASS)
   File "/usr/lib/python2.4/site-packages/scipy/io/matlab/mio5.py", line
 692, in write_header
     self.write_element(np.array(self.arr.shape, dtype='i4'))
   File "/usr/lib/python2.4/site-packages/scipy/io/matlab/mio5.py", line
 643, in write_element
     self.write_regular_element(arr, mdtype, byte_count)
   File "/usr/lib/python2.4/site-packages/scipy/io/matlab/mio5.py", line
 659, in write_regular_element
     self.write_dtype(tag)
 RuntimeError: maximum recursion depth exceeded
 }}}

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


More information about the Scipy-tickets mailing list