error with embedding_in_wx.py

I am using the latest CVS release of matplotlib from

    > sourceforge, and when I try to run the wx backend example I
    > get

    > gyrotwystron examples # python embedding_in_wx.py Could not
    > import mathtext (build with ft2font)

    > GThread-ERROR **: GThread system may only be initialized
    > once. aborting... Aborted

    > The gtk backend examples work fine (although I still get the
    > mathtext warning). I have python 2.3 and wxPython 2.4.2.4 on
    > a gentoo linux system.

Not sure why you get this - Jeremy may be working on porting mathtext
to WX. The 0.51 release is quite current, so unless you are looking
for a specific feature from CVS I suggest you use that distribution
since there are extra problems you'll encounter trying to build from
CVS (see my last response to Andrew for details).

If you want to clear up the cannot import mathtext problem, set
BUILD_FT2FONT to True in setup.py before building.

JDH

I get the error even using 0.51. Maybe my wxPython is
broken. Do you know of a way I can test it?

Thanks.
jgw

···

I am using the latest CVS release of matplotlib from
sourceforge, and when I try to run the wx backend example I
get

gyrotwystron examples # python embedding_in_wx.py Could not
import mathtext (build with ft2font)

GThread-ERROR **: GThread system may only be initialized John>

once. aborting... Aborted

The gtk backend examples work fine (although I still get the
mathtext warning). I have python 2.3 and wxPython 2.4.2.4 on
a gentoo linux system.

Not sure why you get this - Jeremy may be working on porting mathtext to
WX. The 0.51 release is quite current, so unless you are looking for a
specific feature from CVS I suggest you use that distribution since
there are extra problems you'll encounter trying to build from CVS (see
my last response to Andrew for details).

If you want to clear up the cannot import mathtext problem, set
BUILD_FT2FONT to True in setup.py before building.

JDH