Tiny Core Base > TCB Q&A Forum

Deluge crashes and wont start when locale set to other language then English

(1/1)

ztealmax:
Deluge crashes and wont start when locale set to other language then English



--- Quote ---** (deluge:9140): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (deluge:9140): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (deluge:9140): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'

(deluge:9140): Gtk-WARNING **: Locale not supported by C library.
   Using the fallback 'C' locale.
[ERROR   ] 19:26:18 gtkui:69 Unable to initialize gettext/locale!
[ERROR   ] 19:26:18 gtkui:70 unsupported locale setting
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/deluge/ui/gtkui/gtkui.py", line 58, in <module>
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/local/lib/python2.7/locale.py", line 539, in setlocale
    return _setlocale(category, locale)
Error: unsupported locale setting
[ERROR   ] 19:26:19 daemon:107 Unable to initialize gettext/locale: unsupported locale setting
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
Aborted

--- End quote ---

im using lxde2 as my desktop most of it support my language Swedish, installed deluge-locale also

curaga:
Do you have the locale properly set up (via getlocale)?

ztealmax:
hehe hmm, guess i missed that how this that work? i just downloaded deluge-locale and getlocale
and added lang=sv kmap=sv

what else should i do? thanx

curaga:
You need to pick the correct locale in the getlocale output, it will generate you a custom locale extension and output what lang= bootcode you should use.

Your kmap code should be "kmap=qwerty/sv-latin1", BTW.

ztealmax:
thanx yea i had to go to console and type sudo getlocale.sh then it all worked out correctly
and the code at boot was lang=sv_SE.UTF-8

Thank you for the help :-)

Sincerelly
Martin

Navigation

[0] Message Index

Go to full version