Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560002 - gnome-base/gnome-shell-3.16.3 - Gjs-WARNING **: JS ERROR: Error: Failed to convert UTF-8 string to JS string
Summary: gnome-base/gnome-shell-3.16.3 - Gjs-WARNING **: JS ERROR: Error: Failed to co...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-09 03:33 UTC by Lagu
Modified: 2015-11-07 10:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_560002.txt,6.60 KB, text/plain)
2015-09-09 03:35 UTC, Lagu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2015-09-09 03:33:38 UTC
Hi, here with a little problem, with the last big update with gnome now it can't start, with the beautiful message "Oh no! Something has gone wrong." here the log of gnome-session:

sep 08 19:53:52 7l5aQfP gnome-session[2000]: gnome-session[2000]: WARNING: App 'gnome-shell.desktop' exited with code 1
sep 08 19:53:52 7l5aQfP gnome-session[2000]: WARNING: App 'gnome-shell.desktop' exited with code 1
sep 08 19:53:53 7l5aQfP gnome-session[2000]: (gnome-shell:2156): Gjs-WARNING **: JS ERROR: Error: Failed to convert UTF-8 string to JS string: Hay un
sep 08 19:53:53 7l5aQfP gnome-session[2000]: init/Date.prototype.toLocaleFormat@resource:///org/gnome/shell/ui/environment.js:111
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Calendar<._buildHeader@resource:///org/gnome/shell/ui/calendar.js:594
sep 08 19:53:53 7l5aQfP gnome-session[2000]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Calendar<._init@resource:///org/gnome/shell/ui/calendar.js:528
sep 08 19:53:53 7l5aQfP gnome-session[2000]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
sep 08 19:53:53 7l5aQfP gnome-session[2000]: _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204
sep 08 19:53:53 7l5aQfP gnome-session[2000]: DateMenuButton<._init@resource:///org/gnome/shell/ui/dateMenu.js:345
sep 08 19:53:53 7l5aQfP gnome-session[2000]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
sep 08 19:53:53 7l5aQfP gnome-session[2000]: _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Panel<._ensureIndicator@resource:///org/gnome/shell/ui/panel.js:979
sep 08 19:53:53 7l5aQfP gnome-session[2000]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Panel<._updateBox@resource:///org/gnome/shell/ui/panel.js:990
sep 08 19:53:53 7l5aQfP gnome-session[2000]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Panel<._updatePanel@resource:///org/gnome/shell/ui/panel.js:933
sep 08 19:53:53 7l5aQfP gnome-session[2000]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Panel<._init@resource:///org/gnome/shell/ui/panel.js:759
sep 08 19:53:53 7l5aQfP gnome-session[2000]: wrapper@resource:///org/gnome/gjs/modules/lang.js:169
sep 08 19:53:53 7l5aQfP gnome-session[2000]: _Base.prototype._construct@resource:///org/gnome/gjs/modules/lang.js:110
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Class.prototype._construct/newClass@resource:///org/gnome/gjs/modules/lang.js:204
sep 08 19:53:53 7l5aQfP gnome-session[2000]: _initializeUI@resource:///org/gnome/shell/ui/main.js:166
sep 08 19:53:53 7l5aQfP gnome-session[2000]: start@resource:///org/gnome/shell/ui/main.js:120
sep 08 19:53:53 7l5aQfP gnome-session[2000]: @<main>:1
sep 08 19:53:53 7l5aQfP gnome-session[2000]: ** Message: Execution of main.js threw exception: JS_EvaluateScript() failed
sep 08 19:53:53 7l5aQfP gnome-session[2000]: gnome-session[2000]: WARNING: App 'gnome-shell.desktop' exited with code 1
sep 08 19:53:53 7l5aQfP gnome-session[2000]: WARNING: App 'gnome-shell.desktop' exited with code 1
sep 08 19:53:53 7l5aQfP gnome-session[2000]: WARNING: App 'gnome-shell.desktop' respawning too quickly
sep 08 19:53:53 7l5aQfP gnome-session[2000]: gnome-session[2000]: WARNING: App 'gnome-shell.desktop' respawning too quickly
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Unrecoverable failure in required component gnome-shell.desktop
sep 08 19:53:53 7l5aQfP /usr/libexec/gdm-x-session[1935]: Activating service name='ca.desrt.dconf'
sep 08 19:53:53 7l5aQfP /usr/libexec/gdm-x-session[1935]: Successfully activated service 'ca.desrt.dconf'
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Failed to play sound: File or data not found
sep 08 19:53:54 7l5aQfP gnome-session[2000]: (gnome-settings-daemon:2046): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PRO
sep 08 19:53:54 7l5aQfP gnome-session[2000]: (gnome-settings-daemon:2046): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PRO
sep 08 19:53:54 7l5aQfP gnome-session[2000]: megasync: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by megasync)
sep 08 19:53:54 7l5aQfP gnome-session[2000]: megasync: /usr/lib64/libssl.so.1.0.0: no version information available (required by megasync)
sep 08 19:53:54 7l5aQfP gnome-session[2000]: megasync: /usr/lib64/libssl.so.1.0.0: no version information available (required by megasync)
sep 08 19:53:55 7l5aQfP gnome-session[2000]: Entering running state
sep 08 19:54:00 7l5aQfP /usr/libexec/gdm-x-session[1935]: Activating service name='org.gnome.evolution.dataserver.Sources4'
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: ** (gnome-session-quit:2199): WARNING **: Failed to call logout: GDBus.Error:org.gnome.SessionManager.No
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:01 7l5aQfP /usr/libexec/gdm-x-session[1935]: Activating service name='org.gnome.OnlineAccounts'
sep 08 19:54:02 7l5aQfP /usr/libexec/gdm-x-session[1935]: Successfully activated service 'org.gnome.evolution.dataserver.Sources4'
sep 08 19:54:02 7l5aQfP /usr/libexec/gdm-x-session[1935]: Activating service name='org.gnome.evolution.dataserver.Calendar7'
sep 08 19:54:02 7l5aQfP org.a11y.Bus[1987]: Activating service name='org.a11y.atspi.Registry'
sep 08 19:54:02 7l5aQfP org.a11y.Bus[1987]: Successfully activated service 'org.a11y.atspi.Registry'
sep 08 19:53:53 7l5aQfP gnome-session[2000]: WARNING: App 'gnome-shell.desktop' exited with code 1
sep 08 19:53:53 7l5aQfP gnome-session[2000]: WARNING: App 'gnome-shell.desktop' respawning too quickly
sep 08 19:53:53 7l5aQfP gnome-session[2000]: gnome-session[2000]: WARNING: App 'gnome-shell.desktop' respawning too quickly
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Unrecoverable failure in required component gnome-shell.desktop
sep 08 19:53:53 7l5aQfP /usr/libexec/gdm-x-session[1935]: Activating service name='ca.desrt.dconf'
sep 08 19:53:53 7l5aQfP /usr/libexec/gdm-x-session[1935]: Successfully activated service 'ca.desrt.dconf'
sep 08 19:53:53 7l5aQfP gnome-session[2000]: Failed to play sound: File or data not found
sep 08 19:53:54 7l5aQfP gnome-session[2000]: (gnome-settings-daemon:2046): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PRO
sep 08 19:53:54 7l5aQfP gnome-session[2000]: (gnome-settings-daemon:2046): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PRO
sep 08 19:53:54 7l5aQfP gnome-session[2000]: megasync: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by megasync)
sep 08 19:53:54 7l5aQfP gnome-session[2000]: megasync: /usr/lib64/libssl.so.1.0.0: no version information available (required by megasync)
sep 08 19:53:54 7l5aQfP gnome-session[2000]: megasync: /usr/lib64/libssl.so.1.0.0: no version information available (required by megasync)
sep 08 19:53:55 7l5aQfP gnome-session[2000]: Entering running state
sep 08 19:54:00 7l5aQfP /usr/libexec/gdm-x-session[1935]: Activating service name='org.gnome.evolution.dataserver.Sources4'
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: ** (gnome-session-quit:2199): WARNING **: Failed to call logout: GDBus.Error:org.gnome.SessionManager.No
sep 08 19:54:00 7l5aQfP gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
sep 08 19:54:00 7l5aQfP gnome-session[2000]: gnome-session[2000]: GLib-GObject-CRITICAL: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

Thx.
Comment 1 Lagu 2015-09-09 03:35:07 UTC
Created attachment 411378 [details]
emerge --info
Comment 2 Lagu 2015-09-09 03:37:07 UTC
Note: Extensions disabled
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-09 03:46:35 UTC
(In reply to Lagu from comment #0)
> sep 08 19:53:53 7l5aQfP gnome-session[2000]: (gnome-shell:2156): Gjs-WARNING **: JS ERROR: Error: Failed to convert UTF-8 string to JS string: Hay un

This usually means your locale settings are wrong somewhere. For example, LANG or LANGUAGE or one of LC_* environment variables is a non-unicode locale (es_ES instead of es_US.UTF-8). Or maybe one of those variables has a value which is not supported in your /etc/locale.gen. Or maybe you have some gtk or gnome settings file in your home directory in a non-unicode encoding.

However, gnome-shell-3.14 should have crashed the same way on your machine in that case.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-09 03:56:59 UTC
(In reply to Lagu from comment #0)
> sep 08 19:53:53 7l5aQfP gnome-session[2000]: init/Date.prototype.toLocaleFormat@resource:///org/gnome/shell/ui/environment.js:111

line 111 in environment.js is

    return Shell.util_format_date(format, this.getTime());

So I am guessing that your LC_ALL or LC_TIME env variables are non-unicode, or maybe something is very strange with your system time.
Comment 5 Lagu 2015-09-09 05:25:24 UTC
Hi, this is weird, this happend with the update, respect tha env variables, i generate all the locales with locale-gen -A, and here the info:

pipe@7l5aQfP ~ $ sudo localectl status
   System Locale: LANG=es_CL.utf8
                  LC_NUMERIC=es_CL
                  LC_TIME=es_CL
                  LC_MONETARY=es_CL
                  LC_PAPER=es_CL
                  LC_MEASUREMENT=es_CL
       VC Keymap: la-latin1
      X11 Layout: latam
     X11 Variant: deadtilde
pipe@7l5aQfP ~ $ locale
LANG=es_CL.utf8
LC_CTYPE="es_CL.utf8"
LC_NUMERIC=es_CL
LC_TIME=es_CL
LC_COLLATE="es_CL.utf8"
LC_MONETARY=es_CL
LC_MESSAGES="es_CL.utf8"
LC_PAPER=es_CL
LC_NAME="es_CL.utf8"
LC_ADDRESS="es_CL.utf8"
LC_TELEPHONE="es_CL.utf8"
LC_MEASUREMENT=es_CL
LC_IDENTIFICATION="es_CL.utf8"
LC_ALL=

i remember other weird thing, in the ui of gnome it doesn't show the accents (รก) before this, bit it works in all the applications.
Comment 6 Lagu 2015-09-09 05:54:19 UTC
Hi, for some reason when i install the system the app localectl set a lot of env variables when teorically only most add the lang env unless otherwise specified, probably can be a bug but how works fine now most be fixed with some update, for fix this:

1) clean /etc/env.d/02locale
2) localectl set-locale LANG=<locale> -- ex <locale>=es_CL.utf8

Thx.
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-09-09 14:53:27 UTC
Probably the real solution is to make gnome-shell more robust against wrong time locales (fall back to English?). Or at least make it print a better error message.
Comment 8 Lagu 2015-09-09 18:03:00 UTC
i think its a good idea, but instead of gnome check the locale vars i prefer a simple program to do this to avoid gnome or others program start checking all the time the vars, add a error handling to gnome i think its a nice idea bevause this don't its the first error with confusing messages.
Comment 9 Pacho Ramos gentoo-dev 2015-09-11 11:20:39 UTC
Maybe it should be reported to upstream to suggest them to handle better this issue -> bugzilla.gnome.org