wbolster / nothing-to-say

gnome shell extension to only unmute the microphone when you have something to say
GNU General Public License v2.0
250 stars 23 forks source link

Error loading extension #47

Closed cyrilf closed 2 years ago

cyrilf commented 2 years ago

Since the last updates from yesterday (16/02) and v13, this extension is in error state with the following message: "Error loading extension".

I'm using GNOME Shell 3.36.9 and extension version 13. Before that it was always working (and a huge thanks for that!)

View from Gnome Tweak Tools: Screenshot from 2022-02-17 08-08-16


View from extensions.gnome.org Screenshot from 2022-02-17 08-08-53


Let me know if you need more info/log (and how to find them).

Thanks!

szpak commented 2 years ago

I would bet on https://github.com/wbolster/nothing-to-say/pull/37, but @BenignBeppe claimed it tested it with 3.36.9, so maybe #43. You may check journalctl /usr/bin/gnome-shell to see the error (and a stack trace).

cyrilf commented 2 years ago

Thanks for the journalctl /usr/bin/gnome-shell tip.

It helped me find this issue which had the same error message as I did (on a different extension).

Deleting the extension and then rebooting my laptop (as suggested in this comment) solved my issue.

It now works seemlessly.. :tada: Thanks for your reactivity! :sparkles:


the goold old reboot-solve-everything-trick :see_no_evil:

wbolster commented 2 years ago

reopening b/c #48 by @juanriqu

needs more info though.

juanriqu commented 2 years ago

reopening b/c #48 by @juanriqu

needs more info though.

What type of info? I don't know what type how I can find it. Please say me I don't know to much about gnome yet.

cyrilf commented 2 years ago

@juanriqu For your info, what I did was:


Update: I re-ran into the same issue just now. The logs are

feb. 17 19:43:30 x-linux gnome-shell[2787]: JS WARNING: [resource:///org/gnome/shell/misc/extensionUtils.js 217]: reference to undefined property "metadata"
feb. 17 19:43:37 x-linux gnome-shell[2787]: JS ERROR: Extension nothing-to-say@extensions.gnome.wouter.bolsterl.ee: Error: A different version was loaded previously. You need to log out for changes to take effect.
                                                   loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:343:52
                                                   callback@resource:///org/gnome/shell/ui/extensionDownloader.js:234:39
                                                   gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:115:13
tonybolzan commented 2 years ago

I have a problem with update this week (14~18 Feb 2022) because a new dependency added to project

Error message

Requiring GstAudio, version none: Typelib file for namespace 'GstAudio' (any version) not found

Solution

sudo apt install gir1.2-gst-plugins-base-1.0

Environment

wbolster commented 2 years ago

@cyrilf

juanriqu commented 2 years ago

@cyrilf

* reboot before doing anything below

* open a terminal, run `$ journalctl -b -f /usr/bin/gnome-shell`

* open the extensions UI, enable the extension

* watch the output and check what error is reported

It gave me this error in extensions app, cant enable the extensions, Requiring GstAudio, version none: Typelib file for namespace 'GstAudio' (any version) not found

juanriqu commented 2 years ago

Solved by installing sudo apt install gir1.2-gst-plugins-base-1.0, Thanks for all the help, now it works

wbolster commented 2 years ago

this is now also mentioned in the readme