#1009277 gnome-weather: background service ImportError on login

#1009277#5
Date:
2022-04-10 21:04:20 UTC
From:
To:
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.