The segfault I reported on was on home computer. Today at work I tried the same installer and it works fine on my work machine. I performed the tests (though I doubt they're relevant since TkAgg works) and came up with:

python myscript.py -dTkAgg

works (at work)

python myscript.py -dWXAgg

I don't have wxPython installed so it fails as expected.

python myscript.py -dAgg

Works but I have no idea where the output goes.

python myscript.py -dmacosx

Works.

I can try more tests at home, but not until this evening. My *guess* based on past experience with matplotlib segfaults in TkAgg is that all those tests will pass except TkAgg, and that TkAgg will work if I move my /Library/Frameworks Tcl/Tk aside.

-- Russell

On Aug 5, 2009, at 3:27 AM, John Hunter wrote:

On Tue, Aug 4, 2009 at 11:04 PM, Russell Owen<ro...@u.washington.edu> wrote:

Thank you very much. Unfortunately it doesn't work for me. Trying to import pylab results in a bus error (I appended the log in case it has anything
useful in it).

My configuration:
- Intel Mac
- MacOS X 10.5.7
- Python 2.5.2 (in /Library/Frameworks... from python.org)
- Tcl/Tk 8.4.19 (in /Library/Frameworks... from ActiveState)
- this occurs with or without a ~/.matplotlib/matplotlibrc file (that uses
TkAgg) and with or without a ~/.matplotlib directory at all
I have confirmed that Tkinter works fine.\

Can you create a small test script that creates an mpl figure and
saves it with savefig, and run it with

python myscript.py -dTkAgg

python myscript.py -dWXAgg

python myscript.py -dAgg

python myscript.py -dmacosx

and let me know if all segfault, and if not, which ones do?

JDH

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to