Bug 2327897 - [error/trace] when opening preferences of the gnome-shell-extension-caffeine extension
Summary: [error/trace] when opening preferences of the gnome-shell-extension-caffeine ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: gnome-shell-extension-caffeine
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jeremy Newton
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-11-21 19:36 UTC by Leon Fauster
Modified: 2025-04-03 00:42 UTC (History)
1 user (show)

Fixed In Version: gnome-shell-extension-caffeine-42.1-1.el9
Clone Of:
Environment:
Last Closed: 2025-04-03 00:42:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
hotfix (596 bytes, patch)
2024-11-26 01:37 UTC, Leon Fauster
no flags Details | Diff

Description Leon Fauster 2024-11-21 19:36:18 UTC
Description of problem:
On RHEL9.4 or RHEL9.5 when trying to open the prefs I get following trace:

<trace>

The settings of extension caffeine had an error:
```
TypeError: method Gtk.CssProvider.load_from_data: At least 2 arguments required, but only 1 passed
```

Stack trace:
```
_init@/usr/share/gnome-shell/extensions/caffeine/prefs.js:195:25
_init@/usr/share/gnome-shell/extensions/caffeine/prefs.js:393:31
buildPrefsWidget@/usr/share/gnome-shell/extensions/caffeine/prefs.js:410:12
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:219:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:128:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
```

</trace>


Version-Release number of selected component (if applicable):
$ rpm -q gnome-shell-extension-caffeine gnome-shell
gnome-shell-extension-caffeine-42-2.20230922.git6e71c3b.el9.noarch
gnome-shell-40.10-22.el9_5.x86_64

How reproducible:
Open the preds of the extension via gnome-extensions-app

Actual results:
The above error

Expected results:
User can edit the prefs

Comment 1 Leon Fauster 2024-11-26 01:37:17 UTC
Created attachment 2059786 [details]
hotfix

Comment 2 Jeremy Newton 2025-03-25 21:33:27 UTC
Ah sorry I missed this. I just made a build and verified it worked.

Comment 3 Fedora Update System 2025-03-25 21:35:15 UTC
FEDORA-EPEL-2025-a549a42f7d (gnome-shell-extension-caffeine-42.1-1.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a549a42f7d

Comment 4 Fedora Update System 2025-03-26 01:34:43 UTC
FEDORA-EPEL-2025-a549a42f7d has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-a549a42f7d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2025-04-03 00:42:20 UTC
FEDORA-EPEL-2025-a549a42f7d (gnome-shell-extension-caffeine-42.1-1.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.