gnome-shell-extension-appindicator
gnome-shell-extension-appindicator copied to clipboard
JS ERROR: TypeError: SettingsManager.getDefault() is null
- GNOME Shell 45.0
- Linux 6.5.5
- Extension v.56
Traceback
JS ERROR: TypeError: SettingsManager.getDefault() is null
getDefaultGSettings@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/settingsManager.js:54:28
_monitorIconEffects@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:160:42
_setIconActor/id<@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:102:22
_onDestroy@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:109:24
_onDestroy@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:260:15
_init/<@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/indicatorStatusIcon.js:246:72
_callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
destroy@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/appIndicator.js:702:14
destroy/<@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:257:52
destroy@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/statusNotifierWatcher.js:257:21
disable@file:///home/alsog/.local/share/gnome-shell/extensions/[email protected]/extension.js:66:41
_callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:201:32
_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:619:24
async*_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:799:20
ExtensionManager/<@resource:///org/gnome/shell/ui/extensionSystem.js:43: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:212:14
pushMode@resource:///org/gnome/shell/ui/sessionMode.js:170:14
activate@resource:///org/gnome/shell/ui/screenShield.js:621:34
lock@resource:///org/gnome/shell/ui/screenShield.js:688:14
_prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:250:22
_callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
_prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:207:14
_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
Same issue with version 57 on Debian Sid + Experimental
I haven't found a way to reliably reproduce this, but it appears occasionally in the logs
usually it starts to happen when resuming from sleep and after #466 happens too
This should be fixed in 57 TBH, cause i feel that happens when there is some issue during extension disable which causes the settings not to be fully destroyed too...
Grepping through my recent logs, this hasn't happened in a while, and it used to be fairly frequent. I'd say 57 did fix this then, I probably just messed up which version I was running when I made a note to report this at some point.
FYI, this (kinda) also happend on my system (NixOS: 24.05, GNOME: 46, appindicator: 58).
But it seems to me, there also is the extension dash-to-panel involved, but couldn't find any correlating issuses …
KR
journald log entry:
Jul 06 11:49:50 machine .gnome-shell-wr[5018]: TypeError: SettingsManager.getDefault() is null
Stack trace:
getDefaultGSettings@file:///run/current-system/sw/share/gnome-shell/extensions/[email protected]/settingsManager.js:54:28
_updateIconSize@file:///run/current-system/sw/share/gnome-shell/extensions/[email protected]/appIndicator.js:1549:42
_updateWhenFullyReady@file:///run/current-system/sw/share/gnome-shell/extensions/[email protected]/appIndicator.js:1009:18
async*_init/<@file:///run/current-system/sw/share/gnome-shell/extensions/[email protected]/appIndicator.js:962:22
removeChrome@resource:///org/gnome/shell/ui/layout.js:919:22
disable/<@file:///run/current-system/sw/share/gnome-shell/extensions/[email protected]/panelManager.js:242:32
disable@file:///run/current-system/sw/share/gnome-shell/extensions/[email protected]/panelManager.js:222:24
disable@file:///run/current-system/sw/share/gnome-shell/extensions/[email protected]/extension.js:75:22
_callExtensionDisable@resource:///org/gnome/shell/ui/extensionSystem.js:217:32
_onEnabledExtensionsChanged@resource:///org/gnome/shell/ui/extensionSystem.js:639:24
async*_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:826:20
ExtensionManager/<@resource:///org/gnome/shell/ui/extensionSystem.js:48: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:207:14
pushMode@resource:///org/gnome/shell/ui/sessionMode.js:169:14
activate@resource:///org/gnome/shell/ui/screenShield.js:616:34
lock@resource:///org/gnome/shell/ui/screenShield.js:683:14
_prepareForSleep@resource:///org/gnome/shell/ui/screenShield.js:250:22
_callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
_prepareForSleep@resource:///org/gnome/shell/misc/loginManager.js:214:14
_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