axxapy / gnome-ui-tune

Tunes overview UI of the gnome 40 a bit
GNU General Public License v3.0
102 stars 10 forks source link

Error updating extension #6

Closed ShaunJorstad closed 3 years ago

ShaunJorstad commented 3 years ago

I'm received an error on updating, and freshly installing the latest version of this extension.

Some basic system information, let me know if you need more information:

OS: Fedora 34 (Workstation Edition) x86_64 Kernel: 5.11.18-300.fc34.x86_64

If it helps, the latest entry in journalctl -xeab is:

░░ The unit UNIT has successfully entered the 'dead' state.
May 16 10:27:24 fedora systemd[1575]: dbus-:1.2-org.gnome.Contacts.SearchProvider@11.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
May 16 10:27:24 fedora systemd[1575]: dbus-:1.2-org.gnome.clocks@11.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
May 16 10:27:26 fedora systemd[1575]: dbus-:1.2-org.gnome.Nautilus@10.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
May 16 10:27:34 fedora systemd[1575]: dbus-:1.2-org.gnome.Calculator.SearchProvider@10.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
May 16 10:27:44 fedora systemd[1575]: dbus-:1.2-org.gnome.Characters.BackgroundService@10.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit UNIT has successfully entered the 'dead' state.
May 16 10:27:46 fedora gnome-shell[1702]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x56134bcadbb0), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed>
May 16 10:27:46 fedora gnome-shell[1702]: == Stack trace for context 0x561349182150 ==
May 16 10:27:46 fedora gnome-shell[1702]: #0   56134bd05240 i   resource:///org/gnome/shell/ui/workspaceThumbnail.js:764 (1c0a1f56f3d0 @ 149)
May 16 10:27:46 fedora gnome-shell[1702]: #1   56134bd051b8 i   resource:///org/gnome/shell/ui/workspaceThumbnail.js:999 (1c0a1f558e20 @ 12)
May 16 10:27:46 fedora gnome-shell[1702]: #2   56134bd05120 i   resource:///org/gnome/shell/ui/workspaceAnimation.js:466 (1c0a1f5542e0 @ 53)
May 16 10:27:46 fedora gnome-shell[1702]: #3   56134bd05090 i   resource:///org/gnome/shell/ui/environment.js:85 (2b6f54b9c920 @ 98)
May 16 10:27:46 fedora gnome-shell[1702]: #4   7ffeaff79010 b   resource:///org/gnome/shell/ui/environment.js:224 (2b6f54b9c5b0 @ 812)
May 16 10:27:46 fedora gnome-shell[1702]: #5   56134bd04fe0 i   resource:///org/gnome/shell/ui/environment.js:297 (2b6f54b9c240 @ 29)
May 16 10:27:46 fedora gnome-shell[1702]: #6   56134bd04f10 i   resource:///org/gnome/shell/ui/workspaceAnimation.js:471 (1c0a1f554330 @ 337)
May 16 10:27:46 fedora gnome-shell[1702]: #7   7ffeaff79dc0 b   self-hosted:850 (1bc397524470 @ 492)
May 16 10:27:46 fedora gnome-shell[1702]: #8   56134bd04e20 i   resource:///org/gnome/shell/ui/swipeTracker.js:744 (ab0e8ef0b50 @ 519)
May 16 10:27:46 fedora gnome-shell[1702]: #9   56134bd04d78 i   resource:///org/gnome/shell/ui/swipeTracker.js:714 (ab0e8ef0ba0 @ 24)
May 16 10:27:46 fedora gnome-shell[1702]: #10   7ffeaff7b520 b   self-hosted:850 (1bc397524470 @ 492)
May 16 10:27:46 fedora gnome-shell[1702]: #11   7ffeaff7c5b0 b   resource:///org/gnome/shell/ui/swipeTracker.js:196 (ab0e8efb740 @ 1855)
May 16 10:27:46 fedora gnome-shell[1702]: #12   7ffeaff7c690 b   self-hosted:850 (1bc397524470 @ 454)
May 16 10:27:46 fedora gnome-shell[1702]: clutter_actor_queue_relayout: assertion 'CLUTTER_IS_ACTOR (self)' failed
May 16 10:27:53 fedora gnome-shell[1702]: Object .Gjs_ui_workspaceThumbnail_ThumbnailsBox (0x56134bcadbb0), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed>
May 16 10:27:53 fedora gnome-shell[1702]: clutter_actor_queue_relayout: assertion 'CLUTTER_IS_ACTOR (self)' failed
May 16 10:27:53 fedora gnome-shell[1702]: == Stack trace for context 0x561349182150 ==
May 16 10:27:53 fedora gnome-shell[1702]: #0   7ffeaff79e40 b   resource:///org/gnome/shell/ui/workspaceThumbnail.js:764 (1c0a1f56f3d0 @ 149)
May 16 10:27:53 fedora gnome-shell[1702]: #1   56134bd04ea0 i   resource:///org/gnome/shell/ui/workspaceThumbnail.js:999 (1c0a1f558e20 @ 12)
May 16 10:27:53 fedora gnome-shell[1702]: #2   56134bd04e08 i   resource:///org/gnome/shell/ui/workspaceAnimation.js:466 (1c0a1f5542e0 @ 53)
May 16 10:27:53 fedora gnome-shell[1702]: #3   7ffeaff7c0f0 b   resource:///org/gnome/shell/ui/environment.js:85 (2b6f54b9c920 @ 98)
May 16 10:27:53 fedora gnome-shell[1702]: #4   56134bd04d78 i   resource:///org/gnome/shell/ui/environment.js:246 (2b6f54b9c470 @ 14)
May 16 10:27:53 fedora gnome-shell[1702]: Window manager warning: META_CURRENT_TIME used to choose focus window; focus window may not be correct.
axxapy commented 3 years ago

Hm, I have downloaded fedora 34 iso and tried it and was not able to reproduce:

https://user-images.githubusercontent.com/3088476/118560072-ed29f900-b736-11eb-8bb3-be81067e7864.mp4

It is a high chance that some other extension conflicts with mine.

Try to disable all extensions, logout/login, and enable only mine.

If that helps, try enabling other extensions one-by-one to find which one causes issues

ROSAexample commented 3 years ago

Hi,

I just ran into this issue on: OS: Fedora 34 (Workstation Edition) x86_64 Kernel: 5.11.18-300.fc34.x86_64

so, removed this extension and then followed your suggestion to disable other extensions before installing again. This errored again even with no other extension enabled.

May 18 11:29:56 sbriggs-work1 gnome-shell[4360]: JS ERROR: Extension gnome-ui-tune@itstime.tech: Error: A different version was loaded previously> loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:342:52 callback@resource:///org/gnome/shell/ui/extensionDownloader.js:222:39 gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:106:13

axxapy commented 3 years ago

@ROSAexample as error suggests, after removing extension you should've restarted gnome-shell. you can do it by logging out/back in

As a final reserve, did you try to restart your PC?

what does ls -la ~/.local/share/gnome-shell/extensions/ output?

ShaunJorstad commented 3 years ago

I went to disable other extensions as suggested and saw that your extension no longer had an error. A restart must have resolved the issue. If I encounter the error again I'll follow up. I'll leave this open for @ROSAexample .

ROSAexample commented 3 years ago

Thanks, I did understand the error was asking for a restart. It worked after one.