On Wed, Aug 27, 2008 at 10:20:08PM +0200, Maarten Deen wrote:
> Jep, found the error. This is what Compress.pm instructs 7zip to do:
> C:\ProgramFiles\TilesAtHome\zip\7za.exe a -tzip 
> C:\temp\TaH\uploadable\_58045_260984_tile_tileset.zip 
> C:\temp\TaH\tile_12_2653_1259.dir\*.png
> (put it all on one line)
> 
> And this is what it should do:
> C:\ProgramFiles\TilesAtHome\zip\7za.exe a -tzip 
> C:\temp\TaH\uploadable\_58045_260984_tile_tileset.zip 
> C:\temp\TaH\12_2653_1259_0P0WH\tile_12_2653_1259.dir\*.png

Hold on, I have been staring for too long at this code today :-)

WHen the Tileset generation is finished, it is being moved into the 
WorkingDirectory ( C:\temp\TaH\ ). Are you saying that the ".dir" directory is 
still in the temporary job dir (C:\temp\TaH\12_2653_1259_0P0WH) after being 
finished rendering? That cannot be, as it is deleted after the rendering 
(except if debug=1).

So for all that I know this should actually be right:
> C:\ProgramFiles\TilesAtHome\zip\7za.exe a -tzip 
> C:\temp\TaH\uploadable\_58045_260984_tile_tileset.zip 
> C:\temp\TaH\tile_12_2653_1259.dir\*.png

mmh. too tired, I^'ll have a look at it tomorrow. Glad that deleting the stuff 
finally works. And yes it will still delete it even if uploads fail. It's on my 
ToDo list.

spaetz

_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome

Reply via email to