[Tilesathome] tilesathome rmtree issue on Windows
Rob Reid
rob at robreid.co.nz
Fri Sep 5 00:45:56 BST 2008
Ed Loach wrote the following on 05/09/2008 10:51:
> Rob wrote:
>
>> I did some de-bugging along the same lines some time ago and
>> reached a
>> similar conclusion.
>>
>
> Thanks. I've got a 5.10 Perl/ 1.06 GD based Windows version now
> waiting for the tah server to be available for testing. I tried
> using Rob's script as a test but don't know enough Perl to
> understand what it means about loading GD::Image (or not having done
> so).
>
My test script does not really do much, it just reads the png into
memory but does not do anything with it. The point being just reading it
into memory, which you would expect to be a read-only procedure, appears
to somehow lock the file and stop it subsequently being deleted.
To test the script on your new versions of perl and GD just change the
'my $File = ' line to point to a test .png file and run it. If the test
.png gets deleted then the problem is resolved, if it does not then the
problem still exists.
rcr
More information about the Tilesathome
mailing list