Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PyQt5: Could not find QWebEngineProcess.exe, perhaps a unicode problem?

PyQt5: Could not find QWebEngineProcess.exe, perhaps a unicode problem?

Scheduled Pinned Locked Moved Unsolved Qt for Python
14 Posts 3 Posters 2.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    midn
    wrote on last edited by
    #1

    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?

    JonBJ 1 Reply Last reply
    0
    • M midn

      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?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @midn Maybe.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        midn
        wrote on last edited by
        #3

        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.

        JonBJ 1 Reply Last reply
        0
        • M midn

          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.

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by JonB
          #4

          @midn

          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....

          1 Reply Last reply
          0
          • M Offline
            M Offline
            midn
            wrote on last edited by
            #5

            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
            
            JonBJ 1 Reply Last reply
            0
            • M midn

              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
              
              JonBJ Online
              JonBJ Online
              JonB
              wrote on last edited by JonB
              #6

              @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.

              1 Reply Last reply
              1
              • M Offline
                M Offline
                midn
                wrote on last edited by
                #7

                Yup, that did indeed turn out to be the problem. I reinstalled Python directly to C:/ and it works without issues now. Though I'm very afraid this will take a while to bug fix, and I'm on a tight deadline :P.

                1 Reply Last reply
                1
                • M Offline
                  M Offline
                  midn
                  wrote on last edited by
                  #8

                  Okay, but there must be some way to at least avoid the issue for now, no? I find it very strange that no one seems to have had this issue with QWebEngineView before with PyQt5.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    midn
                    wrote on last edited by
                    #9

                    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.

                    JonBJ 1 Reply Last reply
                    0
                    • M midn

                      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.

                      JonBJ Online
                      JonBJ Online
                      JonB
                      wrote on last edited by
                      #10

                      @midn
                      As I said to you earlier, at this point why not give a try asking over at the PyQt mailing list?

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        midn
                        wrote on last edited by
                        #11

                        I messaged the address, it didn't seem to appear anywhere though. Perhaps I just don't know how to use mailing lists.

                        JonBJ 1 Reply Last reply
                        0
                        • M midn

                          I messaged the address, it didn't seem to appear anywhere though. Perhaps I just don't know how to use mailing lists.

                          JonBJ Online
                          JonBJ Online
                          JonB
                          wrote on last edited by
                          #12

                          @midn
                          Once you sign up you email questions to pyqt@riverbankcomputing.com. You should then be subscribed, and you will see a copy of the email you sent and any responses to it arriving in your Inbox.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            midn
                            wrote on last edited by
                            #13

                            Ah, didn't realize I had to be subscribed for it to count, thanks.

                            JonBJ 1 Reply Last reply
                            0
                            • M midn

                              Ah, didn't realize I had to be subscribed for it to count, thanks.

                              JonBJ Online
                              JonBJ Online
                              JonB
                              wrote on last edited by JonB
                              #14

                              @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! :)

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved