pop-os / shell

Pop!_OS Shell
GNU General Public License v3.0
4.85k stars 263 forks source link

[AUR `-bin` package] Extension won't start on GNOME 45 #1678

Closed taitep closed 10 months ago

taitep commented 10 months ago

(1) Issue/Bug Description: It gives an error in the Extensions app,, it looks like this:

The settings of extension pop-shell@system76.com had an error:

SyntaxError: import declarations may only appear at top level of a module

Stack trace:

@file:///usr/share/gnome-shell/extensions/pop-shell@system76.com/prefs.js:1:24
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

(2) Steps to reproduce (if you know): Install. Try to enable

(3) Expected behavior: Able to enable pop shell

(4) Distribution (run cat /etc/os-release): Manjaro

(5) Gnome Shell version: GNOME Shell 45.1

(6) Pop Shell version (run apt policy pop-shell or provide the latest commit if building locally):

gnome-shell-extension-pop-shell-bin 1.2.0-4

(7) Where was Pop Shell installed from: AUR

(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): 1080p@60Hz

(9) Other Installed/Enabled Extensions: Manjaro GNOME traditional layout defaults

mmstick commented 10 months ago

Which branch did you install?

taitep commented 10 months ago

I installed from the AUR.

augustebaum commented 10 months ago

Also hitting this error. GNOME shell 45.1, rev is b5accce (from 2023-04-27). I'm on NixOS.

mmstick commented 10 months ago

@augustebaum Too old. You must install from the master_mantic branch.

augustebaum commented 10 months ago

@augustebaum Too old. You must install from the master_mantic branch.

Okay I'll try it, thanks!

Although, I should note that it seems the AUR uses rev aafc94 from 2 weeks ago; so unless I missed something I would still expect the issue to occur after bumping my version.

jacobgkau commented 10 months ago

Although, I should note that it seems the AUR uses rev aafc94 from 2 weeks ago; so unless I missed something I would still expect the issue to occur after bumping my version.

There are three packages in the AUR. OP said in his first post that he's using gnome-shell-extension-pop-shell-bin, which hasn't been updated since January 2021: https://aur.archlinux.org/cgit/aur.git/log/?h=gnome-shell-extension-pop-shell-bin

The regular gnome-shell-extension-pop-shell package was last updated 11 days ago, but did switch to the correct branch back in October: https://aur.archlinux.org/cgit/aur.git/log/?h=gnome-shell-extension-pop-shell

The gnome-shell-extension-pop-shell-git package pulls the latest commit, and also switched to the correct branch last month: https://aur.archlinux.org/cgit/aur.git/log/?h=gnome-shell-extension-pop-shell-git

I'm going to go ahead and close this issue for now. @taitep Please try installing one of the latter packages, and/or building it yourself with make local-install, and let us know if you still have any issues. The -bin package was already marked out-of-date in the AUR this past January (11 months ago), so that package existing and being out-of-date needs to be handled in some way by the AUR contributors or maintainers.