timbertson / shellshape

tiling window manager extension for gnome-shell
http://gfxmonk.net/shellshape/
Other
396 stars 38 forks source link

Loading error on gnome 3.10 #122

Closed tusj closed 10 years ago

tusj commented 11 years ago

After running DISPLAY=:0 0launch -c http://gfxmonk.net/dist/0install/shellshape.xml --replace I get an error:

Gjs-Message: JS LOG: Extension shellshape@gfxmonk.net already installed in /home/s/.cache/0install.net/implementations/sha256new_DWNRYH5LLWDCEDYX4HEMRTR5WSWBKYWNOZPHR4BPHLVUAHWP3N2Q/xdg/data/gnome-shell/extensions/shellshape@gfxmonk.net. /home/s/.local/share/gnome-shell/extensions/shellshape@gfxmonk.net will not be loaded

What can I do about this? I am running gnome 3.10.

timbertson commented 11 years ago

Looks like you've got it installed in your home directory already, so it's seeing two copies. You can delete that version (/home/s/.local/share/gnome-shell/extensions/shellshape@gfxmonk.net) or just move it somewhere else for now - I'm not really sure what you're trying to do.

tusj commented 11 years ago

I am trying to get it working, as per your instructions on http://gfxmonk.net/shellshape/ :)

Removed the extension from .local as you said, and did not get the error message when I called 0launch. But when trying to enable the exension in gnome-tweak-tool as per your instructions, it was grayed out and the warning sign shows. So that's why I figured it could be some 3.10 issues.

timbertson commented 11 years ago

Ahh sorry, I didn't quite understand what you were trying to do. Shellshape doesn't yet declare compatibility with 3.10 as nobody has tested it, so to you'll need to add "3.10" to shellshape/metadata.json (https://github.com/gfxmonk/shellshape/blob/master/shellshape/metadata.json). Please let me know if it works, and I'll add it officially.

tusj commented 11 years ago

Thanks. I cloned the repo to the home dir, and changed the file under shellshape/metadata.json.

But I got a message that shellshape couldn't find metadata.json, so I symlinked it to the root of the repository, and that seemed to work.

I did manage to start it once without any errors, and I could enable it in gnome-tweak-tool, but without any functionality.. But later attempts gives me this error:

INFO : set log level DEBUG for shellshape.*
INFO :  ---- Shellshape starting ---- 
Gjs-Message: JS LOG: no icon dir found at /home/s/shellshape@gfxmonk.net/xdg/data/gnome-shell/extensions/shellshape@gfxmonk.net/xdg/data/icons - assuming globally installed

(gnome-shell:1880): Gjs-WARNING **: JS ERROR: TypeError: PanelMenu.SystemStatusButton is undefined
@/home/s/shellshape@gfxmonk.net/xdg/data/gnome-shell/extensions/shellshape@gfxmonk.net/indicator.js:60
@/home/s/shellshape@gfxmonk.net/xdg/data/gnome-shell/extensions/shellshape@gfxmonk.net/extension.js:17
initExtension@/usr/share/gnome-shell/js/ui/extensionSystem.js:205
loadExtension@/usr/share/gnome-shell/js/ui/extensionSystem.js:153
@/usr/share/gnome-shell/js/ui/extensionSystem.js:267
_emit@/usr/share/gjs-1.0/signals.js:124
ExtensionFinder<._loadExtension@/usr/share/gnome-shell/js/misc/extensionUtils.js:174
wrapper@/usr/share/gjs-1.0/lang.js:213
@/usr/share/gnome-shell/js/misc/fileUtils.js:50
onNextFileComplete@/usr/share/gnome-shell/js/misc/fileUtils.js:21

(gnome-shell:1880): Gjs-WARNING **: JS ERROR: TypeError: PanelMenu.SystemStatusButton is undefined
@/home/s/shellshape@gfxmonk.net/xdg/data/gnome-shell/extensions/shellshape@gfxmonk.net/indicator.js:60
@/home/s/shellshape@gfxmonk.net/xdg/data/gnome-shell/extensions/shellshape@gfxmonk.net/extension.js:17
initExtension@/usr/share/gnome-shell/js/ui/extensionSystem.js:205
loadExtension@/usr/share/gnome-shell/js/ui/extensionSystem.js:153
@/usr/share/gnome-shell/js/ui/extensionSystem.js:267
_emit@/usr/share/gjs-1.0/signals.js:124
ExtensionFinder<._loadExtension@/usr/share/gnome-shell/js/misc/extensionUtils.js:174
wrapper@/usr/share/gjs-1.0/lang.js:213
@/usr/share/gnome-shell/js/misc/fileUtils.js:50
onNextFileComplete@/usr/share/gnome-shell/js/misc/fileUtils.js:21

Gjs-Message: JS LOG: Extension "shellshape@gfxmonk.net" had error: TypeError: PanelMenu.SystemStatusButton is undefined
timbertson commented 11 years ago

OK, this should be fixed as of f09cfe0904c665cebb7e4b3c21e43d0d99e26ba4 I've uploaded 0.7 to gnome shell extensions site, but it takes some time to pass review.

tusj commented 10 years ago

I'll close this one now. Works for 3.10.3