Eric6_broswer crashes on Debian

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


On Mon, Jul 27, 2020 at 04:47:22PM +0300, Dmitry Shachnev wrote:
> Hi,
> 
> On Mon, Jul 27, 2020 at 03:33:06PM +0200, Florian Bruhin wrote:
> > 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?
> 
> I think it's the case, yes. Until last week, PyQtWebEngine in Debian was
> built against Qt 5.12, so it knew nothing about QWebEngineFindTextResult.
> 
> Now it's built against Qt 5.14 and the problem is fixed.

Good to hear. What confuses me is that it knows about the
QWebEnginePage.findTextFinished signal (i.e. that it doesn't raise an
AttributeError), despite that signal also being added in Qt 5.14.

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/e9bbc2f9/attachment.sig>


More information about the PyQt mailing list