Advertisement
Guest User

locale

a guest
Sep 5th, 2015
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.41 KB | None | 0 0
  1. Hi fellow gentoo user,
  2.  
  3. Please help fix my locale issue with systemd.
  4.  
  5. Some programs do not start because of his (firefox/porthole) and also emerge does give me error of wrong locale.
  6.  
  7. I used sytemd to set the locale to ENGLISCH (en) however, this seems not to be reflected by the locale setting.
  8.  
  9. orion manuel # emerge wine
  10. setlocale: unsupported locale setting
  11.  
  12.  
  13.  
  14. manuel@orion ~ $ locale
  15. locale: Cannot set LC_CTYPE to default locale: No such file or directory
  16. locale: Cannot set LC_MESSAGES to default locale: No such file or directory
  17. locale: Cannot set LC_ALL to default locale: No such file or directory
  18. LANG=de_DE.UTF-8
  19. LC_CTYPE="de_DE.UTF-8"
  20. LC_NUMERIC=de_DE.UTF-8
  21. LC_TIME=de_DE.UTF-8
  22. LC_COLLATE=de_DE.UTF-8
  23. LC_MONETARY=de_DE.UTF-8
  24. LC_MESSAGES="de_DE.UTF-8"
  25. LC_PAPER="de_DE.UTF-8"
  26. LC_NAME="de_DE.UTF-8"
  27. LC_ADDRESS="de_DE.UTF-8"
  28. LC_TELEPHONE="de_DE.UTF-8"
  29. LC_MEASUREMENT=de_DE.UTF-8
  30. LC_IDENTIFICATION="de_DE.UTF-8"
  31. LC_ALL=
  32. manuel@orion ~ $ firefox
  33.  
  34. (process:424): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
  35.  
  36. (firefox:424): Gtk-WARNING **: Locale not supported by C library.
  37. Using the fallback 'C' locale.
  38.  
  39. -->>>> FIREFOX did not open and crashed imidetly
  40.  
  41. Also:
  42.  
  43. orion manuel # porthole
  44. Porthole: python version = 2.7.9 (default, Sep 4 2015, 18:00:34)
  45. [GCC 4.8.5]
  46. importing installed modules
  47.  
  48. (process:2694): Gtk-WARNING **: Locale not supported by C library.
  49. Using the fallback 'C' locale.
  50. starting main()
  51. CONFIG: id initialized to 485861
  52. CONFIGURATION: id initialized to 486037
  53. PREFERENCES: id initialized to 488957
  54. initializing utils.__init__.py
  55. DEBUG: id initialized to 489508
  56. UTILS: mydebug.id = 489508
  57. PREFERENCES: imported debug.id = 489508
  58. BACKENDS: id initialized to 607761
  59. PORTAGELIB: id initialized to 608176
  60. STERMINAL: id initialized to 611599
  61. VERSION_SORT: id initialized to 626792
  62. PROPERTIES: id initialized to 627994
  63. METADATA: id initialized to 628168
  64. PORTAGELIB: imported portage-2.2 modules
  65. PORTAGELIB: portage version = 2.2.20.1
  66. BACKENDS: portage_lib import complete : <module 'porthole.backends.portagelib' from '/usr/lib64/python2.7/site-packages/porthole/backends/portagelib.pyc'>
  67. MAINWINDOW: id initialized to 933408
  68. DATABASE: id initialized to 943606
  69. PACKAGE: id initialized to 943777
  70. DBREADER: import id initialized to 943885
  71. UTILITIES: id initialized to 944303
  72. USERCONFIGS: id initialized to 944501
  73. DBREADER: DatabaseReader.id initialized to 944893
  74. PLUGIN: id initialized to 962983
  75. ADVEMERGE: id initialized to 966032
  76. PORTHOLE: i18n_DIR = /usr/share/locale/
  77. Traceback (most recent call last):
  78. File "/usr/bin/porthole-2.7", line 114, in <module>
  79. main()
  80. File "/usr/lib64/python2.7/site-packages/porthole/startup.py", line 169, in main
  81. locale.setlocale (locale.LC_ALL, '')
  82. File "/usr/lib64/python2.7/locale.py", line 579, in setlocale
  83. return _setlocale(category, locale)
  84. locale.Error: unsupported locale setting
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement