From: Michael D. <md...@st...> - 2009-10-12 14:12:21
|
Cédrick FAURY wrote: > Hello, > > I did an application that uses bitmaps constructed with MathTextParser > as described in the example > http://matplotlib.sourceforge.net/examples/user_interfaces/mathtext_wx.html > (I work with Windows XP, python 2.5, Matplotlib 0.98.5 and wxPython > 2.8.10.1) > > After making a lot of these bitmaps (from about 50 to 150...) the > program crash as described in the thread > [matplotlib-devel] Fontcache problem on windows > <http://www.mail-archive.com/mat...@li.../msg02353.html>. I don't think these problems are related. One is a cache of math expression images, the other is a cache of fonts. I am unable to reproduce this on Matplotlib 0.98.5.3 on Linux (don't have a Windows box handy). Can you run the attached script (which is just a modification of mathtext_wx.py to generate 60 different math expressions, and let me know if that crashes for you? If not, we need to track down the difference between what this script does and what yours does that causes the crash. Can you share a minimal script that reproduces the bug? It would also be useful to see a traceback (you may need to run your script from the commandline in Windows rather than double-clicking, in order to get the full traceback output). Thanks, Mike -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |