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
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to