retext-project / retext

ReText: Simple but powerful editor for Markdown and reStructuredText
GNU General Public License v2.0
1.83k stars 197 forks source link

WebEngine (Chromium) renderer delivering blank page with no error on terminal when installing via pip in virtual environment #587

Open callegar opened 2 years ago

callegar commented 2 years ago

Hi,

trying ReText 7.2.3 (using PyMarkups 3.1.3) installed on Linux in a virtual environment created by virtualenv. ReText itself is installed in the virtual environment via pip.

In the installation of ReText the PyQt5 dependencies were brought in automatically, apart from PyQtWebEngine that I had to install manually. Without it the option for the WebEngine (Chromium) renderer is grayed out and not available.

When trying to enable preview (either live or not) using the WebEngine (Chromium) renderer, the preview remains blank.

No error on the terminal.

At the same time, if I use the retext provided by the distribution (Manjanaro) that is exactly at the same version everything works fine. The only difference seems to be that in this case the dependencies are system packages rather than items installed by pip in a virtual environment.

What can I do to help identify what breaks the ability to use retext with the WebEngine rendering from a virtual environment?

mitya57 commented 2 years ago

I cannot reproduce this, unfortunately. So I have to ask a few questions in case they help shed some light on this.

mitya57 commented 2 years ago

Also, can you try creating a fresh virtualenv and installing ReText from master?

pip install git+https://github.com/retext-project/retext.git
pip install PyQt6-WebEngine

There are many changes like moving from PyQt5 to PyQt6, so maybe there will be some difference.