Re: [mapserver-users] Mapcache Seed / libpng error?
Andrew, I was unable to reproduce the issue with your test case. Using the trunk mapserver version, I successfully seeded levels 6 and 7. Can you try with the trunk version on your system, there have been some changes in the cairo font rendering code that might fix the issue you encountered. regards, thomas On Thu, Feb 16, 2012 at 22:57, Andrew Cowie cow...@landcareresearch.co.nz wrote: Ticket created: http://trac.osgeo.org/mapserver/ticket/4192 -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Wednesday, 15 February 2012 10:43 p.m. To: Andrew Cowie Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapcache Seed / libpng error? Is the error always reproducible ? From the logs it seems that the png data received by mapcache from the wms server is corrupt. More investigation would be needed to determine if the network or the wms server is at fault for this. regards, -- thomas On Wed, Feb 15, 2012 at 04:45, Andrew Cowie cow...@landcareresearch.co.nz wrote: Hello List, We’ve been using mapcache_seed ( mapcache SVN checkout 13002 ) to build our caches mostly successfully so far, but recently have come up against an error which has only cropped up with a certain layer which includes our text labels www-data@server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 7,8 found old lockfile /tmp/_gc_lock9-175-1233-slope_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock7-7-9-2012-02-02_text_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-136-179-terr_auth_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-138-86-wards_cache_nztm.lck, deleting it seeding tile 65 25 7libpng error: IDAT: CRC error failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile seeding tile 130 50 8 www-data@server$ or... www-data@server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 6,7 found old lockfile /tmp/_gc_lock9-137-51-terr_auth_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-182-1201-slope_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-138-197-wards_cache_nztm.lck, deleting it seeding tile 25 15 6libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng error: IDAT: CRC error failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile seeding tile 50 35 7failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile www-data@server$ The next step will be to checkout the latest SVN version. But we are currently mid-build with some other layers, so are waiting for them to finish before we do that. But thought we’d fire it out to the list to see if anyone has any ideas as to what might be causing this? Below is the mapcache config: source name=src_text_update type=wms http urlhttp://server/cgi-bin/mapserv601?/url /http getmap params FORMATimage/png/FORMAT LAYERStext/LAYERS MAP/opt/mapserver/mapfiles/m6scenz_topo_new.map/MAP TRANSPARENTtrue/TRANSPARENT /params /getmap /source tileset name=2012-02-02_text_cache_nztm sourcesrc_text_update/source cachedisk/cache formatPNG/format gridportalgridnztm1/grid metatile5 5/metatile metabuffer10/metabuffer /tileset labelcache_map_edge_buffer -10 is set in mapserver WEB METADATA
RE: [mapserver-users] Mapcache Seed / libpng error?
Ticket created: http://trac.osgeo.org/mapserver/ticket/4192 -Original Message- From: thomas bonfort [mailto:thomas.bonf...@gmail.com] Sent: Wednesday, 15 February 2012 10:43 p.m. To: Andrew Cowie Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Mapcache Seed / libpng error? Is the error always reproducible ? From the logs it seems that the png data received by mapcache from the wms server is corrupt. More investigation would be needed to determine if the network or the wms server is at fault for this. regards, -- thomas On Wed, Feb 15, 2012 at 04:45, Andrew Cowie cow...@landcareresearch.co.nz wrote: Hello List, We’ve been using mapcache_seed ( mapcache SVN checkout 13002 ) to build our caches mostly successfully so far, but recently have come up against an error which has only cropped up with a certain layer which includes our text labels www-data@server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 7,8 found old lockfile /tmp/_gc_lock9-175-1233-slope_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock7-7-9-2012-02-02_text_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-136-179-terr_auth_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-138-86-wards_cache_nztm.lck, deleting it seeding tile 65 25 7libpng error: IDAT: CRC error failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile seeding tile 130 50 8 www-data@server$ or... www-data@server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 6,7 found old lockfile /tmp/_gc_lock9-137-51-terr_auth_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-182-1201-slope_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-138-197-wards_cache_nztm.lck, deleting it seeding tile 25 15 6libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng error: IDAT: CRC error failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile seeding tile 50 35 7failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile www-data@server$ The next step will be to checkout the latest SVN version. But we are currently mid-build with some other layers, so are waiting for them to finish before we do that. But thought we’d fire it out to the list to see if anyone has any ideas as to what might be causing this? Below is the mapcache config: source name=src_text_update type=wms http urlhttp://server/cgi-bin/mapserv601?/url /http getmap params FORMATimage/png/FORMAT LAYERStext/LAYERS MAP/opt/mapserver/mapfiles/m6scenz_topo_new.map/MAP TRANSPARENTtrue/TRANSPARENT /params /getmap /source tileset name=2012-02-02_text_cache_nztm sourcesrc_text_update/source cachedisk/cache formatPNG/format gridportalgridnztm1/grid metatile5 5/metatile metabuffer10/metabuffer /tileset labelcache_map_edge_buffer-10is set in mapserver WEB METADATA Cheers Andrew Please consider the environment before printing this email Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails. The views expressed
Re: [mapserver-users] Mapcache Seed / libpng error?
Is the error always reproducible ? From the logs it seems that the png data received by mapcache from the wms server is corrupt. More investigation would be needed to determine if the network or the wms server is at fault for this. regards, -- thomas On Wed, Feb 15, 2012 at 04:45, Andrew Cowie cow...@landcareresearch.co.nz wrote: Hello List, We’ve been using mapcache_seed ( mapcache SVN checkout 13002 ) to build our caches mostly successfully so far, but recently have come up against an error which has only cropped up with a certain layer which includes our text labels www-data@server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 7,8 found old lockfile /tmp/_gc_lock9-175-1233-slope_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock7-7-9-2012-02-02_text_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-136-179-terr_auth_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-138-86-wards_cache_nztm.lck, deleting it seeding tile 65 25 7libpng error: IDAT: CRC error failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile seeding tile 130 50 8 www-data@server$ or... www-data@server$ ./mapcache_seed -c /opt/mapserver/mapcache/oe_mapcache.xml -t 2012-02-02_text_cache_nztm -g portalgridnztm1 -z 6,7 found old lockfile /tmp/_gc_lock9-137-51-terr_auth_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-182-1201-slope_cache_nztm.lck, deleting it found old lockfile /tmp/_gc_lock9-138-197-wards_cache_nztm.lck, deleting it seeding tile 25 15 6libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng warning: Ignoring bad adaptive filter type libpng error: IDAT: CRC error failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile seeding tile 50 35 7failed to setjmp(png_jmpbuf(png_ptr)) failed to load image data from metatile www-data@server$ The next step will be to checkout the latest SVN version. But we are currently mid-build with some other layers, so are waiting for them to finish before we do that. But thought we’d fire it out to the list to see if anyone has any ideas as to what might be causing this? Below is the mapcache config: source name=src_text_update type=wms http urlhttp://server/cgi-bin/mapserv601?/url /http getmap params FORMATimage/png/FORMAT LAYERStext/LAYERS MAP/opt/mapserver/mapfiles/m6scenz_topo_new.map/MAP TRANSPARENTtrue/TRANSPARENT /params /getmap /source tileset name=2012-02-02_text_cache_nztm sourcesrc_text_update/source cachedisk/cache formatPNG/format gridportalgridnztm1/grid metatile5 5/metatile metabuffer10/metabuffer /tileset labelcache_map_edge_buffer -10 is set in mapserver WEB METADATA Cheers Andrew Please consider the environment before printing this email Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails. The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users