Summary: | gnome-base/gnome-shell-3.16.3 - Gjs-WARNING **: JS ERROR: Error: Failed to convert UTF-8 string to JS string | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Lagu <felipematas> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Lagu
2015-09-09 03:33:38 UTC
Created attachment 411378 [details]
emerge --info
Note: Extensions disabled (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. (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. 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. 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. 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. 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. Maybe it should be reported to upstream to suggest them to handle better this issue -> bugzilla.gnome.org |