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

bug: an error occurred while loading this extension #415

Open
KukicVidan opened this issue Aug 3, 2024 · 3 comments
Open

bug: an error occurred while loading this extension #415

KukicVidan opened this issue Aug 3, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@KukicVidan
Copy link

(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/[email protected]/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 [email protected]: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data @ file:///home/vidan/.local/share/gnome-shell/extensions/[email protected]/lib/shared/settings.js:130:26
                                           
                                           Stack trace:
                                             get windowProps@file:///home/vidan/.local/share/gnome-shell/extensions/[email protected]/lib/shared/settings.js:130:26
                                             WindowManager@file:///home/vidan/.local/share/gnome-shell/extensions/[email protected]/lib/extension/window.js:70:5
                                             enable@file:///home/vidan/.local/share/gnome-shell/extensions/[email protected]/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

[email protected]
 blur-my-shell@aunetx
 [email protected][email protected][email protected][email protected]
 logomenu@aryan_k
 quick-settings-tweaks@qwreey
 [email protected][email protected]
 space-bar@luchrioh
 [email protected][email protected]

(6) Monitor Setup

1440p pirimary vertical, 1050p verticaly secundary

Other Notes

No response

@KukicVidan KukicVidan added the bug Something isn't working label Aug 3, 2024
@jmmaranan
Copy link
Collaborator

Did you try to reinstall?

@KukicVidan
Copy link
Author

Did you try to reinstall?

yes

@MattMarcha
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants