[OSM-talk] T at H error
Brent Easton
b.easton at exemail.com.au
Sat Sep 22 11:54:20 BST 2007
*********** REPLY SEPARATOR ***********
On 22/09/2007 at 10:01 AM Andrew Luck wrote:
>I'm occasionally getting an error with the T at H client.
>
>runtime error: file osmarender/osmarender.xsl line 767 element param
> | xsltApplyXSLTTemplate: A potential infinite template recursion was
>detected.
> | You can adjust xsltMaxDepth (--maxdepth) in order to raise the
>maximum number of nested template calls and variables/params (currently
>set to 3000).
>
>After many lines of output and several hours processing, the client
>eventually exits with the following error:
>
>Splitting /tmp//21214.png_part (1 x 1)... Can't use an undefined value
>as a symbol reference at
>/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/GD/Image.pm
>line 175.
>
>This is with the current version. Can anyone offer any information on this?
I have just spent a bit of time tracking this one down in the old lowzoom.pl process. It is caused, in lowzoom, when a file fails to download due to timeout, network, or whatever and lowzoom.pl then tries to cann newForPng in GD::Image with the nonexistent file (my $Image = newFromPng GD::Image($f2, 1);). There is no check that the file downloaded correctly.
There is presumably a similiar problem in tilesgen.pl.
Regards,
Brent.
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: b.easton at uws.edu.au
More information about the talk
mailing list