PyQt5: Could not find QWebEngineProcess.exe, perhaps a unicode problem?
-
When loading a page onto a QWebEngineView, the process crashes with just this error:
Could not find QWebEngineProcess.exe
I can verify that QLibraryInfo.LibraryExecutablesPath points to the correct location and that QWebEngineProcess.exe is indeed there, except for one thing. When I try printing that path (Using print and QLibraryInfo.location) the unicode part of the path was brokenly encoded/decoded. Could that be why it can't find QWebEngineProcess.exe?
-
When loading a page onto a QWebEngineView, the process crashes with just this error:
Could not find QWebEngineProcess.exe
I can verify that QLibraryInfo.LibraryExecutablesPath points to the correct location and that QWebEngineProcess.exe is indeed there, except for one thing. When I try printing that path (Using print and QLibraryInfo.location) the unicode part of the path was brokenly encoded/decoded. Could that be why it can't find QWebEngineProcess.exe?
-
And? I can't really say anything else, this is all I know of concerning the problem, and taking it out of a Unicode path is out of the question.
the unicode part of the path was brokenly encoded/decoded
I don't know, maybe you would get some help if you showed what this was? Or, perhaps you ought check it can find all its required dependent libraries. Or, did you build Qt yourself, or get it pre-built, and is the QWebEngine stuff fully at the same/latest version (I believe it;s a separate option in downloads, or did you maybe try a reinstall? I & others use QWebEngineProcess stuff, from PyQt and on Windows & Linux (myself), and it works fine without such a problem, so it's hard to know what your issue might be....
-
I simply did "python -m pip install pyqt5" and "python -m pip install pyqtwebengine". On Linux it works fine, but on Windows it breaks with this error.
The Unicode part should spell Адміністратор. At the beginning it calls print(QLibraryInfo.location(QLibraryInfo.LibraryExecutablesPath)), then I trigger the error.
C:\Users\Адміністратор\Downloads\test>start.bat C:/Users/Àäì³í³ñòðàòîð/AppData/Local/Programs/Python/Python37-32/lib/site-packages/PyQt5/Qt/bin Could not find QtWebEngineProcess.exe
-
I simply did "python -m pip install pyqt5" and "python -m pip install pyqtwebengine". On Linux it works fine, but on Windows it breaks with this error.
The Unicode part should spell Адміністратор. At the beginning it calls print(QLibraryInfo.location(QLibraryInfo.LibraryExecutablesPath)), then I trigger the error.
C:\Users\Адміністратор\Downloads\test>start.bat C:/Users/Àäì³í³ñòðàòîð/AppData/Local/Programs/Python/Python37-32/lib/site-packages/PyQt5/Qt/bin Could not find QtWebEngineProcess.exe
@midn
It does not look great, does it?and taking it out of a Unicode path is out of the question.
If I wanted to know, I would temporarily test, if I could, by installing/trying with a path which does not have this Unicode problem. Then I would know if that was indeed the problem.
At this point --- unless you get a better answer here in a while --- I think I would go to the PyQt mailing list and report there. I'm not sure this will be a PyQt issue rather than a Qt one, but it might be, or if you ask nicely there are clever people there who might recognise if it's a Qt issue and explain anyway. Otherwise I guess it's the Qt bug reports.
-
As I said, taking it out of a Unicode path is out of the question, because above you can see that the only Unicode part is the username, which I have no control over, and so far 100% of computers I've tested this on friend's computers have Unicode usernames.
-
As I said, taking it out of a Unicode path is out of the question, because above you can see that the only Unicode part is the username, which I have no control over, and so far 100% of computers I've tested this on friend's computers have Unicode usernames.
-
I messaged the address, it didn't seem to appear anywhere though. Perhaps I just don't know how to use mailing lists.
-
@midn
Like I said, you have to go to page https://riverbankcomputing.com/mailman/listinfo/pyqt FIRST and from there fill in your details to sign up! Then (I think) you get an email confirming, and the email address of where to post your questions to. When you send a email to that, you get a copy back because you're subscribed to (everything) which gets posted to that group, and you get emails for everybody else's posts from them on. You look through those, hoping to see someone has replied to your post! :)