sakithb / media-controls

A media indicator for the Gnome shell.
MIT License
221 stars 33 forks source link

Not working on Fedora Workstation 39. #117

Closed Xeo23 closed 5 months ago

Xeo23 commented 6 months ago

Extension version - 31 Gnome - 45.2 Fedora Workstation 39

Error - this.player.containerControls is undefined

image

ChrisLauinger77 commented 6 months ago

Can you try to remove it and install it again from E.G.O. ? I have it running on debian testing and it works for every player I tested. FF Chromium VLC spotify spotube ... If reinstall does not help I guess we need a log file (but 1st try reinstall pls)

ChrisLauinger77 commented 6 months ago

And of course after an extension update the gnome-shell needs to be restarted to load all the changes.

Xeo23 commented 6 months ago

I tried to reinstall but it didn't resolve the issue.

ChrisLauinger77 commented 6 months ago

No idea why its not working 4 u. If it would be a general problem we would have more reports. Seems something on the local machine isn't right. Can U attach a log file ? Or even the zipped extension folder ?

Xeo23 commented 6 months ago

No idea why its not working 4 u. If it would be a general problem we would have more reports. Seems something on the local machine isn't right. Can U attach a log file ? Or even the zipped extension folder ?

yeah sure, but don't know where to look for the log.

ChrisLauinger77 commented 6 months ago

No idea why its not working 4 u. If it would be a general problem we would have more reports. Seems something on the local machine isn't right. Can U attach a log file ? Or even the zipped extension folder ?

yeah sure, but don't know where to look for the log.

not sure at Fedora either. so zip the extensions folder and attach it - I wanna compare whats installed to what should be

Xeo23 commented 6 months ago

extensions.zip

there it is.. I recently noticed it does work sometimes for a few minutes when logging in but then then just disappears with the above-mentioned error message in the extensions manager.

ChrisLauinger77 commented 6 months ago

You have the newest version of all files. Thats not the problem - but I have no idea what it is tbh. Some package of gnome / javascript might be nor updated on the local machine. I am not a fedora user. Maybe somebody else knows what can be checked on fedora. For me at debian it works.

gmg137 commented 6 months ago

openSUSE Tumbleweed's gnome 45.2 has the same problem.

Xeo23 commented 6 months ago

openSUSE Tumbleweed's gnome 45.2 has the same problem.

do you know any fix for it..?

gmg137 commented 6 months ago

do you know any fix for it..?

I don't know, I had that problem after a recent update.

Gen3ric commented 6 months ago

This is the error I get:

Dec 23 10:15:41 fedora gnome-shell[2357]: JS ERROR: Extension <mediacontrols@cliffniff.github.com>: Error: Extension point conflict: there is already a status indicator for role media_controls_extension
                                          addToStatusArea@resource:///org/gnome/shell/ui/panel.js:937:19
                                          enable@file:///home/username/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:270:24
                                          enable@file:///home/username/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/extension.js:10:21
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:252:38
                                          async*_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:606:24
                                          _loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:705:18
                                          createCheckedMethod/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:730:46
                                          enableExtension@resource:///org/gnome/shell/ui/extensionSystem.js:276:29
                                          _onInstallButtonPressed@resource:///org/gnome/shell/ui/extensionDownloader.js:301:40
                                          async*addButton/<@resource:///org/gnome/shell/ui/dialog.js:134:41
                                          @resource:///org/gnome/shell/ui/init.js:21:20
Dec 23 10:15:41 fedora gnome-shell[2357]: Ignoring length property that isn't a number at line 1, col 12
Dec 23 10:15:41 fedora gnome-shell[2357]: JS ERROR: TypeError: app is null
                                          get icon@file:///home/username/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:1082:21
                                          initWidgets@file:///home/username/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/player.js:124:17
                                          updatePlayer@file:///home/username/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:505:33
                                          _connectDbus/<@file:///home/username/.local/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/widget.js:407:26
                                          async*asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
                                          @resource:///org/gnome/shell/ui/init.js:21:20
shmu26 commented 6 months ago

I can confirm that it is not working on Fedora Workstation 39.