Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1937

Can't found QtWebEngineProcess.exe and other files at Windows system with Chinese user name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.3
    • PySide
    • None

    Description

      Pyside6(QT6) does not support 32-bit win7, so can you fix the version of pyside2(QT5)?

       
      When Package the script as exe and run the exe, it will prompt Can't found QtWebEngineProcess.exe, icudtl.dat and some "*.pak" files.

       

      • PySide2: 5.15.2.1
      • System: Windows system with Chinese user name(It will cause the path of temporary files contains Chinese)
      • Package the script  of python as an EXE file

       
      Problem recurrence steps:
         1. Use QtWebEngine open a webpage:

      self.textBrowser = QtWebEngineWidgets.QWebEngineView(self.centralwidget)
      self.textBrowser.load(PySide2.QtCore.QUrl('http://admin:admin@192.168.1.8'))

         2. Use pyinstaller to package Python code into EXE file, and run the exe. It will prompt an error: "Could not find QtWebEngineProcess.exe"
       
         But we can see the missing files in the  temporary files. The problem seems to be caused by the Chinese path.
       
         3. If you copy the missing files to the EXE root directory, you can run normally
       
      In addition, it is normal to run the script directly instead of packaging it as exe.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              crmaurei Cristian Maureira-Fredes
              zhenge z z
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes