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

DLL Load Failed when frozen with cx_Freeze

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.12.5, 5.13.1
    • PySide, Shiboken
    • None
    • Windows

    Description

      With the newer versions this error appears when freezing a PySide2 application. On SOME Computers, not all. (I think it is loading from the locally installed PySide2 on dev computers, which it shouldn't do in the first place)

      Two things:
      It would be very nice if the error would point out which file(s) are missing
      It would also be great if more standard import mechanics would be used, so that standard freezing operations would work by default. (Compatibility has been worsening from version to version, requiring more and more special handling)

       

      Specifically, it seems like more and more of it falls apart if attempted to be used with ZipModules.

      Also specifically, "shiboken2.files.dir" gets interpreted as one would think, not as shiboken2.'files.dir', leading to failure when freezing and I don't know how to even begin to fix that without changing shiboken2

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes