On Fri, Jun 20, 2008 at 4:39 AM, arrowtackett <[EMAIL PROTECTED]> wrote: > Thank you so much for taking the time to help me out. I have gotten > my exe to read the matplotlib data files. However, I still get what
Great that that's working. > seems to be a matplotlib error. Here is the stack trace: > > File "testPlot/buildtestPlot/outPYZ4.pyz/matplotlib.lines", line > 423, in recache > AttributeError: 'module' object has no attribute 'getmask' > > It seems to not like the Figure.add_subplot() call in my GUI. Anyone > have any ideas to fix this problem? That one also cost me quite some time to fix, it's quite obscure. The solution is on line 63 of my mplkit __init__.py file: http://code.google.com/p/devide/source/browse/trunk/devide/module_kits/matplotlib_kit/__init__.py#63 In short, you need to put this somewhere early in your application: if hasattr(sys, 'frozen') and sys.frozen: import numpy.core.ma sys.modules['numpy.ma'] = sys.modules['numpy.core.ma'] The reason why this fixes the getmask problem is documented in my __init__.py file. Good luck, Charl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/PyInstaller?hl=en -~----------~----~----~----~------~----~------~--~---
