Re: [mapserver-users] Mapcache Seed / libpng error?

2012-02-17 Thread thomas bonfort
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
 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
>  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 w

RE: [mapserver-users] Mapcache Seed / libpng error?

2012-02-16 Thread Andrew Cowie
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
 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:
>
>
>
>
>
>   
>
>  http://server/cgi-bin/mapserv601?
>
>   
>
>   
>
>  
>
> image/png
>
> text
>
> /opt/mapserver/mapfiles/m6scenz_topo_new.map
>
> true
>
>  
>
>   
>
>
>
>
>
>
>
>   src_text_update
>
>   disk
>
>   PNG
>
>   portalgridnztm1
>
>   5 5
>
>   10
>
>
>
>
>
>
>
> "labelcache_map_edge_buffer"  

Re: [mapserver-users] Mapcache Seed / libpng error?

2012-02-15 Thread thomas bonfort
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
 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:
>
>
>
>    
>
>   
>
>  http://server/cgi-bin/mapserv601?
>
>   
>
>   
>
>  
>
>     image/png
>
>     text
>
>     /opt/mapserver/mapfiles/m6scenz_topo_new.map
>
>     true
>
>  
>
>   
>
>    
>
>
>
>    
>
>   src_text_update
>
>   disk
>
>   PNG
>
>   portalgridnztm1
>
>   5 5
>
>   10
>
>    
>
>
>
>
>
> "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
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.o

[mapserver-users] Mapcache Seed / libpng error?

2012-02-14 Thread Andrew Cowie
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:

   
  
 http://server/cgi-bin/mapserv601?
  
  
 
image/png
text
/opt/mapserver/mapfiles/m6scenz_topo_new.map
true
 
  
   

   
  src_text_update
  disk
  PNG
  portalgridnztm1
  5 5
  10
   


"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