PyQt5 Web Engine Program crashes when trying to open complex websites

  browser, crash, pyqt5, python, webengine

I’m a beginner python programmer and I’ve begun developing a web browser designed for kiosks and/or embedded systems.
GitHub Link

Anyway, straight to the point:

When you launch the program it will ask if you want to enable buttons (back, refresh, etc.). Then, it will ask you to enter a website to launch. For example, loading google.com works fine. However, loading a website like the one I tried, https://www.programming-hero.com, the program immediately crashes after about 1 second of the website loading. At the moment the program is still in it’s alpha stages, and the code is quite messy. The file on GitHub is called webJet.py, and it’s on the main branch.

Any help or suggestions would be much appreciated.

Thanks!

Source: Python Questions

LEAVE A COMMENT