Open xasx opened 7 years ago
I found that you need to press Alt + F2 and type the command r to restart Gnome Shell before/after installing/updating the extension. It will be great if it can be "fixed".
@xasx The log you pasted here shows a normal installation output. Which is basically extracting the extension ZIP file into a specific sub-directory of your home directory. I have no idea what does Gnome do in addition to get extensions installed. If turning on the switch does not produces an error, then there is not much I can do.
As a workaround you can try what Paviluf suggested, or log out and log back in again.
This is the error I'm getting via the Tweak tool:
GLib.FileError: Failed to open file '/home/casey/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/schemas/gschemas.compiled': open() failed: No such file or directory
Stack trace:
getSettings@/home/casey/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/convenience.js:82
SystemMonitorPrefsWidget<._init@/home/casey/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/prefs.js:195
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
buildPrefsWidget@/home/casey/.local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com/prefs.js:258
Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:238
wrapper@resource:///org/gnome/gjs/modules/lang.js:178
main@resource:///org/gnome/shell/extensionPrefs/main.js:376
@
I will note that all other extensions are working.
Well, after a reboot, I can install it again.
However, updating makes the users losing the extension once, in turn forcing them to re-install after a re-load/boot. If you don't consider this as a problem, feel free to close.
@xasx Well, I can reproduce this bug by deleting the extension and try to install it again. Most likely some resource weren't freed up after removing. Restarting the Shell resolves this. However I have no idea what could be that resource allocation. I'll try to track it down.
@caseyjp11 I don't get such an error using the Tweak Tool. Furthermore if I look at the log from @xasx, it's clear that gschemas.compiled has been extracted from the ZIP.
I went back to the version 1.0.0 of the extension, installed it and tries to update. Same thing happened. So this bug is there from the start.
I reported the bug upstream. Hopefully somebody will be able to give guidance.
I've tried to upgrade two other extensions, and they both install, and the folders empty out. Tweak tool then reports the same errors. To get around the issue, I reinstalled both extensions manually and restarted the shell. Both extensions work, but show up as "upgradeable" at that point.
Unfortunately with the latest release of this extension it does not start or show up. I'm going to revert to the older version and try to install it manually to see if there is any difference.
Two more attempts to install, via tweaktool and a manual copy into the directory both generate the same error I posted above. I'm seeing no errors with any other extension. Just fyi.
I use the chrome-extensions plugin. It was updated today, and no more issues. Your extension is behaving normally. fyi.
@caseyjp11 Thanks for the feedback.
I cannot install it in Ubuntu GNOME 16.04.1. On the Gnome Extensions Web site, the switch returns to "off" by itself. No directory .local/share/gnome-shell/extensions/System_Monitor@bghome.gmail.com
is even created.
@alexeymuranov Do you have the dependencies installed for Ubuntu? See installation instructions.
No, i didn't know about dependencies. Now it works, thanks! Maybe the dependencies should be mentioned on GNOME Extensions page?
By the way for any user encountering issue related to extensions installation, you can grab some error logs with dbus-monitor
. For instance you may see logs like:
error time=1487276417.235767 sender=:1.15 -> destination=:1.963 error_name=org.gnome.Shell.DownloadExtensionError reply_serial=46
string "404"
For instance if you did not install libgtop, you will have the following error when trying to install:
error time=1487276692.164984 sender=:1.967 -> destination=:1.963 error_name=org.gnome.Shell.LoadExtensionError reply_serial=99
string "Error: Requiring GTop, version none: Typelib file for namespace 'GTop' (any version) not found"
I installed Fedora 26 and I could install the extension without any problem.
After upgrading on the Gnome extensions Website, the extension does not show as installed anymore.
Additionally, after installing it by switching it on on https://extensions.gnome.org/extension/1064/system-monitor/, it immediately turns to OFF again. This effectively prevents the extension's usage.
Using
The only thing I get from jouralctl is: