LINUX.ORG.RU

проблема с локалью или python (gajim)


0

0

Gajim не запускаеться, вот что пишет:

$ gajim

(gajim.py:25660): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Traceback (most recent call last):
  File "gajim.py", line 36, in ?
    import message_control
  File "/usr/share/gajim/src/message_control.py", line 16, in ?
    import gtkgui_helpers
  File "/usr/share/gajim/src/gtkgui_helpers.py", line 27, in ?
    import vcard
  File "/usr/share/gajim/src/vcard.py", line 26, in ?
    import dialogs
  File "/usr/share/gajim/src/dialogs.py", line 29, in ?
    import conversation_textview
  File "/usr/share/gajim/src/conversation_textview.py", line 32, in ?
    import tooltips
  File "/usr/share/gajim/src/tooltips.py", line 26, in ?
    from common import gajim
  File "/usr/share/gajim/src/common/gajim.py", line 24, in ?
    import config
  File "/usr/share/gajim/src/common/config.py", line 23, in ?
    import i18n
  File "/usr/share/gajim/src/common/i18n.py", line 38, in ?
    locale.setlocale(locale.LC_ALL, '')
  File "/usr/lib/python2.4/locale.py", line 381, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting

Локаль:
$ 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=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8

wtf?
★★★

Ответ на: комментарий от eXire

Спасибо. В /etc/locale.gen всё закомментировано было.

shuthdar ★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.