[NumPy-Tickets] [NumPy] #2003: matlib parse fails on MacOS10.7 but works on Ubuntu 10.04

NumPy Trac numpy-tickets@scipy....
Thu Dec 22 16:47:06 CST 2011


#2003: matlib parse fails on MacOS10.7 but works on Ubuntu 10.04
--------------------+-------------------------------------------------------
 Reporter:  hajons  |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  devel      
 Keywords:          |  
--------------------+-------------------------------------------------------
 I have attached a script that parses a matlab file and stores data in a
 file. It works well on Ubuntu 10.04 with python 2.6.5, but fails on MacOs
 10.7 both on python 2.6.1 and 2.7.1 (MacOS version of python). I don't
 have any other problems with python on MacOS. Scipy version 0.11 and numpy
 version 2.0.0.

 The error message I get on MacOS is this:
 seldmac6145:Proximates 23056164$ python parse_proximity.py
 realitymining.mat
 Done loading matlab data.
 Traceback (most recent call last):
   File "parse_proximity.py", line 79, in <module>
     get_events(matlab_obj)
   File "parse_proximity.py", line 18, in get_events
     subject_mac = int(subject_object.my_mac[0][0][0], 16)
 AttributeError: 'numpy.void' object has no attribute 'my_mac'

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2003>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list