[Tilesathome] Problem under windows again

Carsten Möller cmindividual at gmx.de
Sat Aug 23 22:41:08 BST 2008


spaetz schrieb:
> On Sat, Aug 23, 2008 at 07:30:14PM +0200, Carsten M?ller wrote:
> 
>>>>> [#0   0% zipping] tile_12_673_2092.dir compressed by different process. 
>>>> the last 2 lines are crucial. they show that the 'flock' command failed. this happens in http://trac.openstreetmap.org/browser/applications/rendering/tilesAtHome/Upload.pm line 103.
> 
>> I've just debugged it in EPIC.
>> Seems it is the system call to compress.pl
>> in tilesGen.pl line 481.
> 
> oh, you are right of course. it's still in the zipping phase, so it would happen in the call to compress.pl. the problem is the same, however. the flock code there looks virtually the same.
> 
> after having rendered a tileset, eg with './tilesGen.pl' without command line options, you can manually run 'perl upload.pl' inn a debugger to see just that piece of code in action. good luck.
> 
> otherwise, i'll just insert a check on monday to skip that on win platforms to make it run again.
> 

Hey Spaetz,

there seems another problem!
I modified the tilesGen.pl and compress.pl so that $flock always returns 
  true. Everything worked fine. The tiles looked great but in the end I 
got this:

Everything is Ok
[#0   0% zipping] done
[#0   0% upload] 3 zip files to upload...
[#0   0% upload] Checking server queue...
[#0   0% upload] Uploading _9433_1636_0_captionless_tileset.zip...
uploaded _9433_1636_0_captionless_tileset.zip: sleeping 0 seconds
[#0  33% upload] 3 zip files to upload...
[#0  33% upload] Checking server queue...
[#0  33% upload] Uploading _9433_1636_1_tile_tileset.zip...
uploaded _9433_1636_1_tile_tileset.zip: sleeping 0 seconds
[#0  67% upload] 3 zip files to upload...
[#0  67% upload] Checking server queue...
[#0  67% upload] Uploading _9433_1636_2_maplint_tileset.zip...
uploaded _9433_1636_2_maplint_tileset.zip: sleeping 0 seconds
[#0 100% upload] uploaded 3 zip files
XX|4|form is not valid. <ul class="errorlist"><li>file<ul 
class="errorlist"><li>The submitted file i
s empty.</li></ul></li></ul>XX|4|form is not valid. <ul 
class="errorlist"><li>file<ul class="errorli
st"><li>The submitted file is empty.</li></ul></li></ul>XX|4|form is not 
valid. <ul class="errorlist
"><li>file<ul class="errorlist"><li>The submitted file is 
empty.</li></ul></li></ul>





More information about the Tilesathome mailing list