-
-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while packaging PySide2 based application on mac #2154
Comments
Try to adapt your setup to use zip_include_packages like in our pyside2 sample: |
Thank you for your response. I now can build the .app and .dmg file after added zip_include_packages. But the app does not start. I tried to run it from inside of the package on console. It ends with this error:
I also cloned the cx_Freeze repo and tried the PySide2 sample, I got a similar error.
I tried on python 3.10.12 and python 3.8.18. Both have the same error. Could you help me on this? I have updated the minimal reproducing project. |
The pyside2 sample was tested in CI (py38-3.10, macos 11.7) and tested using homebrew python 3.10 macos 11.0 recently (about 2 weeks ago), using cx_Freeze 6.15.10. |
I tested with the cx_Freeze 6.15.10 and it works both the sample and my minimal project! Thank you for your help! But I still hope you can fix this problem in the future versions so I can update the version. |
Release 6.15.12 is out! |
Prerequisite
Describe the bug
While packaging a PySide2 (Qt) based application on mac, there is an error said cannot find some file in Postgres.app even the application does not use PostgreSQL DB.
Error message:
To Reproduce
I created a minimal project to reproduce the problem: https://github.com/programus/cx-freeze-test
Here are the production steps (python version is 3.10.12):
Wait a while and you will get the same error.
ps. cx-Freeze 6.6 works without this error and is able to generate dmg file and app file properly.
Expected behavior
I expected the job success and the dmg file and app file are generated properly.
Screenshots
N/A
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: