Activity log for bug #1018621

Date Who What changed Old value New value Message
2012-06-27 22:13:35 Martin Thøgersen bug added bug
2012-08-11 04:37:10 Steve Langasek affects language-selector (Ubuntu) accountsservice (Ubuntu)
2012-08-11 04:37:10 Steve Langasek accountsservice (Ubuntu): importance Undecided Medium
2012-08-11 04:37:10 Steve Langasek accountsservice (Ubuntu): status New Triaged
2012-09-06 19:22:44 Gunnar Hjalmarsson accountsservice (Ubuntu): status Triaged In Progress
2012-09-06 19:22:44 Gunnar Hjalmarsson accountsservice (Ubuntu): assignee Gunnar Hjalmarsson (gunnarhj)
2012-09-17 01:07:40 Gunnar Hjalmarsson attachment added 0010-set-language.patch.diff https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1018621/+attachment/3319502/+files/0010-set-language.patch.diff
2012-09-17 01:08:15 Gunnar Hjalmarsson tags apport-bug i386 precise apport-bug i386 patch precise
2012-09-17 04:15:48 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2012-09-17 12:30:14 Launchpad Janitor accountsservice (Ubuntu): status In Progress Fix Released
2012-09-24 10:40:01 Gunnar Hjalmarsson attachment 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
2012-09-24 10:40:28 Martin Pitt nominated for series Ubuntu Precise
2012-09-24 10:40:28 Martin Pitt bug task added accountsservice (Ubuntu Precise)
2012-09-24 14:38:12 Gunnar Hjalmarsson 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) [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)
2012-09-24 14:41:46 Gunnar Hjalmarsson bug added subscriber Ubuntu Stable Release Updates Team
2012-09-24 14:42:36 Gunnar Hjalmarsson accountsservice (Ubuntu Precise): status New In Progress
2012-09-24 14:42:36 Gunnar Hjalmarsson accountsservice (Ubuntu Precise): assignee Gunnar Hjalmarsson (gunnarhj)
2012-09-24 14:44:50 Gunnar Hjalmarsson 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 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) [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)
2012-10-04 22:48:27 Clint Byrum accountsservice (Ubuntu Precise): status In Progress Fix Committed
2012-10-04 22:48:31 Clint Byrum bug added subscriber SRU Verification
2012-10-04 22:48:39 Clint Byrum tags apport-bug i386 patch precise apport-bug i386 patch precise verification-needed
2012-10-05 02:02:50 Gunnar Hjalmarsson tags apport-bug i386 patch precise verification-needed apport-bug i386 patch precise verification-done
2012-10-12 04:30:18 Launchpad Janitor accountsservice (Ubuntu Precise): status Fix Committed Fix Released
2012-10-12 04:30:27 Scott Kitterman removed subscriber Ubuntu Stable Release Updates Team