Bug 1855425 - version 2.2.1 crashes due to webkit2 error
Summary: version 2.2.1 crashes due to webkit2 error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: foliate
Version: epel8
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-09 20:27 UTC by Frank Cox
Modified: 2020-07-30 18:12 UTC (History)
1 user (show)

Fixed In Version: foliate-1.5.3-2.el8
Clone Of:
Environment:
Last Closed: 2020-07-30 18:12:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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