[Tilesathome] Problem under windows again

Carsten Möller cmindividual at gmx.de
Sat Aug 23 23:39:06 BST 2008


Carsten Möller schrieb:
> 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>
> 
> 

Sorry, but I've found another one.
On my test environment (LocalSlippyMap ZoomLevel 15)
a 10574.png is created, but as a directory, not as a file!!!

My Log:

- Using working directory C:\OSM\tilesAtTest\temp
- Using process log file ..\tilesAtTest\tah-process.log
- Writing LOCAL slippy map directory hierarchy, no uploading
- Using Batik in jar mode
- rendering using or/p
- going to use pngcrush
- Pngcrush version 1.6.4
- pngnq version 0.5
- Using http://tah.openstreetmap.org/Request/take/ for Requests
done, 10 bytes
This is version 10071 (Rapperswil) of tilesgen running on MSWin32, ID: 6805
[#1   0% jobinit] Doing tileset (15,17275,10574) (area around 
53.654405,9.794312)
[#1   0% Preproc] Downloading: Map data for captionless,tile,maplint...
Download
http://www.openstreetmap.org/api/0.5/map?bbox=9.783325,53.650043,9.805298,53.658768
done, 215952 bytes
[#1   0% Preproc] Checking for UTF-8 errors in 
C:\OSM\tilesAtTest\temp\data-3472.osm...
015        17275,10574: 53.65 - 53.66, 9.79 - 9.80
[#1   0% captionless] Running close-areas...
015        17275,10574: 53.65 - 53.66, 9.79 - 9.80
[#1   0% tile] Transforming zoom level 15 with or/p...
[#1   0% tile] Beziercurvehinting zoom level 15...
[#1   0% tile] Transforming zoom level 16 with or/p...
[#1   0% tile] Beziercurvehinting zoom level 16...
[#1   0% tile] Transforming zoom level 17 with or/p...
[#1   0% tile] Beziercurvehinting zoom level 17...
Tilestripe 10574 (17275,10574): Lat 53.658,53.651, Long 9.789,9.800, X 
0.0,151.7, Y 0.0,151.7
[#1   0% tile] Rendering...

   java -Xms256M -Xmx1350M -jar 
C:\Programme\batik-1.7\batik-rasterizer.jar -w 256 -h 256 -a 0.000000
,0.000000,151.737692,151.737692 -m image/png -d 
"C:\OSM\tilesAtTest\temp\3472\3472_part-SUXd6H.png"
"C:\OSM\tilesAtTest\temp\output-3472-z15.svg" > 
C:\OSM\tilesAtTest\temp\3472-oK9zbi.stdout
[#1   0% tile] Splitting 
C:\OSM\tilesAtTest\temp\3472\3472_part-SUXd6H.png (1 x 1)...
[#1   0% tile]  -> 10574.png...

WriteImage:could not open file for writing, exiting






More information about the Tilesathome mailing list