NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.96k stars 13.98k forks source link

GNOME extensions app broken (TypeError: this._shellProxy is undefined) #220690

Closed dr460nf1r3 closed 1 year ago

dr460nf1r3 commented 1 year ago

Describe the bug

The gnome-extensions-app is not starting.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Use nixos-unstable
  2. Enable services.xserver.desktopManager.gnome.enable
  3. Run gnome-extensions-app via terminal (isn't starting via .desktop either)

Expected behavior

Have the GNOME extensions app opened.

Additional context

The observed error message:

🧱130 ❯ gnome-extensions-app

(gnome-extensions-app:492866): Gjs-CRITICAL **: 17:33:03.344: JS ERROR: Gio.DBusError: Error calling StartServiceByName for org.gnome.Shell.Extensions: Process org.gnome.Shell.Extensions exited with status 1
_injectToMethod/klass[method]@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:287:25
_makeProxyWrapper/<@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:264:17
vfunc_startup@resource:///org/gnome/Extensions/js/main.js:69:28
main@resource:///org/gnome/Extensions/js/main.js:547:23
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/nix/store/v6crvm6h2f8jdgz001q86rs9cxhfsz7y-gnome-shell-43.3/share/gnome-shell/org.gnome.Extensions:1:17

(gnome-extensions-app:492866): Gjs-CRITICAL **: 17:33:03.344: JS ERROR: TypeError: this._shellProxy is undefined
vfunc_activate@resource:///org/gnome/Extensions/js/main.js:54:9
main@resource:///org/gnome/Extensions/js/main.js:547:23
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/nix/store/v6crvm6h2f8jdgz001q86rs9cxhfsz7y-gnome-shell-43.3/share/gnome-shell/org.gnome.Extensions:1:17

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.16, NixOS, 23.05 (Stoat), 23.05.20230310.0c4800d`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/hcyb3afl1n2mdd906yb32c9ivss28msd-source`
stammfrei commented 1 year ago

Are you using stylix ?

I am using it and got the same Issue. I think this is because stylix changes gnome theme settings and something seems broken on the shell theme settings.

Disabling gnome and gtk target in stylix resolved the issue for me.

dr460nf1r3 commented 1 year ago

In fact, yes! This would explain it, guess we can close this then.