vibou.gTile icon indicating copy to clipboard operation
vibou.gTile copied to clipboard

Broken in Gnome 3.26.1

Open izznogooood opened this issue 6 years ago • 8 comments

May be related to #78

SyntaxError: redeclaration of formal parameter iter

Stack trace:
  Application<._getExtensionPrefsModule@resource:///org/gnome/shell/extensionPrefs/main.js:75:13
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  Application<._selectExtension@resource:///org/gnome/shell/extensionPrefs/main.js:90:31
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  Application<._onCommandLine@resource:///org/gnome/shell/extensionPrefs/main.js:246:17
  wrapper@resource:///org/gnome/gjs/modules/_legacy.js:82:22
  main@resource:///org/gnome/shell/extensionPrefs/main.js:402:5
  @<main>:1:43

Running Antergos (Arch)

Please let me know if theres anything I can do to help (except code ;) )

izznogooood avatar Oct 15 '17 10:10 izznogooood

I encountered the same error in Manjaro Linux, opening the settings dialog.

omrihar avatar Oct 16 '17 07:10 omrihar

That was fixed a while ago on master. Most likely you see this error because you install gTile from extensions.gnome.org, where it have old code. Hopefully new code will be there soon.

scherepanov avatar Oct 18 '17 15:10 scherepanov

Still wont run, no errors though. (Git cloned)

izznogooood avatar Oct 18 '17 17:10 izznogooood

  1. Enable debug in preferences
  2. in terminal: gnome-shell --replace
  3. post here output with error
  4. Do not forget to disable debug

scherepanov avatar Oct 18 '17 18:10 scherepanov

Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage"
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup"
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
Gjs-Message: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty"
GNOME Shell-Message: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
GNOME Shell-Message: Failed to register AuthenticationAgent
GNOME Shell-Message: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered

(gnome-shell:13939): Gjs-WARNING **: Some code accessed the property 'ScrollablePopupMenu' on the module 'scrollablePopupMenu'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(gnome-shell:13939): Gjs-WARNING **: Some code accessed the property 'PopupExtensionItem' on the module 'popupExtensionItem'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
User Themes-Message: loading user theme: /home/anders/.themes/United-Arch-Dark/gnome-shell/gnome-shell.css
Impatience-Message: [impatience] enabled
Impatience-Message: [impatience] enabled
Impatience-Message: [impatience] setting new speed: 0.75
Impatience-Message: [impatience] setting new speed: 0.75
Gjs-Message: JS WARNING: [/home/anders/.local/share/gnome-shell/extensions/[email protected]/utils.js 34]: reference to undefined property Symbol.toPrimitive
GNOME Shell-Message: Extension "gTile@vibou" had error: SyntaxError: redeclaration of let tracker
GNOME Shell-Message: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files

(gnome-shell:13939): Gtk-WARNING **: Allocating size to ShellEmbeddedWindow 0x55785d8e82c0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

(gnome-shell:13939): St-WARNING **: Ignoring excess values in shadow definition

(gnome-shell:13939): St-WARNING **: Ignoring excess values in shadow definition

(gnome-shell:13939): St-WARNING **: Ignoring excess values in shadow definition

(gnome-shell:13939): St-WARNING **: Ignoring excess values in shadow definition

(gnome-shell:13939): St-WARNING **: Ignoring excess values in shadow definition

(gnome-shell:13939): St-WARNING **: Ignoring excess values in shadow definition
Gjs-Message: JS WARNING: [/home/anders/.local/share/gnome-shell/extensions/gTile@vibou/prefs.js 83]: assignment to undeclared variable key
Gjs-Message: JS WARNING: [/home/anders/.local/share/gnome-shell/extensions/gTile@vibou/prefs.js 142]: assignment to undeclared variable text
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2000007 (Shell Exte)

(gnome-shell:13939): St-CRITICAL **: setup_framebuffers: assertion 'width > 0' failed

The bottom is after enabling Debug, but both show messages.

Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage"
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup"
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
Gjs-Message: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty"
GNOME Shell-Message: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
GNOME Shell-Message: Failed to register AuthenticationAgent
GNOME Shell-Message: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered

(gnome-shell:13875): Gjs-WARNING **: Some code accessed the property 'ScrollablePopupMenu' on the module 'scrollablePopupMenu'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(gnome-shell:13875): Gjs-WARNING **: Some code accessed the property 'PopupExtensionItem' on the module 'popupExtensionItem'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
User Themes-Message: loading user theme: /home/anders/.themes/United-Arch-Dark/gnome-shell/gnome-shell.css
Impatience-Message: [impatience] enabled
Impatience-Message: [impatience] enabled
Impatience-Message: [impatience] setting new speed: 0.75
Impatience-Message: [impatience] setting new speed: 0.75
Gjs-Message: JS WARNING: [/home/anders/.local/share/gnome-shell/extensions/[email protected]/utils.js 34]: reference to undefined property Symbol.toPrimitive
GNOME Shell-Message: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files

(gnome-shell:13875): Gtk-WARNING **: Allocating size to ShellEmbeddedWindow 0x55aef77d8390 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
Segmentation fault (core dumped)
[anders@yoga ~]$ gnome-shell --replace
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/main.js 315]: reference to undefined property "MetaStage"
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/layout.js 221]: reference to undefined property "MetaWindowGroup"
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/osdMonitorLabeler.js 59]: reference to undefined property "MetaDBusDisplayConfigSkeleton"
Gjs-Message: JS WARNING: [resource:///org/gnome/gjs/modules/tweener/tweener.js 540]: reference to undefined property "isSpecialProperty"
GNOME Shell-Message: Failed to launch ibus-daemon: Failed to execute child process “ibus-daemon” (No such file or directory)
Gjs-Message: JS WARNING: [resource:///org/gnome/shell/ui/slider.js 38]: reference to undefined property "CallyActor"
GNOME Shell-Message: Failed to register AuthenticationAgent
GNOME Shell-Message: No permission to trigger offline updates: Polkit.Error: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.trigger-offline-update is not registered

(gnome-shell:14033): Gjs-WARNING **: Some code accessed the property 'ScrollablePopupMenu' on the module 'scrollablePopupMenu'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.

(gnome-shell:14033): Gjs-WARNING **: Some code accessed the property 'PopupExtensionItem' on the module 'popupExtensionItem'. That property was defined with 'let' or 'const' inside the module. This was previously supported, but is not correct according to the ES6 standard. Any symbols to be exported from a module must be defined with 'var'. The property access will work as previously for the time being, but please fix your code anyway.
User Themes-Message: loading user theme: /home/anders/.themes/United-Arch-Dark/gnome-shell/gnome-shell.css
Impatience-Message: [impatience] enabled
Impatience-Message: [impatience] enabled
Impatience-Message: [impatience] setting new speed: 0.75
Impatience-Message: [impatience] setting new speed: 0.75
Gjs-Message: JS WARNING: [/home/anders/.local/share/gnome-shell/extensions/[email protected]/utils.js 34]: reference to undefined property Symbol.toPrimitive
GNOME Shell-Message: Extension "gTile@vibou" had error: SyntaxError: redeclaration of let tracker
GNOME Shell-Message: Error looking up permission: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.impl.portal.PermissionStore was not provided by any .service files

(gnome-shell:14033): Gtk-WARNING **: Allocating size to ShellEmbeddedWindow 0x55b70aa44390 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?

izznogooood avatar Oct 19 '17 10:10 izznogooood

So should I move the Issue to your new "home" ?

izznogooood avatar Oct 19 '17 11:10 izznogooood

Well... this error is result of chaotic open source nature It was reported on newer version of Gnome a while ago, several people submitted almost identical PR for fix, I had it on my branch. With absence of vibou nothing made to master on this repo and to e.g.o. New gTile support organization spawned recently, I made original repo there with code fix. But, it was decided to override it with fork from master branch on vibou repo, that still contain bug. I submitted PR "in new place" with fix, as soon as it will get through, error will be fixed. And yes, you need to file this error in "new" place. As of now, you can get working code from my branch.

scherepanov avatar Oct 19 '17 13:10 scherepanov

Ok thank you, and good luck to you.

"the chaos of open source" indeed... :)

izznogooood avatar Oct 20 '17 09:10 izznogooood