orrery, $LANG, numbers format : bad numbers make orrery crash.

Yorick Moko yorickmoko at gmail.com
Tue Jan 13 12:57:47 CET 2009


just change the desktop file?
exec=LANG=C orrery -d /usr/share/orrery/  ?

On Tue, Jan 13, 2009 at 11:07 AM, Xavier Cremaschi
<omega.xavier at gmail.com> wrote:
> Hi folks, here is my problem :
>
> #echo $LANG
> fr_FR.UTF-8
>
> #orrery -d /usr/share/orrery/
> Wrong number (1) of numbers found on line 1 of
> /usr/share/orrery//orbitalElements/mercuryElements
>
> Ok so let's check this file, assuming bad packaging is unlikely to happen...
>
> #cat /usr/share/orrery/orbitalElements/mercuryElements
> 0.38709927 0.20563593  7.00497902    252.25032350 77.45779628 48.33076593
> 0.00000037 0.00001906 -0.00594749 149472.67411175  0.16047689 -0.12534081
> 0.38709843 0.20563661  7.00559432    252.25166724 77.45771895 48.33961819
> 0.00000000 0.00002123 -0.00590158 149472.67486623  0.15940013 -0.12214182
> 0.00000000 0.00000000  0.00000000      0.00000000
>
> But '.' (point) is a decimal delimiter in english cultural settings. We
> french use ',' (comma)
>
> #LANG=C orrery -d /usr/share/orrery/
> It works.
>
>
> Does someone have an idea to avoid the overriding of $LANG on the fly
> for this specific application ? A config file to tweak ?
>
> Best regards,
> Xavier Cremaschi.
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>




More information about the community mailing list