On Thu, 13 Nov 2008, Matthias Julius wrote:
Dirk Stöcker <[EMAIL PROTECTED]> writes:
On Thu, 13 Nov 2008, Łukasz Jernaś wrote:
There's no such dir - it isn't created by the unstable client. And
that is the problem (weird that nobody noticed it earlier - me
included ;) If I create that directory by hand it works fine.
But this dir was/is created by the stable client on an as needed
basis, which the unstable doesn't do - IMHO it's a regression.
Whoever removed Compress.pm forgot to move the mkdir for that to the
new places.
No, the client never created the uploadable directory on upload. It
creates it if you run it in one of the render modes, I believe. This
should probably be fixed.
sub compress() in Compress.pm:
# Create the output directory if it doesn't exist...
if( ! -d $self->{UploadDir} )
{
mkpath $self->{UploadDir};# TODO: Error handling
}
I would call that "creating on upload", as the file compression is the
first upload step as it is designed now.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
_______________________________________________
Tilesathome mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/tilesathome