Re: [qtmoko] locale follow up

2012-08-30 Thread robin
[SOVLED]

!!! qtmoko and the underlying debian have two locale  !!!
you can check this if you set the locale via ssh and then open QX from
the touchscreen and launch xterm, type locale and now if you for example
have set the qtmoko language via touchscreen to german you will see the
german locale settings and on the underlying debian system you e.g. see 
the us setting to solve this

!!! make sure the qtmoko language is set via the touchscreen to en_US !!!
and then ssh in your phone and do the following

apt-get install locales
localedef -i en_US -c -f UTF-8 en_US.UTF-8

cat /etc/default/locale
LANG=en_US.UTF-8
LC_ALL=

reboot



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[qtmoko] locale follow up

2012-08-29 Thread robin
maybe someone can help me with my locale problem

 perl: warning: Please check that your locale settings:
 LANGUAGE = (unset),
 LC_ALL = (unset),
 LANG = de_DE.UTF-8
 are supported and installed on your system.

on qtmoko v47 I did the following and this is the output

# apt-get install python-pyasn1
Reading package lists... Done
Building dependency tree   
Reading state information... Done
The following NEW packages will be installed:
  python-pyasn1
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.9 kB of archives.
After this operation, 299 kB of additional disk space will be used.
Get:1 http://cdn.debian.net/debian/ squeeze/main python-pyasn1 all 0.0.11a-1
[31.9 kB]
Fetched 31.9 kB in 0s (82.7 kB/s)   
yperl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = de_DE.UTF-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package python-pyasn1.
(Reading database ... 20963 files and directories currently installed.)
Unpacking python-pyasn1 (from .../python-pyasn1_0.0.11a-1_all.deb) ...
Setting up python-pyasn1 (0.0.11a-1) ...
Processing triggers for python-support ...
# anki
Traceback (most recent call last):
  File /usr/bin/anki, line 14, in module
import anki, aqt
  File /usr/share/anki/libanki/anki/__init__.py, line 12, in module
raise Exception(Anki requires a UTF-8 locale.)
Exception: Anki requires a UTF-8 locale.
# 


on my desktop machine where I do not get any errors from anki I have the 
following :

LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=


any hints? (as mentioned earlier dpkg-reconfigure locale solves this but
then I have huge fonts and apparently gps in neron gps is not working 
anymore).

thanks a lot


robin


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community