[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
This bug was fixed in the package accountsservice - 0.6.15-2ubuntu9.4 --- accountsservice (0.6.15-2ubuntu9.4) precise-proposed; urgency=low * 0010-set-language.patch: Fix saving of language selection if ~/.profile does not exist. (LP: #1018621) -- Gunnar HjalmarssonTue, 25 Sep 2012 12:14:17 +0200 ** Changed in: accountsservice (Ubuntu Precise) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: Fix Released Status in “accountsservice” source package in Precise: Fix Released Bug description: [SRU test case] Currently, to test if HOME is available, accountsservice in precise tests for the existence of ~/.profile, and if ~/.profile isn't found, no changes of the language settings are made. To reproduce the bug you can 1. rename your ~/.profile (temporarily) 2. try to change the user language This will fail with the misplaced message "not access to HOME yet so language not saved". The attached patch 0010-set-language.patch_precise-SRU.diff changes the behavior, so as soon as the resulting branch is available in precise-proposed, you'll be able to verify that the HOME availability test is no longer dependent of the existence of ~/.profile. [Original description] I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-package
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
I have successfully installed and run the amd64 build of accountsservice 0.6.15-2ubuntu9.4. It allows me to change the language settings even if ~/.profile does not exist. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: Fix Released Status in “accountsservice” source package in Precise: Fix Committed Bug description: [SRU test case] Currently, to test if HOME is available, accountsservice in precise tests for the existence of ~/.profile, and if ~/.profile isn't found, no changes of the language settings are made. To reproduce the bug you can 1. rename your ~/.profile (temporarily) 2. try to change the user language This will fail with the misplaced message "not access to HOME yet so language not saved". The attached patch 0010-set-language.patch_precise-SRU.diff changes the behavior, so as soon as the resulting branch is available in precise-proposed, you'll be able to verify that the HOME availability test is no longer dependent of the existence of ~/.profile. [Original description] I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
Hello Martin, or anyone else affected, Accepted accountsservice into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/accountsservice/0.6.15-2ubuntu9.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: accountsservice (Ubuntu Precise) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: Fix Released Status in “accountsservice” source package in Precise: Fix Committed Bug description: [SRU test case] Currently, to test if HOME is available, accountsservice in precise tests for the existence of ~/.profile, and if ~/.profile isn't found, no changes of the language settings are made. To reproduce the bug you can 1. rename your ~/.profile (temporarily) 2. try to change the user language This will fail with the misplaced message "not access to HOME yet so language not saved". The attached patch 0010-set-language.patch_precise-SRU.diff changes the behavior, so as soon as the resulting branch is available in precise-proposed, you'll be able to verify that the HOME availability test is no longer dependent of the existence of ~/.profile. [Original description] I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 Ap
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
** Description changed: - I had problems with changing language from english (to danish). It's not - being applied, even after re-login/reboot. + [SRU test case] + Currently, to test if HOME is available, accountsservice in precise tests for the existence of ~/.profile, and if ~/.profile isn't found, no changes of the language settings are made. + + To reproduce the bug you can + 1. rename your ~/.profile (temporarily) + 2. try to change the user language + + This will fail with the misplaced message "not access to HOME yet so + language not saved". + + The proposed patch changes the behavior, so as soon as the resulting + branch is available in precise-proposed, you'll be able to verify that + the HOME availability test is no longer dependent of the existence of + ~/.profile. + + [Original description] + I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) ** Changed in: accountsservice (Ubuntu Precise) Status: New => In Progress ** Changed in: accountsservice (Ubuntu Precise) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) ** Description changed: [SRU test case] Currently, to test if HOME is available, accountsservice in precise tests for the existence of ~/.profile, and if ~/.profile isn't found, no changes of the language settings are made. To reproduce the bug you can 1. rename your ~/.profile (temporarily) 2. try to change the user language This will fail with the misplaced message "not access to HOME yet so language not saved". - The proposed patch changes the behavior, so as soon as the resulting - branch is available in precise-proposed, you'll be able to verify that - the HOME availability test is no longer dependent of the existence of - ~/.profile. + The attached patch
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
** Also affects: accountsservice (Ubuntu Precise) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: Fix Released Status in “accountsservice” source package in Precise: New Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
** Patch added: "0010-set-language.patch_precise-SRU.diff" https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+attachment/3337421/+files/0010-set-language.patch_precise-SRU.diff -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: Fix Released Status in “accountsservice” source package in Precise: New Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
This bug was fixed in the package accountsservice - 0.6.21-6ubuntu4 --- accountsservice (0.6.21-6ubuntu4) quantal; urgency=low * 0010-set-language.patch: Fix saving of language selection if ~/.profile does not exist. (LP: #1018621) -- Gunnar HjalmarssonMon, 17 Sep 2012 14:26:29 +0200 ** Changed in: accountsservice (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: Fix Released Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
Instead of changing the error message I propose a code change so that the availability of HOME is tested independently of the existence of ~/.profile. Since lp:ubuntu/accountsservice doesn't give me the latest accountsservice branch (which it should), I added an attachment which is a diff that can be applied to the latest version of 0010-set- language.patch. A quantal build of accountsservice, with the proposed code change, is available in my PPA at https://launchpad.net/~gunnarhj/+archive/misc ** Patch added: "0010-set-language.patch.diff" https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+attachment/3319502/+files/0010-set-language.patch.diff ** Tags added: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: In Progress Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
Thanks for taking the time to report this issue! This is the code in accountsservice (user_change_language_authorized_cb() in src/user.c): gchar *profile_path = g_build_path ("/", user->home_dir, ".profile", NULL); if (!g_file_test (profile_path, G_FILE_TEST_IS_REGULAR)) { /* SetLanguage was probably called from a login greeter, and HOME not mounted and/or not decrypted. Hence don't save anything, or else accountsservice and ~/.pam_environment would become out of sync. */ throw_error (context, ERROR_FAILED, "not access to HOME yet so language not saved"); goto out2; } As you can see, the purpose of the test whether ~/.profile exists is to find out whether HOME is available (please note that /etc/skel includes the file .profile, at least in the latest Ubuntu releases). If there is a safer way to test for the availability of HOME, please let me know, and I'll be happy to submit a suitable merge proposal. ** Changed in: accountsservice (Ubuntu) Status: Triaged => In Progress ** Changed in: accountsservice (Ubuntu) Assignee: (unassigned) => Gunnar Hjalmarsson (gunnarhj) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: In Progress Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: h
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
This error message comes from the accountsservice package. Reassigning. ** Package changed: language-selector (Ubuntu) => accountsservice (Ubuntu) ** Changed in: accountsservice (Ubuntu) Importance: Undecided => Medium ** Changed in: accountsservice (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “accountsservice” package in Ubuntu: Triaged Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
Yes, I can confirm the bug as well as the solution. Please: Can someone who knows the package can look into it. With this information it should be easy to fix. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to language-selector in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “language-selector” package in Ubuntu: New Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1018621] Re: "Language for menus and windows" is not saved if .profile is missing
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to language-selector in Ubuntu. https://bugs.launchpad.net/bugs/1018621 Title: "Language for menus and windows" is not saved if .profile is missing Status in “language-selector” package in Ubuntu: New Bug description: I had problems with changing language from english (to danish). It's not being applied, even after re-login/reboot. 1) Open gnome-language-selector 2) Install wanted language (if not already installed, in my case Danish) 3) Drag the wanted language to top of list (above english) 4) Push close 5) Logout/login 6) Menus and windows are still english (e.g. gnome-panel, firefox menus). 7) Re-open gnome-language-selector > Changes not applied (english on top as original). Even tried reboot under 5), still didn't work. The problem can also be reproduced just by reopening gnome-language- selector just after closing it, and verify changes are not applied, i.e. 1)+3)+4) + 7). # Here's the root cause: In step 3) when "slipping" the dragged language, following message occurs: === Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 62, in wrapper res = f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 1047, in on_treeview_locales_drag_end self.writeUserLanguage(envLanguage) File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 800, in writeUserLanguage self.writeUserLanguageSetting(userLanguage=languageString) File "/usr/lib/python2.7/dist-packages/LanguageSelector/LanguageSelector.py", line 83, in writeUserLanguageSetting iface.SetLanguage(userLanguage) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__ **keywords) File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.Accounts.Error.Failed: not access to HOME yet so language not saved === The last line " not access to HOME yet so language not saved" made me investigate conf files in my homedir. I noticed that ~/.profile did not exist (my system has been upgraded many times and home conf files have long history). This fixed the problem: $ echo "" > ~/.profile No errors at all, configuration stored on reopen, and re-login applies language change to menus. However, nothing seems to be written to .profile, neither before/after re-login! It's still empty! If I remove ~/.profile the bug re-appears completely. I.e. bug appears if and only if ~.profile is missing. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: language-selector-gnome 0.79 ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19 Uname: Linux 3.2.0-26-generic i686 ApportVersion: 2.0.1-0ubuntu10 Architecture: i386 CheckboxSubmission: 7a947f7b03ad4cd4dfd27d0dc7c36d60 CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b Date: Wed Jun 27 23:22:50 2012 ExecutablePath: /usr/bin/gnome-language-selector InterpreterPath: /usr/bin/python2.7 PackageArchitecture: all SourcePackage: language-selector UpgradeStatus: Upgraded to precise on 2012-06-17 (10 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/1018621/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp