[Tilesathome] tilesathome rmtree issue on Windows

Rob Reid rob at robreid.co.nz
Fri Sep 5 02:56:09 BST 2008


Rob Reid wrote the following on 05/09/2008 11:45:
> 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.
>   
Since the servers are down I just tried it out myself,
Installed ActivePerl 5.8.8 Build 822/GD ver. = 2.35, which is what I 
used last time i tried, and ran my test script which failed to delete 
the test png.
Uninstalled them and installed ActivePerl 5.10.0 Build 1003 which 
includes GD ver.2.39 and ran my test script which successfully deleted 
the test png.

Cheers

rcr
 





More information about the Tilesathome mailing list