Bug 1855425

Summary: version 2.2.1 crashes due to webkit2 error
Product: [Fedora] Fedora EPEL Reporter: Frank Cox <theatre>
Component: foliateAssignee: Artem <ego.cordatus>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel8CC: ego.cordatus
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: foliate-1.5.3-2.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-30 18:12:48 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 Frank Cox 2020-07-09 20:27:42 UTC
Description of problem:
Foliate crashes with webContext.set_sandbox_enabled is not a function

Version-Release number of selected component (if applicable):
2.2.1-1

How reproducible:
Always

Steps to Reproduce:
1. Install current foliate rpm
2. Run "com.github.johnfactotum.Foliate" command

Actual results:
webContext.set_sandbox_enabled is not a function

Expected results:
ebook reader program running

Additional info:
This happens because the current version of foliate uses the set_sandbox_enabled function which does not exist in webkit2 versions prior to version 2.26.

See reference here:
https://lazka.github.io/pgi-docs/WebKit2-4.0/classes/WebContext.html#WebKit2.WebContext.set_sandbox_enabled

el8 has webkit version 2.24 so it doesn't include that function.

The previous version of foliate on epel (foliate-1.5.3-1.el8.noarch) works fine since it doesn't use that function.

Comment 1 Artem 2020-07-11 12:39:02 UTC
Thank you for reporting this. It so bad that no one even noticed this until it was in Bodhi for all this time. Downgrading it for now.

Comment 2 Fedora Update System 2020-07-12 01:05:02 UTC
FEDORA-EPEL-2020-67ca62121f has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-67ca62121f

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

Comment 3 Fedora Update System 2020-07-15 15:25:53 UTC
FEDORA-EPEL-2020-67ca62121f has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-67ca62121f

Comment 4 Fedora Update System 2020-07-16 01:45:51 UTC
FEDORA-EPEL-2020-67ca62121f has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-67ca62121f

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

Comment 5 Fedora Update System 2020-07-30 18:12:48 UTC
FEDORA-EPEL-2020-67ca62121f has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.