Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There was an error loading the preferences dialogue for Put Window: #124

Closed
maxcr opened this issue May 11, 2017 · 16 comments
Closed

There was an error loading the preferences dialogue for Put Window: #124

maxcr opened this issue May 11, 2017 · 16 comments

Comments

@maxcr
Copy link

maxcr commented May 11, 2017

TypeError: redeclaration of let intelligenCornerSwitch

Stack trace:
  Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:74:13
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:89:31
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/lang.js:178:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:399:5
  @<main>:1:49
@negesti
Copy link
Owner

negesti commented May 11, 2017

this should be fixed in the current github version

@maxcr
Copy link
Author

maxcr commented May 14, 2017

If I use github version my whole shell crashes, and kills all running progs.

@negesti
Copy link
Owner

negesti commented May 14, 2017

That sounds really strange. I'm using the current version without problems.
What's your gnome she'll version? The redeclaration is normally just a warning.

@agreco
Copy link

agreco commented Jun 6, 2017

How do I install this plugin via cloning this repo?

@negesti
Copy link
Owner

negesti commented Jun 7, 2017

Have a look at the wiki

Basically you need a folder called "putWindow@clemens.lab21.org" inside ~/.local/share/gnome-shell/extensions/

@negesti
Copy link
Owner

negesti commented Jun 8, 2017

@maxcr can i close this issue?

@agreco
Copy link

agreco commented Jun 9, 2017

I followed your steps and putWindow does install, but the script error still occurs when accessing the configuration from Tweak.

@negesti
Copy link
Owner

negesti commented Jun 9, 2017

I guess you are on the master branch. should work now after git pull or checkout develop

@agreco
Copy link

agreco commented Jun 9, 2017

I'm on develop, for sure

@negesti
Copy link
Owner

negesti commented Jun 9, 2017

the redeclaration was fixed in #120 nearly two months ago. Maybe something else kills the preferences for you? can you run it from console and check the log?

 gnome-shell-extension-prefs  putWindow@clemens.lab21.org

@agreco
Copy link

agreco commented Jun 9, 2017

As per the instructions on the wiki, the folder,putWindow@clemens.lab21.org doesn't exist within the repo.

@agreco
Copy link

agreco commented Jun 9, 2017

I've checked out develop, and its not there so I can't move it to ~/.local{...}/gnome-shell/extensions

I must be missing something

@negesti
Copy link
Owner

negesti commented Jun 9, 2017

Just create the folder and move/link the files. I will update the wiki. I removed the subfolder ages ago and cloned the repo into a folder with the correct name.

Gnome shell only recognizes the extension if the folder name matches the name defined in metadata.json...

@negesti
Copy link
Owner

negesti commented Jun 13, 2017

I've added installation instructions to the readme and uploaded a release zip that can be installed using gnome-tweak-tool

@AKoetsier
Copy link

Had the same problem. After manually installing the latest zip (v20.1.0) I can open the preferences again.

@agreco
Copy link

agreco commented Jun 18, 2017

I can confirm that the latest release zip, does allow preferences to be accessed.

@negesti negesti closed this as completed Nov 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants