Bug#935090: gnome-weather crashes if invalid locations are configured in dconf
Diego Escalante Urrelo
diegoe at gnome.org
Mon Aug 19 13:00:12 BST 2019
Package: gnome-weather
Version: 3.26.0-5
Severity: normal
When an invalid value is stored in:
/org/gnome/Weather/Application/locations
gnome-weather will crash and never start. You can only fix this problem
by editing the dconf value, otherwise gnome-weather no longer works as
it gets stuck in:
(org.gnome.Weather.Application:8109): Gjs-WARNING **: 01:01:29.002: JS ERROR: TypeError: location is null
_onLocationAdded at resource:///org/gnome/Weather/Application/js/app/world.js:151:13
wrapper at resource:///org/gnome/gjs/modules/_legacy.js:82:22
_init at resource:///org/gnome/Weather/Application/js/app/world.js:115:13
wrapper at resource:///org/gnome/gjs/modules/_legacy.js:82:22
_init at resource:///org/gnome/Weather/Application/js/app/window.js:65:27
wrapper at resource:///org/gnome/gjs/modules/_legacy.js:82:22
_createWindow at resource:///org/gnome/Weather/Application/js/app/main.js:159:16
wrapper at resource:///org/gnome/gjs/modules/_legacy.js:82:22
vfunc_activate at resource:///org/gnome/Weather/Application/js/app/main.js:191:19
wrapper at resource:///org/gnome/gjs/modules/_legacy.js:82:22
main at resource:///org/gnome/Weather/Application/js/app/main.js:207:13
run at resource:///org/gnome/gjs/modules/package.js:225:12
@/usr/bin/gnome-weather:6:1
The problem is fixed upstream and can be cherry-picked:
https://gitlab.gnome.org/GNOME/gnome-weather/commit/f07286f13a3daf8fa5a44da8dfeef36e9df44ed0
https://gitlab.gnome.org/GNOME/gnome-weather/commit/01bf03ab8cf805a5a2706a03c5615b42c020e41f
Also see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=935075
-- System Information:
Debian Release: 10.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gnome-weather depends on:
ii dconf-gsettings-backend [gsettings-backend] 0.30.1-2
ii geoclue-2.0 2.5.2-1
ii gir1.2-gdkpixbuf-2.0 2.38.1+dfsg-1
ii gir1.2-geoclue-2.0 2.5.2-1
ii gir1.2-geocodeglib-1.0 3.26.1-1
ii gir1.2-glib-2.0 1.58.3-2
ii gir1.2-gnomedesktop-3.0 3.30.2.1-2
ii gir1.2-gtk-3.0 3.24.5-1
ii gir1.2-gweather-3.0 3.28.2-2
ii gjs 1.54.3-1
ii libglib2.0-bin 2.58.3-2
gnome-weather recommends no packages.
gnome-weather suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list