Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to update on gnome-shell 43.3 #1

Closed
bartoszek opened this issue Mar 21, 2023 · 3 comments
Closed

Fail to update on gnome-shell 43.3 #1

bartoszek opened this issue Mar 21, 2023 · 3 comments

Comments

@bartoszek
Copy link

I'm experiencing an update problem after the gnome-shell 43.3 update.
I'm getting message about haguashi getting an update in next login session
Zrzut ekranu z 2023-03-21 11-42-39

But each consecutive login fails with journal showing JS error about the failed update of haguashi because of the nonempty icon folder.

mar 21 10:53:18 grafZero gnome-shell[894950]: Failed to install extension updates for .gse-haguichi-indicator@ztefn.github.com
mar 21 10:53:18 grafZero gnome-shell[894950]: JS ERROR: Gio.IOErrorEnum: Błąd podczas usuwania pliku /home/bartus/.local/share/gnome-shell/extension-updates/.gse-haguichi-indicator@ztefn.github.com/icons: Katalog nie jest pusty
                                              recursivelyDeleteDir@resource:///org/gnome/shell/misc/fileUtils.js:48:13
                                              recursivelyDeleteDir@resource:///org/gnome/shell/misc/fileUtils.js:44:33
                                              _installExtensionUpdates/<@resource:///org/gnome/shell/ui/extensionSystem.js:588:27
                                              collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:28:28
                                              _installExtensionUpdates@resource:///org/gnome/shell/ui/extensionSystem.js:574:19
                                              init@resource:///org/gnome/shell/ui/extensionSystem.js:56:14
                                              _initializeUI@resource:///org/gnome/shell/ui/main.js:309:22
                                              start@resource:///org/gnome/shell/ui/main.js:186:5
                                              @resource:///org/gnome/shell/ui/init.js:6:17
mar 21 10:53:18 grafZero gnome-shell[894950]: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception

Removing the icons folder gets me back at square on.

@ztefn
Copy link
Owner

ztefn commented Mar 21, 2023

I experienced the same thing on my Arch test machine and hoped something was just messed up locally on that machine. Unfortunately it appears something is completely broken with the GNOME shell extension updates process. I found these identical issues:

The third issue reports the issue is triggered by symbolic links. Haguichi indicator uses a symbolic links for the haguichi-connecting-3-symbolic.svg icon. I will drop the symbolic link for this icon and push a new update to extensions.gnome.org. It will have to await review before being published. For now I have disabled version 20 so that update should be held back from now on.

@ztefn ztefn closed this as completed in e771f38 Mar 21, 2023
@ztefn
Copy link
Owner

ztefn commented Mar 21, 2023

The updated version is already live on extensions.gnome.org. It was auto-approved (probably because there were no code changes).

However this update will likely still fail, because the issue is with the old version its trying to delete. So you will need to remove both the update (in ~.local/share/gnome-shell/extension-updates/) and extension itself (in ~.local/share/gnome-shell/extensions/). And then reinstall it, making sure its version 21. Next time in the future when there is an update it should work without issues 🤞️.

@bartoszek
Copy link
Author

Thanks for the exhaustive explanation 🥲

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants