alipirpiran / Crypto-Price-Tracker-for-Gnome-Shell

An extension for Gnome-Shell to track price of crypto-currencies
https://extensions.gnome.org/extension/2817/crypto-price-tracker/
MIT License
47 stars 13 forks source link

Gnome 46 #36

Closed Strykar closed 5 months ago

Strykar commented 6 months ago

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

Strykar commented 6 months ago

@alipirpiran What is preventing it from working on v46?

alipirpiran commented 6 months ago

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.

foegra commented 6 months ago

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

Strykar commented 6 months ago

@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
alipirpiran commented 6 months ago

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?

Strykar commented 6 months ago

@alipirpiran Thanks, now it posts an error:

Extension crypto@alipirpiran.github: TypeError: this._coinsScrollview.add_actor is not a function

Stack trace:
  Indicator@file:///home/strykar/.local/share/gnome-shell/extensions/crypto@alipirpiran.github/extension.js:72:29
  enable@file:///home/strykar/.local/share/gnome-shell/extensions/crypto@alipirpiran.github/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
naups commented 6 months ago

just use vscode, then change every text add_actor to add_child

Strykar commented 6 months ago

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.

naups commented 6 months ago

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

prove here image

Strykar commented 6 months ago

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

naups commented 5 months ago

will see later

muntaxir4 commented 5 months ago

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.

Strykar commented 5 months ago

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?

alipirpiran commented 5 months ago

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?

Strykar commented 5 months ago

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!