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

Error in settings #50

Open
karanmathew03 opened this issue Jan 28, 2022 · 1 comment
Open

Error in settings #50

karanmathew03 opened this issue Jan 28, 2022 · 1 comment

Comments

@karanmathew03
Copy link

I am getting this when I open settings
`
The settings of extension blur-me@nunchucks had an error:

TypeError: this._sigma_scale is null

Stack trace:

_init@/home/admin/.local/share/gnome-shell/extensions/blur-me@nunchucks/prefs.js:36:7
buildPrefsWidget@/home/admin/.local/share/gnome-shell/extensions/blur-me@nunchucks/prefs.js:165:10
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:207:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:122:28
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:132:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:222:19
start@resource:///org/gnome/gjs/modules/script/package.js:206:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17

`

@adxl
Copy link

adxl commented Mar 18, 2022

Same error for me.

It's coming from this snippet in prefs.js:

...

class BlurMePrefsWidget extends Gtk.Box {
    _init(params = {}) {
      super._init(params);

      // ! sigma
      this._sigma_scale.set_value(config.SIGMA.get());    <-------- here

      // ! brightness
      this._brightness_scale.set_value(config.BRIGHTNESS.get());

      // ! blur dash
      this._blur_dash.set_active(config.BLUR_DASH.get());

      ...
}

Also happens with the other properties if the previous one is commented out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants