[Scipy-tickets] [SciPy] #1577: matlab file parsing fails on MacOS 10.7, but works on Ubuntu 10.04

SciPy Trac scipy-tickets@scipy....
Thu Dec 22 16:49:17 CST 2011


#1577: matlab file parsing fails on MacOS 10.7, but works on Ubuntu 10.04
----------------------+-----------------------------------------------------
 Reporter:  hajons    |       Owner:  somebody   
     Type:  defect    |      Status:  new        
 Priority:  normal    |   Milestone:  Unscheduled
Component:  scipy.io  |     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/scipy/ticket/1577>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list