*** This bug is a duplicate of bug 930785 ***
https://bugs.launchpad.net/bugs/930785
Gunnar Hjalmarsson [2012-02-13 3:01 -0000]:
> It's the user_locale_validate() function in
> accountsservice/src/user.c that caused this crash. Is there a simple
> way to make setlocale() instantly aware of newly generated locales?
> If not I guess that playing with 'locale -a' in
> user_locale_validate() would be safer than calling setlocale().
I don't know off-hand myself. My guess is that libc reads them at
program startup, so somehow you'd need to convince it to re-read it.
But that locale -a workaround wouldn't help language-selector, as you
still couldn't actually set the locale for language-selector itself or
the session, you need to relogin in any case.
> (Also, can you please make bug 930785 public.)
Done.
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/931060
Title:
gnome-language-selector crashed with DBusException in call_blocking():
org.freedesktop.Accounts.Error.Failed: 'ro_RO.UTF-8' is not a valid
locale name
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/language-selector/+bug/931060/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs