Comment 5 for bug 747796

Revision history for this message
Erdem (farukerdemoncel) wrote : Re: gnome-language-selector crashes after a fresh install

Hi I meant tr_TR.UTF-8 as locale name. Also my system is already set to tr_TR.UTF-8 locale.

$ locale
LANG=tr_TR.UTF-8
LANGUAGE=tr_TR:en
LC_CTYPE="tr_TR.UTF-8"
LC_NUMERIC="tr_TR.UTF-8"
LC_TIME="tr_TR.UTF-8"
LC_COLLATE="tr_TR.UTF-8"
LC_MONETARY="tr_TR.UTF-8"
LC_MESSAGES="tr_TR.UTF-8"
LC_PAPER="tr_TR.UTF-8"
LC_NAME="tr_TR.UTF-8"
LC_ADDRESS="tr_TR.UTF-8"
LC_TELEPHONE="tr_TR.UTF-8"
LC_MEASUREMENT="tr_TR.UTF-8"
LC_IDENTIFICATION="tr_TR.UTF-8"
LC_ALL=

I updated my system as you mentioned. But the problem still exists.

$ LANG=tr_TR.UTF-8 /usr/bin/gnome-language-selector
Traceback (most recent call last):
  File "/usr/bin/gnome-language-selector", line 8, in <module>
    from LanguageSelector.gtk.GtkLanguageSelector import GtkLanguageSelector
  File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 34, in <module>
    from aptdaemon.gtk3widgets import AptProgressDialog
  File "/usr/lib/python2.7/dist-packages/aptdaemon/gtk3widgets.py", line 61, in <module>
    class AptStatusIcon(Gtk.Image):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/gtk3widgets.py", line 66, in AptStatusIcon
    def __init__(self, transaction=None, size=Gtk.IconSize.DIALOG):
AttributeError: type object 'GtkIconSize' has no attribute 'DIALOG'

And I think I don't need to set locale with a command line parameter. Because my default locale is already set to tr_TR.UTF-8.