Eric6_broswer crashes on Debian

Florian Bruhin me at the-compiler.org
Mon Jul 27 14:33:06 BST 2020


Hey everyone,

On Sat, Jul 25, 2020 at 03:16:19PM +0200, Guðjón Guðjónsson wrote:
> Thanks, that was valuable. The problem is in the Debian pyqt5 webengine package
> and it just needs rebuilding.

I've seen a similar issue in qutebrowser as well - first with Gentoo, then
Fedora, then Debian. I was also told it's probably just a broken build:

https://www.riverbankcomputing.com/pipermail/pyqt/2020-May/042892.html
https://www.riverbankcomputing.com/pipermail/pyqt/2020-May/042894.html

It looks like the QWebEnginePage.findTextFinished signal is available, but the
QWebEngineFindTextResult import is not. I don't understand how this is
happening, as both are guarded by the same version guards in PyQt's source.

Does PyQt somehow dynamically add/dispatch signal attributes at runtime,
despite not knowing about them at compile-time?

FWIW in qutebrowser I worked around it by checking if the import is available
before trying to connect the signal, and displaying a warning otherwise:
https://github.com/qutebrowser/qutebrowser/blob/v1.13.1/qutebrowser/browser/webengine/webenginetab.py#L180-L202

Florian

-- 
me at the-compiler.org (Mail/XMPP) | https://www.qutebrowser.org 
       https://bruhin.software/ | https://github.com/sponsors/The-Compiler/
       GPG: 916E B0C8 FD55 A072 | https://the-compiler.org/pubkey.asc
             I love long mails! | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200727/f4fd242e/attachment.sig>


More information about the PyQt mailing list