Bug#1008926: gnome-shell crashes on login with GLib.TimeZone.get_offset JS ERROR

Simon McVittie smcv at debian.org
Mon Apr 4 11:09:49 BST 2022


On Mon, 04 Apr 2022 at 18:44:48 +0900, Kipp Cannon wrote:
> I updated my system to debian testing as of 2022-04-04, after which logging in
> to a gnome desktop session became impossible.
...
> Apr  4 13:24:15 boron gnome-shell[4286]: JS ERROR: TypeError: method
> GLib.TimeZone.get_offset: At least 1 argument required, but only 0
> passed#012_clocksChanged/<@resource:///org/gnome/shell/ui/dateMenu.js:343:46#012_clocksChanged@resource:///org/gnome/shell/ui/dateMenu.js:342:25#012_init@resource:///org/gnome/shell/ui/dateMenu.js:309:14#012WorldClocksSection@resource:///org/gnome/shell/ui/dateMenu.js:275:1#012_init@resource:///org/gnome/shell/ui/dateMenu.js:870:28#012ButtonBox@resource:///org/gnome/shell/ui/panelMenu.js:11:1#012PanelMenuButton@resource:///org/gnome/shell/ui/panelMenu.js:97:4#012DateMenuButton@resource:///org/gnome/shell/ui/dateMenu.js:784:1#012_ensureIndicator@resource:///org/gnome/shell/ui/panel.js:915:25#012_updateBox@resource:///org/gnome/shell/ui/panel.js:926:34#012_updatePanel@resource:///org/gnome/shell/ui/panel.js:871:14#012_init@resource:///org/gnome/shell/ui/panel.js:681:14#012Panel@resource:///org/gnome/shell/ui/panel.js:639:1#012_initializeUI@resource:///org/gnome/shell/ui/main.js:221:13#012start@resource:///org/gnome/shell/ui/main.js:162:5#012@resource:///org/gnome/shell/ui/init.js:6:17

I think the problem here is that older versions of GNOME Shell did not
specify its required version of the GWeather API. When you upgraded some
other package that pulled in gir1.2-gweather-4.0, GNOME Shell started to
load that instead of gir1.2-gweather-3.0, but the newer version has an
incompatible API, causing this crash.

If that's correct, then upgrading to GNOME Shell 42 (from unstable) should
avoid the crash.

    smcv



More information about the pkg-gnome-maintainers mailing list