Bug 41878 - gnome-language-selector closed unexpectedly
gnome-language-selector closed unexpectedly
Status: CLOSED WONTFIX
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Image Desktop
UCC 3.0
Other Linux
: P5 normal
: UCC 3.0-errata
Assigned To: UCC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-29 10:22 CEST by Felix Botner
Modified: 2023-06-28 10:33 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2016-07-29 10:22:00 CEST
Tried to change the language of the unity desktop with the gnome-language-selector

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 67, in wrapper
    res = f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 79, in wrapper
    res = f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1073, in on_button_apply_system_wide_languages_clicked
    self.writeSystemLanguage(self.userEnvLanguage)
  File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 785, in writeSystemLanguage
    self.writeSysLanguageSetting(sysLanguage=languageString)
  File "/usr/lib/python3/dist-packages/LanguageSelector/LanguageSelector.py", line 62, in writeSysLanguageSetting
    iface.SetSystemDefaultLanguageEnv(sysLanguage)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.UnicodeDecodeError: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/language-selector/ls-dbus-backend", line 60, in SetSystemDefaultLanguageEnv
    find_string_and_replace(findString, setString, conffiles)
  File "/usr/lib/python3/dist-packages/LanguageSelector/utils.py", line 24, in find_string_and_replace
    for line in f:
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 264: ordinal not in range(128)

after logout/login the new language settings has been applied though
Comment 1 Philipp Hahn univentionstaff 2023-06-28 10:30:27 CEST
UCC is EoL