[Tilesathome] Some bugs on Windows still there (maybe found the error!)
Carsten Möller
cmindividual at gmx.de
Wed Aug 27 17:43:48 BST 2008
spaetz schrieb:
>> Can you try "rename" instead of "move"?
>
> rename
> Can't move directories between directories on different logical volumes. (Win32)
> (http://perldoc.perl.org/perlport.html)
>
Hey Spaetz,
maybe I've found the mistake in upload.pm.
It's not a question of "move" or "rename".
Both work!
But (in calling order) ...
* 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!
Regards
Carsten
More information about the Tilesathome
mailing list