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

AMD 15.7.1 WHQL causes LoadLibrary failed with error 87: The parameter is incorrect and exit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: PySide
    • Labels:
      None
    • Platform/s:
      Windows

      Description

      I recently reinstalled windows 10 and started having issues running my application. I've narrowed it down to something strange with the import behind QWebEngineView and QApplication creation. Application force closes after this dialog appears and the user clicks okay, which in my opinion should just be returning an exception and not completely killing the interpreter.

       

       

      Here is the code to reproduce the issue:

      def fail():
          import sys
          from PySide2 import QtWidgets
          from PySide2.QtWebEngineWidgets import QWebEngineView    QtWidgets.QApplication(sys.argv)
          
          
      def works():
          import sys
          from PySide2 import QtWidgets
        
          QtWidgets.QApplication(sys.argv)
          
          from PySide2.QtWebEngineWidgets import QWebEngineView
      
      if __name__ == "__main__":
          fail()
          #works()
      
      
      Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 07:55:33) [MSC v.1916 32 bit (Intel)] on win32

       

       

      >c:\Python\Python37-32\python.exe -m pip freeze
      bcrypt==3.2.0
      brainstem @ file:///F:/Users/drebbe/Downloads/brainstem-2.8.2/development/python/brainstem-2.8.2-py2.py3-none-any.whl
      cffi==1.14.3
      cryptography==3.1.1
      ftd2xx==1.0
      ftd3xx==1.0
      helpdev==0.7.1
      importlib-metadata==2.0.0
      intelhex==2.3.0
      mysql-connector-python==8.0.17
      neoradio2==1.0.0.post4
      numpy==1.19.2
      paramiko==2.7.2
      psutil==5.7.2
      PyAudio @ file:///E:/development/workspace/FIRE2-Tester/dependencies/37/PyAudio-0.2.11-cp37-cp37m-win32.whl
      pybind11==2.6.0
      pycparser==2.20
      pyft232==0.12
      PyNaCl==1.4.0
      pynmea2==1.15.0
      pyserial==3.4
      PySide2==5.15.1
      python-ics==6.0
      pyusb==1.1.0
      PyVISA==1.11.1
      pywin32==221
      QDarkStyle==2.8.1
      QtPy==1.9.0
      shiboken2==5.15.1
      six==1.15.0
      typing-extensions==3.7.4.3
      zipp==3.3.1
      

       

      >systeminfoHost 
      Name:                 DESKTOP-1N7GMCG
      OS Name:                   Microsoft Windows 10 Pro
      OS Version:                10.0.19042 N/A Build 19042
      OS Manufacturer:           Microsoft Corporation
      OS Configuration:          Standalone Workstation
      OS Build Type:             Multiprocessor Free
      Registered Owner:          xxxxxx
      Registered Organization:
      Product ID:                00330-80000-00000-AA506
      Original Install Date:     10/22/2020, 12:29:45 PM
      System Boot Time:          10/26/2020, 9:08:33 AM
      System Manufacturer:       To Be Filled By O.E.M.
      System Model:              To Be Filled By O.E.M.
      System Type:               x64-based PC
      Processor(s):              1 Processor(s) Installed.
                                 [01]: Intel64 Family 6 Model 63 Stepping 2 GenuineIntel ~3301 Mhz
      BIOS Version:              American Megatrends Inc. P1.90, 4/17/2015
      Windows Directory:         C:\Windows
      System Directory:          C:\Windows\system32
      Boot Device:               \Device\HarddiskVolume4
      System Locale:             en-us;English (United States)
      Input Locale:              en-us;English (United States)
      Time Zone:                 (UTC-05:00) Eastern Time (US & Canada)
      Total Physical Memory:     16,307 MB
      Available Physical Memory: 10,372 MB
      Virtual Memory: Max Size:  19,251 MB
      Virtual Memory: Available: 10,937 MB
      Virtual Memory: In Use:    8,314 MB
      Page File Location(s):     C:\pagefile.sys
      Domain:                    WORKGROUP
      Logon Server:              \\DESKTOP-1N7GMCG
      Hotfix(s):                 6 Hotfix(s) Installed.
                                 [01]: KB4578968
                                 [02]: KB4562830
                                 [03]: KB4570334
                                 [04]: KB4577266
                                 [05]: KB4580325
                                 [06]: KB4579311
      Network Card(s):           2 NIC(s) Installed.
                                 [01]: Intel(R) Ethernet Connection (2) I218-V
                                       Connection Name: Ethernet
                                       Status:          Media disconnected
                                 [02]: Qualcomm Atheros AR8171/8175 PCI-E Gigabit Ethernet Controller (NDIS 6.30)
                                       Connection Name: Ethernet 2
                                       DHCP Enabled:    Yes
                                       DHCP Server:     192.168.3.254
                                       IP address(es)
                                       [01]: 192.168.6.3
                                       [02]: fe80::318f:a230:803:e5f
      Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
                                 Virtualization Enabled In Firmware: Yes
                                 Second Level Address Translation: Yes
                                 Data Execution Prevention Available: Yes
      
      

        Attachments

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            ic3man5 David
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes