I've been having some trouble with compiling matplotlib on Snow Leopard. I
managed to get rid of all my old problems by recompiling everything with
gcc-4.2.

But now when I import matplotlib.pyplot I get an Abort trap message and
python quits. Here is part of the error message I get:

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libSystem.B.dylib                 0x00007fff84a893d6 __kill + 10
1   libSystem.B.dylib                 0x00007fff84b29972 abort + 83
2   libgcc_s.1.dylib                  0x0000000100487d51 uw_init_context_1 +
385
3   libgcc_s.1.dylib                  0x00000001004884cc _Unwind_Resume + 76
4   ft2font.so                        0x00000001017b046d
FT2Font::FT2Font(std::string) + 4269 (Extensions.hxx:629)
5   ft2font.so                        0x00000001017b0af8
ft2font_module::new_ft2font(Py::Tuple const&) + 408 (ft2font.cpp:1728)
6   ft2font.so                        0x00000001017b3d52
Py::ExtensionModule<ft2font_module>::invoke_method_varargs(std::string
const&, Py::Tuple const&) + 162 (Extensions.hxx:422)
7   ft2font.so                        0x00000001017c25a0
method_varargs_call_handler + 512

It seems like freetype is the problem and from a little googling I see that
the sage developers also had a problem with this. Does anyone know how to
fix this?

Thanks,

-Ranjit
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to