Details
Description
When embedding PySide2 5.12.1 using either PyInstaller, py2app, or cx_freeze in a frozen executable, the app crashes right after opening.
The traceback points to six.py, specifically:
File "six.pyc", line 318, in <module> moves = _MovedItems(__name__ + ".moves") File "six.pyc", line 128, in __init__ self.__doc__ = self.__class__.__doc__ SystemError: <method-wrapper '__get__' of getset_descriptor object at 0x100072bd0> returned a result with an error set
This error does not show up if the same codebase is executed from sources.
This issue has been experienced by other developers and reported on the PyInstaller (link) and six.py (link) trackers.
So far, we have reports of this issue on Windows and macOS. with Python 3.6 and 3.7.
Attachments
Issue Links
- relates to
-
PYSIDE-937 Random crash when importing matplotlib after PySide2
- Closed
-
PYSIDE-932 SystemError starting at 5.12.1
- Closed
For Gerrit Dashboard: PYSIDE-942 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
254110,4 | Fix error when importing signatures in frozen executables | 5.12 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
254525,23 | Implement Embedding To Make Signatures Always Available | 5.12 | pyside/pyside-setup | Status: MERGED | -2 | 0 |