[Tilesathome] locale problem on clients - URL broken

Alfons Andorfer a_a at gmx.de
Fri Sep 5 15:34:04 BST 2008


spaetz wrote:
> On Fri, Sep 05, 2008 at 02:15:00PM +0200, Florian Lohoff wrote:
>>> The attached small hotfix fixes the problem for me. Should work until we 
>>> find a global solution :)
> 
> Thanks for the patch, but -1 one of small hotfixes. We've had them plenty and they add upp to lots of junk over time.
> 
>> IMHO this should be the one and only setlocale call at the beginning of
>> tileGen.pl - I have no clue why anyone would want tilesGen.pl run with a
>> user set locale.
> 
> LetÃs fix this once and let's fix it the right way. Set or remove the locale once when entering tilesGen.pl and not everytime we call inkscape etc.
Would be nice if it'd be so easy...
But unfortuneatly it isn't.
Believe it or not: My patch is the simplest way to get around this!
The problem is inkscape: It needs a "," in the "export-area" parameter 
numerical values as decimal "point" in german (or durch or ...) locale!
On _all_ other places you need "." as decimal point even in german locale!

So please apply my patch to the production version, because I'm tired of 
hearing of this bug over and over again (and I'm also tired of the 
workarounds)!!!

Thanks in advance!




More information about the Tilesathome mailing list