Bug 2249926

Summary: Can not open caffeine preferences out of the extension app
Product: [Fedora] Fedora EPEL Reporter: Leon Fauster <leonfauster>
Component: gnome-shell-extension-caffeineAssignee: Jeremy Newton <alexjnewt>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel9CC: alexjnewt
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gnome-shell-extension-caffeine-42-2.20230922.git6e71c3b.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-12 01:28:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Leon Fauster 2023-11-15 23:04:49 UTC
Description of problem:

Can not open caffeine preferences out of the extension app.


Version-Release number of selected component (if applicable):
$ rpm -q gnome-shell-extension-caffeine
gnome-shell-extension-caffeine-42-1.el9.noarch


How reproducible:

- open extension app
- select caffeine extension 
- try to open the preferences of it



Actual results:


The settings of extension caffeine had an error:
```
SyntaxError: expected property name, got '{'
```

Stack trace:
```
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:216:33
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
```





Expected results:

Preferences UI opens ...



Additional info:

EL9 has gnome 40

Comment 1 Fedora Update System 2024-03-03 21:06:57 UTC
FEDORA-EPEL-2024-57ccc76b35 (gnome-shell-extension-caffeine-42-2.20230922.git6e71c3b.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-57ccc76b35

Comment 2 Jeremy Newton 2024-03-03 21:08:21 UTC
Sorry for the wait. It seems like upstream actually pushed out a fix not long before you reported it, so I pushed an update.

Once you are able to test it, please let me know if it doesn't resolve your issue.

Thanks

Comment 3 Fedora Update System 2024-03-04 02:06:03 UTC
FEDORA-EPEL-2024-57ccc76b35 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-2024-57ccc76b35

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

Comment 4 Leon Fauster 2024-03-04 12:50:38 UTC
Thanks for taking a look, Jeremy. A quick test here shows that the preferences UI opens. So, looks good so far. Thanks!

Comment 5 Fedora Update System 2024-03-12 01:28:07 UTC
FEDORA-EPEL-2024-57ccc76b35 (gnome-shell-extension-caffeine-42-2.20230922.git6e71c3b.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.