|
From: John H. <jdh...@ac...> - 2004-07-27 18:38:48
|
>>>>> "Stefan" == Stefan Kuzminski <pon...@ya...> writes:
Stefan> Hi, I upgraded to libpng v1.2.5 from v1.0.14. ( on a
Stefan> linux box, using Agg backend and matplotlib v0.54.2 ) Now
Stefan> I get this Runtime error thrown at _backend_agg.cpp line
Stefan> 948
Stefan> png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING,
Stefan> NULL, NULL, NULL); if (png_ptr == NULL) { fclose(fp);
Stefan> throw Py::RuntimeError("could not create write struct");
Stefan> }
Stefan> Has anyone seen this?
I just tried a built both matplotlib 0.54.2 and CVS against
libpng1.2.5 and was able to save an agg png w/o incident. Make sure
you are not getting old png headers, have a clean matplotlib build,
run ldconfig, etc...
JDH
|