Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Michael Droettboom
Thanks. This patch looks good -- apologies for my sloppy confusion of Python/C++ deletes. I just committed this patch (r3790) with one exception: as your comment suggests, when get_image is called and image == NULL, it throws and exception. Cheers, Mike Paul Kienzle wrote: > On Wed, Sep 05,

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Paul Kienzle
On Wed, Sep 05, 2007 at 07:13:27AM -0400, Michael Droettboom wrote: > Jouni K. Seppänen wrote: > > Paul Kienzle <[EMAIL PROTECTED]> writes: > > > > [segfaults] > >> Is there something in the last couple of weeks which might cause this? > > > > Some changes in font handling caused segfaults for me

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Jouni K . Seppänen
Paul Kienzle <[EMAIL PROTECTED]> writes: > Looks like a freetype bug: the following code segfaults when linked > against libfreetype.6.3.10 but not when linked against > libfreetype.6.3.16. > > I don't understand why it is referring to 6.3.16 when 2.3.5 was released > in July 2007, unless 6.3.1

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Paul Kienzle
On Wed, Sep 05, 2007 at 01:40:02PM +0300, Jouni K. Seppänen wrote: > Paul Kienzle <[EMAIL PROTECTED]> writes: > > [segfaults] > > Is there something in the last couple of weeks which might cause this? > > Some changes in font handling caused segfaults for me, and it turned out > to be a bug in an

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Michael Droettboom
I don't think it's related. But definitely a bug... I forgot to test my baseline code with text.usetex turned on. I just submitted a fix in r3781. Cheers, Mike Manuel Metz wrote: > Don't know whether this is related, but I now get the following error: > > File > "/py.src/lib/python2.4/site-

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Manuel Metz
Don't know whether this is related, but I now get the following error: File "/py.src/lib/python2.4/site-packages/matplotlib/backends/backend_ps.py", line 669, in draw_tex w, h, bl = self.get_text_width_height_baseline(s, prop, ismath) AttributeError: RendererPS instance has no attribute 'g

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Michael Droettboom
Jouni K. Seppänen wrote: > Paul Kienzle <[EMAIL PROTECTED]> writes: > > [segfaults] >> Is there something in the last couple of weeks which might cause this? > > Some changes in font handling caused segfaults for me, and it turned out > to be a bug in an old version of freetype: > > http://artic

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Jouni K . Seppänen
Paul Kienzle <[EMAIL PROTECTED]> writes: [segfaults] > Is there something in the last couple of weeks which might cause this? Some changes in font handling caused segfaults for me, and it turned out to be a bug in an old version of freetype: http://article.gmane.org/gmane.comp.python.matplotlib.

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Michael Droettboom
It's certainly possible my text rotation changes have caused this. I did all my testing on Linux, and didn't see any problems there. It it the text_rotation.py example that segfaults for you or something else? I'll have to look into this further when I get in to work. Cheers, Mike ---

[matplotlib-devel] backend_driver errors

2007-09-04 Thread Paul Kienzle
In checking the mathtext rotation feature I found that the graph displayed fine, but python segfault'd shortly after displaying it. Most (all) examples are failing for me for svn r3778, even after rebuilding and reinstalling everything. Is there something in the last couple of weeks which might