Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Eric Firing
Wayne, I'm stumped. Do you get a segfault only with the gui backend? Can you you do this: import matplotlib matplotlib.use('Agg') import pylab pylab.plot([1,2,3]) pylab.savefig('test.png') Eric Wayne E. Harlan wrote: > Eric Firing wrote: >> If a straightforward plotting sequence, such as o

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Michael Droettboom
I'll second Eric's suggestion. It might also help to have a backtrace from gdb in addition to your strace output. Cheers, Mike Wayne E. Harlan wrote: > Eric Firing wrote: >> If a straightforward plotting sequence, such as one of the examples, >> does this, then it sounds like a broken installa

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Wayne E. Harlan
Eric Firing wrote: Wayne, I'm stumped. Do you get a segfault only with the gui backend? Can you you do this: import matplotlib matplotlib.use('Agg') import pylab pylab.plot([1,2,3]) pylab.savefig('test.png') Eric OK, this worked. I have attached the test,png file that resulted. But

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Eric Firing
Wayne, Segfaults are generally caused by problems in extension code or libraries. The fact that the plotting works with a non-gui backend indicates that the problem is not in matplotlib's transform or Agg extension code, or in the bits of numpy code that get used along the way. I was pretty

Re: [Matplotlib-users] CVS ?

2007-10-03 Thread Wayne E. Harlan
Eric: First thanks for all the help. Here's the scoop after I replied to your earlier post. I thought a bit about the sense of where you were going (it always helps to think a bit). So I decided to try compiling matplotlib with the GTK backend instead of Tk. I have gtk-2.11.5. So I did s