projecthamster / hamster-shell-extension

Shell extension for hamster
http://projecthamster.org
GNU General Public License v3.0
217 stars 92 forks source link

failed to load (schemas/gschemas.compiled not found) #82

Closed marcolaux closed 9 years ago

marcolaux commented 9 years ago

Gjs-Message: JS LOG: Extension "hamster@projecthamster.wordpress.com" had error: GLib.FileError: File »/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/schemas/gschemas.compiled« could not be opened: open() failed: file or folder not found Gjs-WARNING **: JS ERROR: TypeError: Shell.StageInputMode is undefined

just updated to the newest version.

i also removed the extension and installed it again.

Fedora 20 GNOME Shell 3.10.4

ghost commented 9 years ago

I'm getting the same thing on Arch x64 with Gnome 3.14

GLib.FileError: Failed to open file '/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/schemas/gschemas.compiled': open() failed: No such file or directory

Stack trace: getSettings@/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/convenience.js:82 HamsterSettingsWidget<._init@/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/prefs.js:20 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 buildPrefsWidget@/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/prefs.js:138 Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:96 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:260 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 main@resource:///org/gnome/shell/extensionPrefs/main.js:398 @

:1

toupeira commented 9 years ago

As a temporary fix you can copy the files in schemas from the repository to ~/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/schemas.

@tbaugis I fixed the build script to include subdirectories, can you update the extension or give me access to extensions.gnome.org?

tstriker commented 9 years ago

Thanks @toupeira! Uploaded the fixed version, hope it will be approved soon enough. As for how the ownership works on extensions.gnome.org - i've no idea :)

alphaK23a commented 9 years ago

Hi!

Similar problem here. Made an update, and got an error. Uninstalled the extension and the core-app. Reinstalled the app, but could not reinstall the extension:

GLib.FileError: Datei »/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/schemas/gschemas.compiled« konnte nicht geöffnet werden: open() ist gescheitert: Datei oder Verzeichnis nicht gefunden

Stack trace: getSettings@/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/convenience.js:82 HamsterSettingsWidget<._init@/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/prefs.js:20 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 buildPrefsWidget@/home/USER/.local/share/gnome-shell/extensions/hamster@projecthamster.wordpress.com/prefs.js:138 Application<._selectExtension@/usr/share/gnome-shell/js/extensionPrefs/main.js:102 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._extensionSelected@/usr/share/gnome-shell/js/extensionPrefs/main.js:121 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._selectExtension@/usr/share/gnome-shell/js/extensionPrefs/main.js:112 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._extensionsLoaded@/usr/share/gnome-shell/js/extensionPrefs/main.js:221 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 _emit@resource:///org/gnome/gjs/modules/signals.js:124 ExtensionFinder<._extensionsLoaded@/usr/share/gnome-shell/js/misc/extensionUtils.js:178 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 done@/usr/share/gnome-shell/js/misc/fileUtils.js:33 _collectFromDirectoryAsync/</<@/usr/share/gnome-shell/js/misc/fileUtils.js:51 onNextFileComplete@/usr/share/gnome-shell/js/misc/fileUtils.js:21 main@/usr/share/gnome-shell/js/extensionPrefs/main.js:278 @:1

toupeira commented 9 years ago

@tbaugis I've created an account now as markus-koller@gmx.ch, if you want you can send them an email to ask if they can transfer the ownership.

marcolaux commented 9 years ago

@toupeira: manual copy worked

tstriker commented 9 years ago

@toupeira not sure who would those "they" be :) i think we could just try you pushing the extension next time (i suspect that we should update the authors section of metadata first)

toupeira commented 9 years ago

@tbaugis ok will give that a try!