On Sat, Aug 23, 2008 at 11:41:08PM +0200, Carsten M?ller wrote:
> spaetz schrieb:
> > On Sat, Aug 23, 2008 at 07:30:14PM +0200, Carsten M?ller wrote:
> > 

> > 
> >> 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>

The uploaded filename must point to a nonexistent file then, so it uploads 
something nonexistent. perhaps you can insert  a debug printf to see what file 
it tries to uppload.

spaetz

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to