Ticket #973 (new defect)
orrery fails to start when locale set
| Reported by: | Davide | Owned by: | spaetz |
|---|---|---|---|
| Priority: | major | Milestone: | wishlist |
| Component: | Feed packages | Version: | SHR-unstable |
| Keywords: | Cc: |
Description
If I try to start orrery from shr-u feeds with locale set to gl_ES.UTF-8 or es_ES.UTF-8, I get the following error:
root@om-gta02 ~ $ opkg install orrery Installing orrery (2.7-r0.4) to root... Downloading http://build.shr-project.org/shr-unstable/ipk//armv4t/orrery_2.7-r0.4_armv4t.ipk Configuring orrery root@om-gta02 ~ $ locale LANG=gl_ES.UTF-8 LC_CTYPE="gl_ES.UTF-8" LC_NUMERIC="gl_ES.UTF-8" LC_TIME="gl_ES.UTF-8" LC_COLLATE="gl_ES.UTF-8" LC_MONETARY="gl_ES.UTF-8" LC_MESSAGES="gl_ES.UTF-8" LC_PAPER="gl_ES.UTF-8" LC_NAME="gl_ES.UTF-8" LC_ADDRESS="gl_ES.UTF-8" LC_TELEPHONE="gl_ES.UTF-8" LC_MEASUREMENT="gl_ES.UTF-8" LC_IDENTIFICATION="gl_ES.UTF-8" LC_ALL= root@om-gta02 ~ $ orrery Wrong number (1) of numbers found on line 1 of /usr/share/orrery/orbitalElements/mercuryElements root@om-gta02 ~ $
When locale is set to C, orrery starts perfectly:
root@om-gta02 ~ $ export LC_ALL=C root@om-gta02 ~ $ locale LANG=gl_ES.UTF-8 LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C root@om-gta02 ~ $ orrery root@om-gta02 ~ $
Change History
comment:2 Changed 2 years ago by elhennig
That's probably the reason why orrery is started through orrery.sh
$ more /usr/bin/orrery.sh #!/bin/sh unset LC_ALL unset LANG /usr/bin/orrery -d /usr/share/orrery
comment:3 follow-up: ↓ 5 Changed 2 years ago by Davide
No, mine (SHR-u feeds one) is not started from orrery.sh:
root@om-gta02 ~ $ more /usr/bin/orrery.sh more: /usr/bin/orrery.sh: No such file or directory
Which one are you using?
comment:4 Changed 2 years ago by Davide
I think they are aware of the problem, but it's supossed to be solved on 2.7. Conversation on http://www.opkg.org/package_9.html
Frank wrote: (2009-09-18 22:36:31) If I start on Terminal, get "Wrong number (1) of numbers found on line 1 of /media/card/orrery/orbitalElements/mercury/Elements" KenYoung wrote: (2009-09-20 01:26:53) Frank - If you send your email address to orrery.moko@gmail.com, I could send you a version which might solve the problems you mention above. I'd like to get to the root of the problem you are reporting. KenYoung wrote: (2009-12-01 05:58:09) The problem Frank mentioned above is fixed in version 2.7 elhennig wrote: (2009-12-01 10:27:27) The problem with orrery crashing when started through illume icon is still there. orrery 2.7 works well, if you start it from ssh. The error is still "Wrong number (1) of numbers found on line 1 of /media/card/orrery/orbitalElements/mercury/Elements"
I can't reach http://projects.openmoko.org/projects/orrery/, might be there is more information on project page...
Note: See
TracTickets for help on using
tickets.

This sounds like an upstream issue, have you tried contacting them?