Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi fellow gentoo user,
- Please help fix my locale issue with systemd.
- Some programs do not start because of his (firefox/porthole) and also emerge does give me error of wrong locale.
- I used sytemd to set the locale to ENGLISCH (en) however, this seems not to be reflected by the locale setting.
- orion manuel # emerge wine
- setlocale: unsupported locale setting
- manuel@orion ~ $ locale
- 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
- 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=
- manuel@orion ~ $ firefox
- (process:424): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
- (firefox:424): Gtk-WARNING **: Locale not supported by C library.
- Using the fallback 'C' locale.
- -->>>> FIREFOX did not open and crashed imidetly
- Also:
- orion manuel # porthole
- Porthole: python version = 2.7.9 (default, Sep 4 2015, 18:00:34)
- [GCC 4.8.5]
- importing installed modules
- (process:2694): Gtk-WARNING **: Locale not supported by C library.
- Using the fallback 'C' locale.
- starting main()
- CONFIG: id initialized to 485861
- CONFIGURATION: id initialized to 486037
- PREFERENCES: id initialized to 488957
- initializing utils.__init__.py
- DEBUG: id initialized to 489508
- UTILS: mydebug.id = 489508
- PREFERENCES: imported debug.id = 489508
- BACKENDS: id initialized to 607761
- PORTAGELIB: id initialized to 608176
- STERMINAL: id initialized to 611599
- VERSION_SORT: id initialized to 626792
- PROPERTIES: id initialized to 627994
- METADATA: id initialized to 628168
- PORTAGELIB: imported portage-2.2 modules
- PORTAGELIB: portage version = 2.2.20.1
- BACKENDS: portage_lib import complete : <module 'porthole.backends.portagelib' from '/usr/lib64/python2.7/site-packages/porthole/backends/portagelib.pyc'>
- MAINWINDOW: id initialized to 933408
- DATABASE: id initialized to 943606
- PACKAGE: id initialized to 943777
- DBREADER: import id initialized to 943885
- UTILITIES: id initialized to 944303
- USERCONFIGS: id initialized to 944501
- DBREADER: DatabaseReader.id initialized to 944893
- PLUGIN: id initialized to 962983
- ADVEMERGE: id initialized to 966032
- PORTHOLE: i18n_DIR = /usr/share/locale/
- Traceback (most recent call last):
- File "/usr/bin/porthole-2.7", line 114, in <module>
- main()
- File "/usr/lib64/python2.7/site-packages/porthole/startup.py", line 169, in main
- locale.setlocale (locale.LC_ALL, '')
- File "/usr/lib64/python2.7/locale.py", line 579, in setlocale
- return _setlocale(category, locale)
- locale.Error: unsupported locale setting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement