Crypto-Price-Tracker-for-Gnome-Shell icon indicating copy to clipboard operation
Crypto-Price-Tracker-for-Gnome-Shell copied to clipboard

Gnome 46

Open Strykar opened this issue 10 months ago • 10 comments

Hi, still not working in Gnome 46, I've tried updating the version like before but it still says outdated.

Strykar avatar Apr 18 '24 09:04 Strykar

@alipirpiran What is preventing it from working on v46?

Strykar avatar Apr 30 '24 12:04 Strykar

Hello, Gnome version 46 is currently unavailable for me to test. Here are some ways to check logs: alt+f2, "lg", check extension error
or journalctl -f -o cat /usr/bin/gnome-shell and check logs.

alipirpiran avatar Apr 30 '24 13:04 alipirpiran

vote for it - would be good to have support for it on gnome 46, otherwise - can't install the extension at all.

foegra avatar May 04 '24 21:05 foegra

@alipirpiran Nothing appears to be logged when I try to start it via the Extensions app, via browser it just says Outdated with no option to start it.

$ sudo journalctl -f -o cat /usr/bin/gnome-shell
Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Boxes.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Boxes.SearchProvider without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Received error from D-Bus search provider org.gnome.Terminal.desktop: Gio.IOErrorEnum: Cannot invoke method; proxy is for the well-known name org.gnome.Terminal without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag

Strykar avatar May 06 '24 14:05 Strykar

I added version 46 to the metadata.json file and sent the extension to https://extensions.gnome.org/. Could you check if the error still exists?

alipirpiran avatar May 06 '24 17:05 alipirpiran

@alipirpiran Thanks, now it posts an error:

Extension [email protected]: TypeError: this._coinsScrollview.add_actor is not a function

Stack trace:
  Indicator@file:///home/strykar/.local/share/gnome-shell/extensions/[email protected]/extension.js:72:29
  enable@file:///home/strykar/.local/share/gnome-shell/extensions/[email protected]/extension.js:127:23
  _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:266:38
  loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:478:32
  async*_onInstallButtonPressed@resource:///org/gnome/shell/ui/extensionDownloader.js:326:35
  async*addButton/<@resource:///org/gnome/shell/ui/dialog.js:134:41
  @resource:///org/gnome/shell/ui/init.js:21:20

Strykar avatar May 06 '24 18:05 Strykar

just use vscode, then change every text add_actor to add_child

naups avatar May 10 '24 12:05 naups

just use vscode, then change every text add_actor to add_child

Some progress, it still fails to start, and logs TypeError: this.add is not a function.

Strykar avatar May 11 '24 07:05 Strykar

change it to add_child too, its like hbox.add and vbox.add to hbox.add_child and vbox.add_child

prove here image

naups avatar May 11 '24 10:05 naups

Nope, now it fails with ReferenceError: add_child is not defined. @naups Why not post a PR with your changes?

Strykar avatar May 12 '24 01:05 Strykar

will see later

naups avatar May 16 '24 01:05 naups

just use vscode, then change every text add_actor to add_child

Some progress, it still fails to start, and logs TypeError: this.add is not a function.

Search .add( and replace all with .add_child( . This worked for me.

muntaxir4 avatar May 20 '24 20:05 muntaxir4

just use vscode, then change every text add_actor to add_child

Some progress, it still fails to start, and logs TypeError: this.add is not a function.

Search .add( and replace all with .add_child( . This worked for me.

That just changes the error to add_child is not defined, ship a PR someone?

Strykar avatar May 21 '24 11:05 Strykar

https://github.com/alipirpiran/Crypto-Price-Tracker-for-Gnome-Shell/pull/37 I have merged this pull request and published the new version. Could you please check?

alipirpiran avatar May 21 '24 14:05 alipirpiran

#37 I have merged this pull request and published the new version. Could you please check?

Removed and re-installed from extensions.gnome.org. It is now working, thank you!

Strykar avatar May 23 '24 09:05 Strykar