gnome-shell-extension-sensors icon indicating copy to clipboard operation
gnome-shell-extension-sensors copied to clipboard

syntax error while accessing extension settings

Open vasyugan opened this issue 10 years ago • 4 comments

SyntaxError: syntax error

Stack trace: @/home/xx/.local/share/gnome-shell/extensions/temperature@xtranophilist/prefs.js:9 Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:86 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:101 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._extensionSelected@resource:///org/gnome/shell/extensionPrefs/main.js:121 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:112 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:245 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 main@resource:///org/gnome/shell/extensionPrefs/main.js:278 @

:1

vasyugan avatar Jun 13 '14 20:06 vasyugan

This happens on gnome-shell 3.10.4-0ubuntu5.1 after compliling and installing extension. it fails at line "const Utilities = Me.imports.utilities;" so maybe it has something to do with utilities.js. Sadly I have no idea about gnome extension development.

jaarandaz avatar Jun 20 '14 14:06 jaarandaz

Hi. I have Debian testing and from site i can enable addon but now work, so i builded from github and work but i ca't enter in the Settings, when i click it nothing happen

fabrixx avatar Jul 22 '14 20:07 fabrixx

I have the same issue with little more verbosity regarding the syntax error.

ii gnome-shell 3.30.1-2ubuntu1 amd64 graphical shell for the GNOME desktop

sensors extension installed via web. The issue happens for entering settings for the extension, settings for other extensions are working just fine.

SyntaxError: missing ( after for

Stack trace:
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:67:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:82:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:235:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:389:5
  @<main>:1:43

tymik avatar Nov 14 '18 10:11 tymik

This repository is unmaintained. You need to switch to using https://github.com/UshakovVasilii/gnome-shell-extension-freon

russel avatar Nov 14 '18 10:11 russel