You are not logged in.

#1 2020-10-03 06:23:11

liewkj
Member
Registered: 2020-04-15
Posts: 31

[Solved] GNOME failed `main.js threw exception`

Hi,

Look like GNOME had failed again, regardless of X.Org/Wayland.

Oct 02 15:03:13 arch1 gnome-shell[408]: JS ERROR: GLib.Error g-invoke-error-quark: Could not locate g_param_spec_is_valid_name: 'g_param_spec_is_valid_name': /usr/lib/libgobject-2.0.so.0: undefined symbol: g_param_spec_is_valid_name
                                        _init@resource:///org/gnome/gjs/modules/core/overrides/GObject.js:290:5
                                        _init@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:473:5
                                        @resource:///org/gnome/shell/ui/environment.js:13:58
                                        @<main>:1:1
Oct 02 15:03:13 arch1 gnome-shell[408]: Execution of main.js threw exception: Script <main> threw an exception
Oct 02 15:03:13 arch1 gnome-session[382]: gnome-session-binary[382]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Oct 02 15:03:13 arch1 gnome-session-binary[382]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1

Perhaps glib2 should be updated to resolve undefined symbol in /usr/lib/libgobject-2.0.so.0.

Last edited by liewkj (2020-10-03 07:58:03)

Offline

#2 2020-10-03 07:57:50

liewkj
Member
Registered: 2020-04-15
Posts: 31

Re: [Solved] GNOME failed `main.js threw exception`

Fixed by enabling staging repo to update glib2-2.66.

Offline

#3 2020-12-08 00:10:52

Magissia
Member
Registered: 2020-12-08
Posts: 4

Re: [Solved] GNOME failed `main.js threw exception`

Same with Cinnamon, but installing new glib2 doesn't resolve the issue.

Last edited by Magissia (2020-12-08 01:56:42)

Offline

#4 2020-12-13 14:06:06

AhmadRaniri
Member
Registered: 2020-04-30
Posts: 23

Re: [Solved] GNOME failed `main.js threw exception`

liewkj wrote:

Fixed by enabling staging repo to update glib2-2.66.

How do you do that? Do I need to add or edit /etc/pacman.conf?

Offline

#5 2020-12-13 19:13:07

deep42thought
Administrator
From: Jena, Germany
Registered: 2017-06-17
Posts: 617

Re: [Solved] GNOME failed `main.js threw exception`

AhmadRaniri wrote:
liewkj wrote:

Fixed by enabling staging repo to update glib2-2.66.

How do you do that? Do I need to add or edit /etc/pacman.conf?

yes, to enable staging, you need to add it to /etc/pacman.conf. However, it is not a good idea to do that, because staging will break packages on a regular basis! The correct way is to bother us to move the relevant packages to testing or to stable.

regards, deep42thought

Offline

Board footer

Powered by FluxBB