FS#66905 - [python2-pyqt5][calibre] ebook-viewer won't start

Attached to Project: Community Packages
Opened by Moabit (Moabit) - Friday, 05 June 2020, 04:58 GMT
Last edited by Antonio Rojas (arojas) - Friday, 05 June 2020, 07:32 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Eli Schwartz (eschwartz)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
ebook-viewer crashes almost immediately on launch. I can see its window for a split-second, then it crashes with the following in the terminal.

$ ebook-viewer
Fatal Python error: PyEval_SaveThread: NULL tstate
[1] 20987 abort (core dumped) ebook-viewer

I have attached the output of `journalctl`.

If I revert python2-pyqt5 from 5.15.0-2 -> 5.14.2-1, ebook-viewer launches perfectly again.

I wasn't sure if calibre just needed to be rebuilt with the new python2-pyqt5 installed (as per  FS#49461 ), so I attempted that too, but I couldn't get calibre to build. (FAIL: test_searching (calibre.db.tests.reading.ReadingTest); Test searching returns the same data for both backends)

Additional info:
* package version(s): crash with calibre-common 4.17.0-2 and python2-pyqt5 5.15.0-2

Steps to reproduce:
* attempt to launch ebook-viewer
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 05 June 2020, 07:32 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-pyqtwebengine 5.15.0-2
Comment by Antonio Rojas (arojas) - Friday, 05 June 2020, 07:23 GMT
Unfortunately upstream does no longer care much about building pyqt with sip 4 (which is the only way to build it for python2) to the point that they *still* haven't released the sip 4 version that pyqt 5.15 depends on. Building everything with HEAD of sip 4 doesn't help either. I suggest to wait until they release sip 4.19.23 and then report it upstream if it still happens. In the meantime I recommend you to switch to the python 3 version.
Comment by Antonio Rojas (arojas) - Friday, 05 June 2020, 07:31 GMT
Actually, scratch that. The crash is in pyqtwebengine, which is a separate package

Loading...