pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python cairo oddity



On Mon, Apr 15, 2013 at 08:24:49AM +0100, Patrick Welche wrote:
> On Mon, Feb 25, 2013 at 02:42:03PM +0000, Patrick Welche wrote:
> > % cat cairotest.py
> > import cairo
> > cairo.ImageSurface.create_from_png("/usr/X11R7/include/X11/pixmaps/NetBSD-flag.png")
> > % python2.7 cairotest.py
> > Traceback (most recent call last):
> >   File "cairotest.py", line 2, in <module>
> >     
> > cairo.ImageSurface.create_from_png("/usr/X11R7/include/X11/pixmaps/NetBSD-flag.png")
> > MemoryError
> > 
> > of course both cairo and libpng changed since the last time I tried 
> > something
> > like this and it worked... (NetBSD-current/amd64)
> 
> 
> This is fixed in libpng 1.6.2beta01 [April 14, 2013]:
> 
>   Corrected the test on user transform changes on read. It was in the
>     png_set of the transform function, but that doesn't matter unless the
>     transform function changes the rowbuf size, and that is only valid if
>     transform_info is called.
> 
> Import a beta into pkgsrc?

Hmmm

% ./cairotest
cairo no memory

so maybe not fixed yet...


Home | Main Index | Thread Index | Old Index