[Tilesathome] Some bugs on Windows still there (maybe found the error!)

Carsten Möller cmindividual at gmx.de
Wed Aug 27 19:06:43 BST 2008


spaetz schrieb:
> On Wed, Aug 27, 2008 at 06:43:48PM +0200, Carsten M?ller wrote:
>> * in line 102 you open the zipfile (I assume for flock)
>> * in line 115 you call upload
>> * in line 285 upload tries to move or delete the zip
>> * in line 155 you close the zipfile
>>
>> This means, the opening of a file gets a lock
>> under windows! Is this an open for writing?
>> Then it should be clear why this happens!
> 
> Good find. Locks in Windows are mandatory, meaning they can probably not be removed. On Linux they are just advisory locks, so the file can be moved anyway!
> 
> Thanks for finding this out. Now I need to think how to make this work.
> 
> spaetz
> 

Hey Spaetz, maybe this has the same origin:

...

Compressing  tile_17_67455_37790.png
Compressing  tile_17_67455_37791.png

Everything is Ok
cannot remove directory for 
C:\OSM\tilesAtLocal\temp\tile_12_2107_1180.dir: Permission denied at Com
press.pm line 119
[#0   0% compress] done

Regards

Carsten





More information about the Tilesathome mailing list