gnome-shell-extension-syncthing-indicator icon indicating copy to clipboard operation
gnome-shell-extension-syncthing-indicator copied to clipboard

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

Open rubberbander opened this issue 2 years ago • 9 comments

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

rubberbander avatar Sep 27 '22 18:09 rubberbander

@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.

aguillotc avatar Sep 30 '22 16:09 aguillotc

@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.

miadabdi avatar Oct 01 '22 06:10 miadabdi

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

rubberbander avatar Oct 01 '22 14:10 rubberbander

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].

aguillotc avatar Oct 01 '22 17:10 aguillotc

Still no solution? (besides downgrading app-indecator)

miadabdi avatar Oct 21 '22 10:10 miadabdi

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/

Havard-SL avatar Oct 22 '22 11:10 Havard-SL

@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

frost19k avatar Oct 24 '22 12:10 frost19k

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

miadabdi avatar Oct 24 '22 13:10 miadabdi

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

2nv2u avatar Oct 29 '22 21:10 2nv2u

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.

2nv2u avatar May 07 '23 12:05 2nv2u