View Single Post
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#419
Originally Posted by Sin View Post
Hello, didn't read whole topic but, found a "diagnosis" command and checked it to see what's wrong. My guess is my localization causes crash. It starts, at the loading screen it crashes and turn back to my desktop. Here is the output btw,

Code:
Nokia-N900:~# python /opt/SleepAnalyser/main.py
Saturday 04/23/11 00:42:46
SleepAnalyser Version: 2.1-55
Traceback (most recent call last):
  File "/opt/SleepAnalyser/main.py", line 112, in <module>
    import i18n #load language file
  File "/opt/SleepAnalyser/i18n.py", line 43, in <module>
    lc, encoding = locale.getdefaultlocale()
  File "/usr/lib/python2.5/locale.py", line 443, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.5/locale.py", line 375, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: tr_CY

Hi Sin

I tried to reproduce this error, but can't.
It looks like to me that your locale files are broken. Which language/region are you using on your phone?
Please also check the latest version of sleepanalyser and let me know if it still doesnt work.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator