Hello, list!

I am trying to create a Mac application package from python modules using
matplotlib and wxpython.
Before packaging, my code generated only a user warning of multiple calls on
matplotlib.use method.
When I tried to run the application after packaging with py2app, the
application crashed with the following error message:

....
app/Contents/Resources/lib/python2.6/matplotlib/backends/backend_wx.py line
1769 in _init_toolbar ..
app/Contents/Resources/lib/python2.6/matplotlib/backends/backend_wx.py line
1609 in _load_bitmap ..
app/Contents/Resources/lib/python2.6/wx/_gdi.py line 555 in __init__ ..
PyAssertionError: C++ assertion "IsOpened()" failed at
/BUILD/wxPython-src-2.8.11.0/src/common/ffile.cpp(175)
in Seek(): can't seek on closed file

Please let me know how I can solve this problem.

Thanks in advance!

from Myunghwa Hwang

-- 
Myunghwa Hwang
GeoDa Center
School of Geographical Sciences and Urban Planning
Arizona State University
mhwa...@gmail.com or myunghwa.hw...@asu.edu
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to