negesti/gnome-shell-extensions-negesti

extensionUtils.getSettings is not a function

hemebond opened this issue · 11 comments

Extension stopped working with the latest update. Uninstalled and then re-installed manually from Github clone and it fails with the same issue.

Debian 5.2.9-2 (2019-08-21) x86_64 GNU/Linux with Gnome-Shell 3.30.2

Sep 26 11:46:40 excession gnome-shell[17814]: Extension "putWindow@clemens.lab21.org" had error: TypeError: extensionUtils.getSettings is not a function
Sep 26 11:46:40 excession gnome-shell[17814]: Some code called array.toString() on a Uint8Array instance. Previously this would have interpreted the bytes of the array as a string, but that is nonstandard. In the future this will return the bytes as comma-separated digits. For the time being, the old behavior has been preserved, but please fix your code anyway to explicitly call ByteArray.toString(array).
                                              (Note that array.toString() may have been called implicitly.)
                                              0 getCards() ["/home/james/.local/share/gnome-shell/extensions/shell-volume-mixer@derhofbauer.at/utils.js":98]
                                              1 _getCardDetails() ["/home/james/.local/share/gnome-shell/extensions/shell-volume-mixer@derhofbauer.at/mixer.js":336]
                                              2 wrapper() ["resource:///org/gnome/gjs/modules/_legacy.js":82]
                                              3 _init() ["/home/james/.local/share/gnome-shell/extensions/shell-volume-mixer@derhofbauer.at/mixer.js":49]
                                              4 wrapper() ["resource:///org/gnome/gjs/modules/_legacy.js":82]
                                              5 _Base.prototype._construct() ["resource:///org/gnome/gjs/modules/_legacy.js":18]
                                              6 newClass() ["resource:///org/gnome/gjs/modules/_legacy.js":114]
                                              7 enable() ["/home/james/.local/share/gnome-shell/extensions/shell-volume-mixer@derhofbauer.at/extension.js":48]
                                              8 enableExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":135]
                                              9 loadExtension() ["resource:///org/gnome/shell/ui/extensionSystem.js":181]
                                              10 _loadExtensions/<() ["resource:///org/gnome/shell/ui/extensionSystem.js":328]
                                              11 _emit() ["resource:///org/gnome/gjs/modules/signals.js":128]
                                              12 _loadExtension() ["resource:///org/gnome/shell/misc/extensionUtils.js":186]
                                              13 wrapper() ["resource:///org/gnome/gjs/modules/_legacy.js":82]
                                              14 scanExtensions/<() ["resource:///org/gnome/shell/misc/extensionUtils.js":192]
                                              15 collectFromDatadirs() ["resource:///org/gnome/shell/misc/fileUtils.js":28]
                                              16 scanExtensions() ["resource:///org/gnome/shell/misc/extensionUtils.js":191]
                                              17 wrapper() ["resource:///org/gnome/gjs/modules/_legacy.js":82]
                                              18 _loadExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":330]
                                              19 enableAllExtensions() ["resource:///org/gnome/shell/ui/extensionSystem.js":338]
                                              20 _sessionUpdated() ["resource:///org/gnome/shell/ui/extensionSystem.js":369]
                                              21 init() ["resource:///org/gnome/shell/ui/extensionSystem.js":377]
                                              22 _initializeUI() ["resource:///org/gnome/shell/ui/main.js":229]
                                              23 start() ["resource:///org/gnome/shell/ui/main.js":133]
                                              24 <TOP LEVEL> ["<main>":1]

Got the same problem here:

TypeError: extensionUtils.getSettings is not a function

Stack trace:
  Utils.prototype.loadSettings@/home/dweber/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:81:28
  Utils.prototype._init@/home/dweber/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:53:5
  Utils@/home/dweber/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:7:3
  @/home/dweber/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/prefs.js:14:15
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
  @<main>:1:43

Ubuntu 18.04.3 LTS with Gnome 3.28.2

Same here also Ubuntu 18.04.3 LTS

TypeError: extensionUtils.getSettings is not a function

Stack trace:
  Utils.prototype.loadSettings@/home/ricardom/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:81:28
  Utils.prototype._init@/home/ricardom/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:53:5
  Utils@/home/ricardom/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:7:3
  @/home/ricardom/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/prefs.js:14:15
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
  @<main>:1:43
  

same issue. Ubuntu 18

TypeError: extensionUtils.getSettings is not a function

Stack trace:
  Utils.prototype.loadSettings@/home/kristoffer/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:81:28
  Utils.prototype._init@/home/kristoffer/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:53:5
  Utils@/home/kristoffer/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/utils.js:7:3
  @/home/kristoffer/.local/share/gnome-shell/extensions/putWindow@clemens.lab21.org/prefs.js:14:15
  _getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  _onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:243:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:397:5
  @<main>:1:43

I suspect I'm seeing the same issue; where do you pick up the log?

Same issue, Ubuntu 18.04.3 LTS & GNOME Shell 3.28.4

Thanks for reporting this. I have remove v27 from extensions.gnome.org and removed the tag.
I will check this tomorrow or on the weekend

Can someone with gnome-shell 3.28 please check the output of imports.misc.extensionUtils.getSettings in LookingGlas (Alt + F2 + "lg")

ebzao commented

Can someone with gnome-shell 3.28 please check the output of imports.misc.extensionUtils.getSettings in LookingGlas (Alt + F2 + "lg")

undefined

gnome-shell 3.28.4-0ubuntu18.04.1

should work again in master and develop

The version from extensions.gnome.org works again for me. Thanks for the fast fix! ❤️

Master branch from Github now works for me.