[Tilesathome] [OSM-talk] T at H error

Brent Easton b.easton at exemail.com.au
Sun Sep 30 04:24:40 BST 2007


>> 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've been getting the same error, every time I leave the client for a
>few hours, then go back and check on it. It means that my client stops
>working. I wonder if something could trap errors like this, report back
>to the server some debugging information, then allow the client to carry
>on with the next tile, rather than the program die and then sit around
>doing nothing. Also the server could then know that the tile is a
>problem tile, and not just retry after a timeout delay.

This particular error is a result of calling 

  newFromPng GD::Image($File)

with a file name that does not exist, probably at tilesgen.pl/1175.

It looks like this will happen if Inkscape fails to create a rendered png file in svg2png(). 

svg2png() checks that Inkscape returns cleanly, but does not check that it actually creates a file. I guess that shouldn't happen!


____________________________________________________________
Brent Easton                       
Analyst/Programmer                               
University of Western Sydney                                   
Email: b.easton at uws.edu.au





More information about the Tilesathome mailing list