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

Because of changes in the PySide __init__.py, cx_Freeze executable, crashed on startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 1.1.0, 1.2.x
    • PySide
    • None
    • Windows 7 x64
      Python 2.7 x86/x64
      cx_Freeze 4.3 x86/x64
      PySide 1.1.1 x86/x64

    Description

      Starting with PySide version 1.1.0 has changed the package file _init_.py:

      Old version:
      http://qt.gitorious.org/pyside/pyside-archive/blobs/1.0.9/PySide/__init__.py.in

      New version:
      http://qt.gitorious.org/pyside/pyside-archive/blobs/1.1.0/PySide/__init__.py.in

      In old version has import of "private" module. In new version this import has removed. This led to the fact that when you build the application using cx_Freeze, it crashes at startup.

      Module "private":

      import atexit
      from QtCore import __moduleShutdown
      
      atexit.register(__moduleShutdown)}}
      

      cx_Freeze sample:
      https://bitbucket.org/anthony_tuininga/cx_freeze/src/ec1efee25c79293a69875d8d73701d6575928781/samples/PyQt4?at=default

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            esp Evgeny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes