Bug#1009277: gnome-weather: background service ImportError on login

Zack Weinberg zackw at panix.com
Sun Apr 10 22:04:20 BST 2022


Package: gnome-weather
Version: 42.0-1
Severity: normal
X-Debbugs-Cc: zackw at panix.com

Upon logging in I get these error messages in the user journal:

Apr 10 16:51:27 moxana org.gnome.Weath[5211]:
    ImportError: Unable to load file from:
        resource:///org/gnome/Weather/js/service/main.js
    (The resource at “/org/gnome/Weather/js/service/main.js” does not exist)
Apr 10 16:51:27 moxana org.gnome.Weath[5211]:
    Unhandled promise rejection. To suppress this warning, add an
    error handler to your promise chain with .catch() or a try-catch
    block around your await expression. Stack trace of the failed promise:
    @/usr/share/org.gnome.Weather/org.gnome.Weather.BackgroundService:9:4

These errors repeat periodically for as long as I am logged in —
I presume something is trying to start the background service at
intervals.

A file named “main.js” appears to be packed inside
/usr/share/org.gnome.Weather/org.gnome.Weather.BackgroundService.src.gresource;
I do not know enough about gjs to understand why it’s not being found
there.

The primary “gnome-weather” application seems to work fine.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-6-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /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.40.0-3
ii  geoclue-2.0                                  2.6.0-1
ii  gir1.2-adw-1                                 1.1.0-1
ii  gir1.2-geoclue-2.0                           2.6.0-1
ii  gir1.2-glib-2.0                              1.72.0-1+b1
ii  gir1.2-gtk-4.0                               4.6.2+ds-1
ii  gir1.2-gweather-4.0                          4.0.0-2
ii  gjs                                          1.72.0-2
ii  libglib2.0-bin                               2.72.0-1+b1

gnome-weather recommends no packages.

gnome-weather suggests no packages.

-- no debconf information


More information about the pkg-gnome-maintainers mailing list