Re: 5.14 and macOS: Immediate renderer process crash with QtWebEngine

Phil Thompson <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
On 31/12/2019 18:13, Florian Bruhin wrote:
> Hey,
> 
> I just tried to upgrade to PyQt 5.14 on macOS, but a simple QtWebEngine
> application like this:
> 
> # -----
> 
> import sys
> 
> from PyQt5.QtCore import QUrl
> from PyQt5.QtWidgets import QApplication
> from PyQt5.QtWebEngineWidgets import QWebEngineView
> 
> app = QApplication(sys.argv)
> 
> wv = QWebEngineView()
> wv.renderProcessTerminated.connect(print)
> 
> wv.load(QUrl('https://qt.io/'))
> wv.show()
> app.exec_()
> 
> # -----
> 
> results in an immediate renderer process crash, making QtWebEngine 
> unusable.
> 
> This is on macOS 10.13.6 High Sierra, with Python 3.7 from Homebrew and 
> the
> PyQt 5.14 wheels. I'm also seeing the same issue on Travis CI, with 
> both macOS
> Mojave and High Sierra.
> 
> On the same machine, running the simplebrowser example from Qt Creator 
> with
> Qt 5.14 works just fine.
> 
> Any idea what's going on there, or how I could get more debugging 
> information?
> I tried running with "--enable-logging --v=8 
> --enable-in-process-stack-traces"
> in the hope of getting Chromium to print more, but no luck...

There will be something from a Qt installation that is new in v5.14 that 
is missing from the wheel.

Phil
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.