[Tilesathome] tilesathome rmtree issue on Windows
Dirk-Lüder Kreie
osm-list at deelkar.net
Thu Sep 4 20:23:04 BST 2008
Ed Loach schrieb:
>> I've made another change to try and confirm this; I'm changing
>> the
>> delay to 30 seconds and during that delay I will try and delete
>> the
>> file. I've also changed the bit above to:
>> my $Image = newFromPng GD::Image($File);
>> open(PNG, $File) || die;
>> close(PNG);
>>
>> I'll test it when (if) the upload queue ever lets me upload the
>> current result ready to restart the program to try the changed
>> version.
>
> The file is definitely locked after the close line. I can't delete
> it. With a further test I *can* delete it immediately before the
> newFromPng line.
Then that is either a windows bug, or a bug of your libGD-perl or
activeperl/windows.
--
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstreetmap.org/pipermail/tilesathome/attachments/20080904/330f2b51/attachment.pgp>
More information about the Tilesathome
mailing list