logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [ gpsdrive ] problem with gpsdrive coord truncation and locale in SUSE1: msg#00044

Subject: Re: [ gpsdrive ] problem with gpsdrive coord truncation and locale in SUSE10.0
> After many experiments I found out that gpsdrive works in SUSE 10.0  
> if and only if the locale is set to C (in fact I set the environment  
> variable LANG to C in a bash, then called gpsdrive from that same  
> shell). Then gpsdrive (both versions) work again as they should. But, 
> of course, gpsdrive is then running in English.
> One would think if the program is translated to German it should work 
> in German...

guess:
"." becoming "," as the decimal deliminator (as per LOCALE) and then
the value gets parsed as two items... a common problem when using awk.

try this before running gpsdrive:

unset LC_ALL
export LC_NUMERIC=C


(doesn't fix the bug, but may help you work around it)


Hamish
--
This message was part of the gpsdrive mailinglist
unsubscribing can be done by sending a mail containing a body of:
-quote--
unsubscribe gpsdrive
-unquote--
to majordomo-ahljRfkWE0EwtzFM8z8+AfP6llvjuJOh@xxxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>