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

GNOME 45 Cannot Open Settings #1663

Closed
kzhe2059 opened this issue Oct 20, 2023 · 2 comments · Fixed by #1667
Closed

GNOME 45 Cannot Open Settings #1663

kzhe2059 opened this issue Oct 20, 2023 · 2 comments · Fixed by #1667

Comments

@kzhe2059
Copy link

(1) Issue/Bug Description:

Can't open extension settings on GNOME 45, I get the following message:

Issue with Pop Shell on Endeavour OS with GNOME 45, getting the following when I try to open extension settings.

The settings of extension [email protected] had an error:

ImportError: Unable to load file from: resource:///org/gnome/shell/extensions/extension.js (The resource at “/org/gnome/shell/extensions/extension.js” does not exist)

Stack trace:

loadURI@resource:///org/gnome/gjs/modules/internal/loader.js:88:21
loadURI@resource:///org/gnome/gjs/modules/internal/loader.js:290:30
resolveModule@resource:///org/gnome/gjs/modules/internal/loader.js:179:33
moduleResolveHook@resource:///org/gnome/gjs/modules/internal/loader.js:339:29
_init/GLib.MainLoop.prototype.runAsync/</<@resource:///org/gnome/gjs/modules/core/overrides/GLib.js:266:34

(2) Steps to reproduce (if you know):

  1. Open GNOME Extensions
  2. Scroll to Pop Shell
  3. Hit Settings

(3) Expected behavior:

Settings opens

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

NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

(5) Gnome Shell version:

45

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

(7) Where was Pop Shell installed from:

Downloaded the zip and ran make local-install

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

One 1080p

(9) Other Installed/Enabled Extensions:

AppIndicator and KstatusNotifier, Arch Linux Updates Indicator, Bedtime Mode, Burn my Windows, Caffeine, Dark Variant, Firefox PIP Always on Top, Focus Changer, Force Quit, Just Perfection, Panel Scroll, Pano, Tactile, Tiling Assistant, User Themes (some of these are left over from before installing pop shell and now extraneous)

(10) Other Notes:

@Neo-29
Copy link

Neo-29 commented Oct 22, 2023

confirmed here too on archlinux
Despite that, the extension works.

@caribo
Copy link

caribo commented Oct 23, 2023

the errors are originating from log.js which imports the extension in order to read the log level from settings

import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js';
.
.
.
export function log_level() {
let settings = Extension.lookupByURL(import.meta.url).getSettings();
let log_level = settings.get_uint('log-level');
return log_level;
}
.
.

Unfortunately I don't have the knowledge to fix this ..

jacobgkau pushed a commit that referenced this issue Oct 30, 2023
This is a little hacky way to fix the issue with the preferences pane
not displaying with GNOME45. Please note in the prefs case the
assignment is not cleared on close. This can be done but requires a
bigger rewrite to the prefs code.

Closes #1663
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

Successfully merging a pull request may close this issue.

3 participants