forge-ext / forge

Forge - Tiling and Window Manager for Gnome-Shell
GNU General Public License v3.0
896 stars 48 forks source link

bug: an error occurred while loading this extension #415

Open KukicVidan opened 1 month ago

KukicVidan commented 1 month ago

(1) Issue/Bug Description/Video Capture/Screenshots

SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data @ file:///home/vidan/.local/share/gnome-shell/extensions/forge@jmmaranan.com/lib/shared/settings.js:130:26

(2) Steps to reproduce

No response

(3) Distribution and Linux version

Ubuntu 24.04 LTS

(4) Journal Logs from the last hour

Aug 03 13:13:36 linuxPC gnome-shell[3234]: Extension forge@jmmaranan.com: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data @ file:///home/vidan/.local/share/gnome-shell/extensions/forge@jmmaranan.com/lib/shared/settings.js:130:26

                                           Stack trace:
                                             get windowProps@file:///home/vidan/.local/share/gnome-shell/extensions/forge@jmmaranan.com/lib/shared/settings.js:130:26
                                             WindowManager@file:///home/vidan/.local/share/gnome-shell/extensions/forge@jmmaranan.com/lib/extension/window.js:70:5
                                             enable@file:///home/vidan/.local/share/gnome-shell/extensions/forge@jmmaranan.com/extension.js:42:18
                                             _callExtensionEnable@resource:///org/gnome/shell/ui/extensionSystem.js:267:38
                                             loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:479:32
                                             async*_onInstallButtonPressed@resource:///org/gnome/shell/ui/extensionDownloader.js:337:35
                                             async*addButton/<@resource:///org/gnome/shell/ui/dialog.js:134:41
                                             @resource:///org/gnome/shell/ui/init.js:21:20

Aug 03 13:14:12 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:14:12 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:14:12 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:14:12 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:15:34 linuxPC gnome-shell[3234]: No listeners 150
Aug 03 13:15:34 linuxPC gnome-shell[3234]: No listeners 150
Aug 03 13:15:35 linuxPC gnome-shell[3234]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x320000b
Aug 03 13:20:03 linuxPC gnome-shell[3234]: Can't update stage views actor unnamed [MetaWindowActorX11] is on because it needs an allocation.
Aug 03 13:20:03 linuxPC gnome-shell[3234]: Can't update stage views actor unnamed [MetaSurfaceActorX11] is on because it needs an allocation.
Aug 03 13:20:07 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:07 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:07 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:13 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:14 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:15 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:19 linuxPC gnome-shell[3234]: Can't update stage views actor unnamed [MetaWindowActorX11] is on because it needs an allocation.
Aug 03 13:20:19 linuxPC gnome-shell[3234]: Can't update stage views actor unnamed [MetaSurfaceActorX11] is on because it needs an allocation.
Aug 03 13:20:23 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:24 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:26 linuxPC gnome-shell[3234]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Aug 03 13:20:39 linuxPC gnome-shell[3234]: Can't update stage views actor unnamed [MetaWindowActorX11] is on because it needs an allocation.
Aug 03 13:20:39 linuxPC gnome-shell[3234]: Can't update stage views actor unnamed [MetaSurfaceActorX11] is on because it needs an allocation.

GNOME Shell version

GNOME 46

Forge version

83

Other installed/enabled extensions

 appindicatorsupport@rgcjonas.gmail.com
 blur-my-shell@aunetx
 custom-command-list@storageb.github.com
 espresso@coadmunkee.github.com
 forge@jmmaranan.com
 gnome-ui-tune@itstime.tech
 logomenu@aryan_k
 quick-settings-tweaks@qwreey
 search-light@icedman.github.com
 smile-extension@mijorus.it
 space-bar@luchrioh
 user-theme@gnome-shell-extensions.gcampax.github.com
 Vitals@CoreCoding.com

(6) Monitor Setup

1440p pirimary vertical, 1050p verticaly secundary

Other Notes

No response

jmmaranan commented 1 month ago

Did you try to reinstall?

KukicVidan commented 1 month ago

Did you try to reinstall?

yes

MattMarcha commented 4 weeks ago

Hi there, I had the same issue for one user and not the other. Solved it in following these steps :

  1. Uninstall extension
  2. Delete folder /home/{USER}/.config/forge
  3. Install extension
  4. Restart Gnome

Steps 1, 2 and 4 might be unnecessary.