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

spaetz osm at sspaeth.de
Wed Aug 27 18:04:38 BST 2008


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




More information about the Tilesathome mailing list