Repository: ubuntu/gnome-shell-extension-appindicator

Issue #434: GDBus.Error:org.freedesktop.DBus.Error.Failed: error occurred in AboutToShow
Created: 2023-04-20T16:41:42Z
I'm not sure if this is important or not but thought I would report it here in case someone has a clue.
Every time I click on the Slack icon (flatpak-installed), this shows up in journalctl:
$ journalctl -f -o cat /usr/bin/gnome-shell
JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.Failed: error occurred in AboutToShow
_promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
### Promise created here: ###
sendAboutToShow@/home/username/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/dbusMenu.js:501:48
sendAboutToShow@/home/username/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/dbusMenu.js:197:22
_onMenuOpened@/home/username/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/dbusMenu.js:935:28
_callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
_emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
open@resource:///org/gnome/shell/ui/popupMenu.js:927:14
toggle@resource:///org/gnome/shell/ui/popupMenu.js:800:18
vfunc_button_press_event@/home/username/.local/share/gnome-shell/extensions/appindicatorsupport@rgcjonas.gmail.com/indicatorStatusIcon.js:425:27

It does not happen with the Zoom icon (also flatpak-installed) or the SafeNet eToken client (RPM-installed).

Duplicate issue #502: Shell 46 Beta error occurred in AboutToShow
Created: 2024-02-19T13:41:08Z
gnome-shell 46 Beta
Ubuntu 24.04 LTS
gnome-shell-extension-appindicator 57-2 (with 5c6400d )

My systemd journal shows the below error. The extension seems to work though.
This guide was recently published:
https://gjs.guide/extensions/upgrading/gnome-shell-46.html
Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.Failed: error occurred in AboutToShow

Stack trace:
  _promisify/proto[asyncFunc]/</<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:453:45
  @resource:///org/gnome/shell/ui/init.js:21:20
  ### Promise created here: ###
  sendAboutToShow@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:501:48
  sendAboutToShow@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:198:22
  attachToMenu@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:862:24
  _updateMenu/this._menuReadyId<@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/indicatorStatusIcon.js:319:38
  _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
  _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
  Client/<@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:833:24
  _updateLayoutState@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:365:18
  _layoutUpdateUpdateAsync@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:346:18
  async*_beginLayoutUpdate@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:326:14
  _requestLayoutUpdate@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:276:14
  initAsync@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:254:14
  async*Client@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/dbusMenu.js:827:22
  _updateMenu@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/indicatorStatusIcon.js:311:32
  _showIfReady@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/indicatorStatusIcon.js:332:14
  _callHandlers@resource:///org/gnome/gjs/modules/core/_signals.js:130:42
  _emit@resource:///org/gnome/gjs/modules/core/_signals.js:119:10
  _checkIfReady@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:464:18
  checkIfReadyChanged@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:646:50
  _onPropertiesChanged/<@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:654:17
  _onPropertiesChanged@file:///usr/share/gnome-shell/extensions/ubuntu-appindicators@ubuntu.com/appIndicator.js:650:15
  @resource:///org/gnome/shell/ui/init.js:21:20

Closing comment (2024-03-04T19:38:26Z): Looks like a duplicate of #434 and #445? (I'm seeing this on gnome-shell v45.4 with v57 of the extension.)