neffo / bing-wallpaper-gnome-extension

GNOME shell extension that syncs your desktop & lock screen wallpaper to Microsoft Bing's Image of the Day.
https://extensions.gnome.org/extension/1262/bing-wallpaper-changer/
GNU General Public License v3.0
294 stars 55 forks source link

[BUG] Can't access extension settings #220

Open ask6483 opened 11 months ago

ask6483 commented 11 months ago

Describe the bug When opening extension settings dialog there is a crash message displayed.

Screenshots image

To Reproduce Steps to reproduce the behavior:

  1. Open 'Extensions' app
  2. Click extension 'Settings'
  3. See error

Desktop (please complete the following information):

Additional context Technical details copied from error dialog:

The settings of extension BingWallpaper@ineffable-gmail.com had an error:

Error: Requiring Soup, version 2.4: Typelib file for namespace 'Soup', version '2.4' not found

Stack trace:

@/home/ask/.local/share/gnome-shell/extensions/BingWallpaper@ineffable-gmail.com/prefs.js:12:48
_init@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:23:33
ExtensionPrefsDialog@resource:///org/gnome/Shell/Extensions/js/extensionPrefsDialog.js:10:4
OpenExtensionPrefsAsync@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:124:33
async*_handleMethodCall@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:373:35
_wrapJSObject/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:408:34
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:186:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:22:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
ahmedabdelhamidabd commented 11 months ago

it is the same issue in Kali

neffo commented 11 months ago

And extension version 45 from EOG on GNOME 44?

neffo commented 10 months ago

Noting that this is now a legacy branch issue, I've got fixes in a branch that haven't been sent to EGO. I will see if I can push a legacy version (will likely be the final unless there's a huge issue here).

mottasystem commented 3 months ago

Editei o arquivo /home/$usuario/.local/share/gnome-shell/extensions/BingWallpaper@ineffable-gmail.com/prefs.js. Modifiquei a linha imports.gi.versions.Soup = "2.4" para imports.gi.versions.Soup = "3.0" e voltou a funcionar para mim. Utilizo Debian 12

Translated for english I edited the file /home/$usuario/.local/share/gnome-shell/extensions/BingWallpaper@ineffable-gmail.com/prefs.js. I changed the line imports.gi.versions.Soup = "2.4" to imports.gi.versions.Soup = "3.0" and it worked for me again. I use Debian 12