Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1019586: gnome-shell-extension-weather: Extension not compatible with libsoup3

103 views
Skip to first unread message

Amr Ibrahim

unread,
Sep 12, 2022, 1:20:03 PM9/12/22
to
Package: gnome-shell-extension-weather
Version: 0.0~git20210509.d714eb1-4
Severity: important
Tags: upstream

Hello,

The extension broke after building gnome-shell 42.4-2 with libsoup3 in Debian
testing. It cannot fetch the weather data any more.


18:49:37 gnome-shell: 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:
promisify/proto[asyncFunc]@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:434:16
openExtensionPrefs@resource:///org/gnome/shell/ui/extensionSystem.js:240:26
openPrefs@resource:///org/gnome/shell/misc/extensionUtils.js:227:26
_onPreferencesActivate@/usr/share/gnome-shell/extensions/openweather-
exte...@jenslody.de/extension.js:969:28

18:49:05 gnome-shell: JS ERROR: TypeError: Soup.form_request_new_from_hash is
not a function
load_json_async@/usr/share/gnome-shell/extensions/openweather-
exte...@jenslody.de/extension.js:1123:28
refreshWeatherCurrent@/usr/share/gnome-shell/extensions/openweather-
exte...@jenslody.de/openweathermap_org.js:405:10
parseWeatherCurrent@/usr/share/gnome-shell/extensions/openweather-
exte...@jenslody.de/openweathermap_org.js:299:14
rebuildButtonMenu/<@/usr/share/gnome-shell/extensions/openweather-
exte...@jenslody.de/extension.js:861:18


Best,
Amr


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

Kernel: Linux 5.19.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gnome-shell-extension-weather depends on:
ii ca-certificates 20211016
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-3
ii gir1.2-clutter-1.0 1.26.4+dfsg-4
ii gir1.2-glib-2.0 1.73.0+ds-1
ii gir1.2-gtk-3.0 3.24.34-3
ii gir1.2-soup-2.4 2.74.2-3
ii gnome-shell 42.4-2

Versions of packages gnome-shell-extension-weather recommends:
ii gnome-tweaks 42~beta-2

gnome-shell-extension-weather suggests no packages.

-- no debconf information
openweather-extension-error.log

Brandon Snider

unread,
Sep 19, 2022, 11:20:03 AM9/19/22
to
The extension's author has abandoned the project, and it was forked. The newer version includes libsoup3 support. I have created a gitlab repo with updated debian packaging as well as the updated upstream files. My update can be merged into the salsa version, although, not being a team member, I can't create a merge request. The updates I created are right here:

I installed this version from a deb and it works on testing. I imagine it will work with the dev version of Ubuntu as well.

 -- Brandon J. Snider

Brandon Snider

unread,
Sep 19, 2022, 12:10:03 PM9/19/22
to
Hi, the repo is now public. I don't see anywhere that I can apply for group membership, but I'm sure you can now figure out a way to merge my repo with the team.

 -- Brandon J. Snider


On Mon, Sep 19, 2022 at 11:32 AM Jeremy Bicha <jeremy...@canonical.com> wrote:
On Mon, Sep 19, 2022 at 11:12 AM Brandon Snider
<brandon...@gmail.com> wrote:
> The extension's author has abandoned the project, and it was forked. The newer version includes libsoup3 support. I have created a gitlab repo with updated debian packaging as well as the updated upstream files. My update can be merged into the salsa version, although, not being a team member, I can't create a merge request. The updates I created are right here:

Please do apply for a Salsa account. Once that account is approved,
you can submit merge requests.

> https://gitlab.com/bjsnider/gnome-shell-extension-weather

Your gitlab.com profile is private so I can't access that repo.


> I installed this version from a deb and it works on testing. I imagine it will work with the dev version of Ubuntu as well.

Ubuntu removed most GNOME Shell extension from their repository:
https://discourse.ubuntu.com/t/removal-of-gnome-shell-extensions/18437/9

Thank you,
Jeremy Bicha
0 new messages