quick-settings-tweaks icon indicating copy to clipboard operation
quick-settings-tweaks copied to clipboard

this._grid.layout_manager is null ERROR - Gnome 45

Open x9sim9 opened this issue 1 year ago • 6 comments

Getting this error message when trying to enable extension

this._grid.layout_manager is null

Ubuntu 23.10, Gnome 45, Extension v25

x9sim9 avatar Nov 26 '23 12:11 x9sim9

image Really ? my code not includes that

qwreey avatar Nov 26 '23 13:11 qwreey

Screenshot from 2023-11-26 20-47-55

That error was reported in gnome extension manager

x9sim9 avatar Nov 26 '23 13:11 x9sim9

Can you upload full gnome logs? that error log is ambiguous you can see full logs by execute journalctl /usr/bin/gnome-shell --reverse like this image

qwreey avatar Nov 26 '23 13:11 qwreey

Here is the exerpt I think you need, if not enough let me know and will upload full file

Nov 26 18:56:40 Ifrit gnome-shell[98576]: JS ERROR: Extension quick-settings-tweaks@qwreey: TypeError: this._grid.layout_manager is null
                                          setColumnSpan@file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:659:3
                                          _completeAddItem@file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:601:8
                                          addItem@file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:592:8
                                          load@file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/features/notifications.js:84:31
                                          enable@file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/extension.js:55:21
                                          _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:253:38
                                          _enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:780:24
                                          async*_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:809:20
                                          async*ExtensionManager/<@resource:///org/gnome/shell/ui/extensionSystem.js:44:18
                                          _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                          _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                          _sync@resource:///org/gnome/shell/ui/sessionMode.js:216:14
                                          popMode@resource:///org/gnome/shell/ui/sessionMode.js:183:14
                                          _continueDeactivate@resource:///org/gnome/shell/ui/screenShield.js:589:30
                                          deactivate/<@resource:///org/gnome/shell/ui/screenShield.js:580:44
                                          finish@resource:///org/gnome/shell/gdm/authPrompt.js:685:13
                                          finish@resource:///org/gnome/shell/ui/unlockDialog.js:867:26
                                          deactivate@resource:///org/gnome/shell/ui/screenShield.js:580:26
                                          _getLoginSession/<@resource:///org/gnome/shell/ui/screenShield.js:170:24
                                          _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
                                          _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
                                          _convertToNativeSignal@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:152:19
                                          @resource:///org/gnome/shell/ui/init.js:21:20
Nov 26 18:56:40 Ifrit gnome-shell[98576]: Object St.Widget (0x559fc74cfc20), has been already disposed — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                          == Stack trace for context 0x559fc68f92f0 ==
                                          #0   559fc69c58b0 i   file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:659 (d500bfc1f60 @ 100)
                                          #1   559fc69c5818 i   file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:601 (d500bfc1e20 @ 36)
                                          #2   559fc69c5770 i   file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:592 (d500bfc1d80 @ 95)
                                          #3   559fc69c5678 i   file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/features/notifications.js:84 (dfa5b328420 @ 872)
                                          #4   7ffc0c0d1770 b   file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/extension.js:55 (dfa5b313420 @ 354)
                                          #5   7ffc0c0d2190 b   resource:///org/gnome/shell/ui/extensionSystem.js:253 (e68d591bd30 @ 438)
                                          #6   7ffc0c0d2270 b   resource:///org/gnome/shell/ui/extensionSystem.js:780 (e68d5924ba0 @ 201)
                                          #7   7ffc0c0d2300 b   self-hosted:852 (2d57b6b9f9c0 @ 15)
                                          #8   559fc69c5528 i   resource:///org/gnome/shell/ui/init.js:21 (35bb0e770ba0 @ 48)
Nov 26 18:56:40 Ifrit gnome-shell[98576]: Object St.Widget (0x559fc74cfc20), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                          == Stack trace for context 0x559fc68f92f0 ==
                                          #0   559fc69c58b0 i   file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:657 (d500bfc1f60 @ 22)
                                          #1   559fc69c5818 i   file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:601 (d500bfc1e20 @ 36)
                                          #2   559fc69c5770 i   file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:592 (d500bfc1d80 @ 95)
                                          #3   559fc69c5678 i   file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/features/notifications.js:84 (dfa5b328420 @ 872)
                                          #4   7ffc0c0d1770 b   file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/extension.js:55 (dfa5b313420 @ 354)
                                          #5   7ffc0c0d2190 b   resource:///org/gnome/shell/ui/extensionSystem.js:253 (e68d591bd30 @ 438)
                                          #6   7ffc0c0d2270 b   resource:///org/gnome/shell/ui/extensionSystem.js:780 (e68d5924ba0 @ 201)
                                          #7   7ffc0c0d2300 b   self-hosted:852 (2d57b6b9f9c0 @ 15)
                                          #8   559fc69c5528 i   resource:///org/gnome/shell/ui/init.js:21 (35bb0e770ba0 @ 48)
Nov 26 18:56:40 Ifrit gnome-shell[98576]: Object St.Widget (0x559fc74cfc20), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.
                                          == Stack trace for context 0x559fc68f92f0 ==
                                          #0   559fc69c5770 i   file:///home/workstation/.local/share/gnome-shell/extensions/[email protected]/libs/libpanel/main.js:591 (d500bfc1d80 @ 72)
                                          #1   559fc69c5678 i   file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/features/notifications.js:84 (dfa5b328420 @ 872)
                                          #2   7ffc0c0d1770 b   file:///home/workstation/.local/share/gnome-shell/extensions/quick-settings-tweaks@qwreey/extension.js:55 (dfa5b313420 @ 354)
                                          #3   7ffc0c0d2190 b   resource:///org/gnome/shell/ui/extensionSystem.js:253 (e68d591bd30 @ 438)
                                          #4   7ffc0c0d2270 b   resource:///org/gnome/shell/ui/extensionSystem.js:780 (e68d5924ba0 @ 201)
                                          #5   7ffc0c0d2300 b   self-hosted:852 (2d57b6b9f9c0 @ 15)
                                          #6   559fc69c5528 i   resource:///org/gnome/shell/ui/init.js:21 (35bb0e770ba0 @ 48)
Nov 26 18:56:40 Ifrit gnome-shell[98576]: [EXTENSION QSTweaks] Loading feature 'NotificationsFeature'
Nov 26 18:56:40 Ifrit gnome-shell[98576]: [EXTENSION QSTweaks] Loading feature 'UnsafeQuickToggleFeature'
Nov 26 18:56:40 Ifrit gnome-shell[98576]: [EXTENSION QSTweaks] Loading feature 'DndQuickToggleFeature'
Nov 26 18:56:40 Ifrit gnome-shell[98576]: [EXTENSION QSTweaks] Loading ...

x9sim9 avatar Nov 26 '23 15:11 x9sim9

Maybe conflict with [email protected] ...? can you turn off it and test again?

qwreey avatar Nov 26 '23 15:11 qwreey

With Quick Settings Audio Panel disabled the error no longer shows so guess its a conflict, thanks for you help :-)

x9sim9 avatar Nov 27 '23 05:11 x9sim9