[Bug 1582517] Re: Cannot change system language
bryan paradis
1582517 at bugs.launchpad.net
Tue May 17 05:04:50 UTC 2016
** Attachment added: "gnome-language-selector strace"
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1582517/+attachment/4664311/+files/ls.strace
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to language-selector in Ubuntu.
https://bugs.launchpad.net/bugs/1582517
Title:
Cannot change system language
Status in language-selector package in Ubuntu:
New
Bug description:
System: Dell E6140 i7-620M & Nvidia NVS3100
Ubuntu: 16.04
Kernel: Linux bryan-Latitude-E6410 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Updates: Fully updated as of May 16, 2016
Procedure:
----------
1) Open Language Support
2) Add Japanese Language Support by entering Install/Remove Languages and choosing Japanese from the list
3) Drag Japanese to the top of the ordered list in the main window of Language Support
4) Press Apply System-Wide
5) Logout
6) Login
Expected Outcome:
-----------------
System is now in Japanese
Observed Outcome:
-----------------
System is still in English
Language Support reverted to showing Japanese at the bottom of the ordered list
An error is printed to stderr if ran manually. See below in the description
Description:
------------
Fairly fresh 16.04 Ubuntu install. I was once able to change my system language between English, French, Esperanto and Japanese. Now I am unable to change to any of them. I have been troubleshooting the issue. Things that I have tried:
1) Creating a new user. Also fails.
2) Purging and reinstalling language-selector-gnome and language-selector-common
3) Purging and reinstalling language-selector-gnome, language-selector-common, fontconfig and fontconfig-config
4) Purging language-selector-gnome, language-selector-common, fontconfig, fontconfig-config and all japanese language packs
5) Removing all language packs from Language Support GUI (aka language-selector-gnome)
I am now looking into the problem itself. When running the Language
Support GUI manually from the terminal via python3 /usr/bin/gnome-
language-selector I get the following error:
-----------------------------------
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 1056, in on_treeview_locales_drag_end
self.writeUserLanguage(envLanguage)
File "/usr/lib/python3/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 802, in writeUserLanguage
self.writeUserLanguageSetting(userLanguage=languageString)
File "/usr/lib/python3/dist-packages/LanguageSelector/LanguageSelector.py", line 87, in writeUserLanguageSetting
iface.SetLanguage(self.validateLangList(userLanguage))
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.Accounts.Error.PermissionDenied: Not authorized
-----------------------------------
I have also taken a strace of this as well via strace -F -tt -s 255 -o
ls.strace python3 /usr/bin/gnome-language-selector and will attach it
to this issue as well as my current dpkg.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1582517/+subscriptions
More information about the foundations-bugs
mailing list