[Tilesathome] deleting temp folder (was Problem under windows again)

Dirk-Lüder Kreie osm-list at deelkar.net
Wed Aug 20 22:37:50 BST 2008


Florian Lohoff schrieb:
> On Mon, Aug 11, 2008 at 12:01:36AM +0200, Peter Walser wrote:
>> This is not only a windows issue. 
>> For me as a linux user is it even more important, because the temp 
>> folder is deleted on boot per default (which is a good thing usually).
>> My personal workaround on linux is to copy the version.txt file 
>> on /etc/init.d/tiles-gen-client stop to the tilesAtHome folder and copy 
>> it back when /etc/init.d/tiles-gen-client start is executed.
>> I agree, that the file version.txt has to be in the tilesAtHome folder 
>> and not in the temp folder.
> 
> The whole working directory handling might need an think. I'd like to
> have a directory per job - probably with the x/y in the name and a pid
> or something. All files generated should stay in there - probably even
> the verbose logfile for this specific tile. You only ever delete the
> files if the job rendered successfully or the user decides it should not
> keep temp files on fail.
> 
> It would be good to have all informations temp files svgs etc in case
> something failes. Think of the gcc --save-temps.
> 
> Might also solve the multiple instances in same directory ...

The keeping of temp files is largely done by the --Debug=1 parameter.

And I do agree, the directory usage structure needs an overhaul.

-- 

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/20080820/909fd038/attachment.pgp>


More information about the Tilesathome mailing list