2nv2u / gnome-shell-extension-syncthing-indicator

Put an indicator on the panel signalling the Syncthing daemon status using SystemD
https://extensions.gnome.org/extension/1070/syncthing-indicator/
GNU General Public License v3.0
59 stars 10 forks source link

Gnome 42.4 Error: Object 0x25caec0a3430 is not a subclass of GObject_Object, it's a Promise #24

Closed rubberbander closed 1 year ago

rubberbander commented 2 years ago

OS: Fedora Linux 36 (Workstation Edition) Gnome Version: 42.4 Windowing System: Wayland

The Syncthing Indicator extension is broken. The extension loads successfully and I can see the icon on the top bar, but nothing works. The extension does not connect to the Syncthing service although it does successfully starts the service (I can see it running in the System Monitor). It does not show any of the connected devices or synced folders.

In the Extensions application, the extension is shown as not enabled (even though it is) and the following error message is shown:

Object 0x25caec0a3430 is not a subclass of GObject_Object, it's a Promise

Screenshot from 2022-09-27 13-14-01

aguillotc commented 2 years ago

@rubberbander

Are you using https://extensions.gnome.org/extension/615/appindicator-support/ too ?

I had the exact same issue as you for days. Just today, I just updated this other etxension through my regular update routine, and now just after a reboot of Gnome (Alt+F2, type r, then enter) the syncthing extension works again.

miadabdi commented 2 years ago

@aguillotc I can confirm it is caused by version 46 of app-indecator extension. downgrading to 45 fixed the problem.

Edit: does app-indecator auto update itself? it automattically got updated to 46 and there it goes again, facing the same error.

rubberbander commented 2 years ago

@miadabdi All Gnome extensions update automatically. I don't think there's a way to disable that.

aguillotc commented 2 years ago

You can install a Gnome extension manually, to avoid the problem of auto-update if you have such thing, I think.

The process is not complicated at all, you just have to do some manual work as depicted in this example article I took randomly on Internet : Manual Installation of GNOME Extension from ZIP File [Easy Steps].

miadabdi commented 2 years ago

Still no solution? (besides downgrading app-indecator)

Havard-SL commented 2 years ago

I managed to solve it by removing the "AppIndicator and KStatusNotifierItem Support" extension from extensions, and rather downloading it through the terminal with "sudo dnf install gnome-shell-extension-appindicator".

Turns out I already had gnome-shell-extension-appindicator installed on my system, maybe that caused the issue?

Thanks to AsciiWolf on the gnome extensions website for writing about the dnf package! https://extensions.gnome.org/extension/615/appindicator-support/

frost19k commented 2 years ago

@Havard-SL

I managed to solve it by removing the "AppIndicator and KStatusNotifierItem Support" extension from extensions

I don't understand what you mean by this. Gnome Extensions app does not allow you to "add/install" or "remove/uninstall" extensions - just "activate/deactivate" them.

Turns out I already had gnome-shell-extension-appindicator installed on my system

"AppIndicator and KStatusNotifierItem Support" & gnome-shell-extension-appindicator are the same thing.

Could you please paste the output of the following command? dnf info gnome-shell-extension-appindicator

miadabdi commented 2 years ago

@Havard-SL That did not work. I still have the same issue.

2nv2u commented 2 years ago

I'm not sure what to do about this, any suggestions?

2nv2u commented 1 year ago

Since this hasn't been updated for a while and I don't have an idea if this is actually an issue of this extension, I'm closing this for now.