A nasty bug with the locale prevents even gdm from appearing

Paulo Levi i30817 at gmail.com
Fri Mar 22 05:09:14 UTC 2013


If you install gnome shell (i only fixed the problem later, but i
tried it even on a the default raring live cd daily build, before
downloading ubuntu gnome), doesn't matter if from root using the
ubuntu GNOME live cd daily (the pen/cd worked) or in addition, adding
the gnome3-team ppa, but when you install and set up the local it
causes gdm and the shell to freak out.
** Message: applet now removed from the notification area
** Message: using fallback from indicator to GtkStatusIcon
    JS ERROR: !!!   Exception was: Error: Failed to convert UTF-8
string to JS string: Invalid byte sequence in conversion input
    JS ERROR: !!!     message = '"Failed to convert UTF-8 string to JS
string: Invalid byte sequence in conversion input"'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/environment.js"'
    JS ERROR: !!!     lineNumber = '82'
    JS ERROR: !!!     stack = '"("%A %B %e,
%Y")@/usr/share/gnome-shell/js/ui/environment.js:82
()@/usr/share/gnome-shell/js/ui/dateMenu.js:203
wrapper()@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:148
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gjs-1.0/lang.js:145
([object Object])@/usr/share/gjs-1.0/lang.js:239
("dateMenu")@/usr/share/gnome-shell/js/ui/panel.js:1155
wrapper("dateMenu")@/usr/share/gjs-1.0/lang.js:204
([object Array],[object
_private_St_BoxLayout])@/usr/share/gnome-shell/js/ui/panel.js:1166
wrapper([object Array],[object
_private_St_BoxLayout])@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/js/ui/panel.js:1120
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/js/ui/panel.js:969
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gjs-1.0/lang.js:145
()@/usr/share/gjs-1.0/lang.js:239
start()@/usr/share/gnome-shell/js/ui/main.js:144
@<main>:1
"'
Window manager warning: Log level 32: Execution of main.js threw
exception: Error: Failed to convert UTF-8 string to JS string: Invalid
byte sequence in conversion input
      JS LOG: IBus version is too old
    JS ERROR: !!!   Exception was: Error: Failed to convert UTF-8
string to JS string: Invalid byte sequence in conversion input
    JS ERROR: !!!     message = '"Failed to convert UTF-8 string to JS
string: Invalid byte sequence in conversion input"'
    JS ERROR: !!!     fileName = '"/usr/share/gnome-shell/js/ui/environment.js"'
    JS ERROR: !!!     lineNumber = '82'
    JS ERROR: !!!     stack = '"("%A %B %e,
%Y")@/usr/share/gnome-shell/js/ui/environment.js:82
()@/usr/share/gnome-shell/js/ui/dateMenu.js:203
wrapper()@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gnome-shell/js/ui/dateMenu.js:148
wrapper([object Object])@/usr/share/gjs-1.0/lang.js:204
([object Object])@/usr/share/gjs-1.0/lang.js:145
([object Object])@/usr/share/gjs-1.0/lang.js:239
("dateMenu")@/usr/share/gnome-shell/js/ui/panel.js:1155
wrapper("dateMenu")@/usr/share/gjs-1.0/lang.js:204
([object Array],[object
_private_St_BoxLayout])@/usr/share/gnome-shell/js/ui/panel.js:1166
wrapper([object Array],[object
_private_St_BoxLayout])@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/js/ui/panel.js:1120
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gnome-shell/js/ui/panel.js:969
wrapper()@/usr/share/gjs-1.0/lang.js:204
()@/usr/share/gjs-1.0/lang.js:145
()@/usr/share/gjs-1.0/lang.js:239
start()@/usr/share/gnome-shell/js/ui/main.js:144
@<main>:1
"'

The cause is the locale file not having 'UTF-8' suffixes in most
properties. Adding them allowed me to login.

Here is the bug report
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1158639

A similar one:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/889483



More information about the Ubuntu-GNOME mailing list