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 on Ubuntu 20.10 #157

Open
ox15 opened this issue Jan 29, 2021 · 3 comments
Open

Error on Ubuntu 20.10 #157

ox15 opened this issue Jan 29, 2021 · 3 comments

Comments

@ox15
Copy link

ox15 commented Jan 29, 2021

I got the following error on Ubuntu 20.10:

SyntaxError: missing ( after for

Stack trace:
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
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
@crlshn
Copy link

crlshn commented Feb 21, 2021

The settings of extension temperature@xtranophilist had an error:

SyntaxError: missing ( after for

Stack trace:

_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:204:33
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

same here
ubuntu 20.10
❯ sudo apt-get install lm-sensors hddtemp
❯ sudo sensors-detect

@trycrmr
Copy link

trycrmr commented Feb 22, 2021

Error is probably because JavaScript files use a deprecated for each loop syntax, but the readme redirects folks to use freon https://extensions.gnome.org/extension/841/freon/ . Had no issues thus far on Ubuntu 20.04 with Freon.

@ghost
Copy link

ghost commented Mar 6, 2021

@crlshn I got the same error while installing the Sensors plugin. I tried your solution, but it didn't work.

Screenshot from 2021-03-05 14-19-20

@trycrmr I tried your solution, but it didn't work. The version of the Freon plugin listed in 841th is only working.

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

3 participants