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
Mac OS Catalina App crash on app start #4466
Comments
we also have the same issue, compiled app crashes the Mac session |
Same problem to me. Stack trace looks very similar: 2019-10-18 19:31:26.507 MountWizzard4[2608:39660] -[__NSCFNumber length]: unrecognized selector sent to instance 0x437 |
This... is unfortunate. Anyone ever find a resolution as of yet? My trace:
|
Any news on this? |
it still crashes with upgraded versions.. PyInstaller 3.6, MacOS Catalina 10.15.4, PyQt5-5.14.2, Python 3.8... |
In my case: the only way that I've found, so far, is to build the UI only using .ui files with Qt Creator or some such, and then reference them inside my code. I cannot, in any way, create a UI purely with Python or else it'll fail to launch with my above trace. After building using referenced .ui files, it launches correctly. This is fine for me as it's only just a small toolkit for a small company, but for others I'd imagine it's not going to be a simple fix as I had to completely rewrite a feature to work with those .ui files. |
Could you share a minimal example, its spec file and the command line used to build the executable, to ease reproduction? |
still crashes on mac os Sonoma - did anyone get it work on mac os? |
Can you provide a self-contained example that triggers the issue? And information about build environment that would allow us to reproduce the problem: python version, pyqt version, how python and pyqt were installed (python.org + pypi, homebrew, anaconda)? FWIW, our CI runs on Monterey, and PySide/PyQt tests pass for the latest PyPI wheels. A basic hello world PyQt5 app also seems to work on my Sonoma |
@rokm yes, here is the self-contained example (with build folder and logfiles How i build: cd pyinst_pyside_crash
pyinstaller main.spec --clean --log-level=DEBUG > build_log.log 2>&1 It crash when i want to execute the Build Environment:
@rokm do you need more info or is this sufficient? |
Thanks! I'll check if I can reproduce the problem, and get back to you if I need anything else. |
This particular crash is caused by app = BUNDLE(coll,
...
version=1
) in the
whereas it should be a
Changing |
And based on the traceback, both the original report and #4466 (comment) had this issue, considering that |
@rokm thank you very much, this works 😃 Do we have a explanation why it got broken after MacOS Mojave with MacOS Catalina? Did Apple allowed it to be a integer only until Mojave? |
Could be that, or that the Based on its name, I assumed that |
build app on mac os Catalina, it crashes when i launch app.
on Mojave everything worked perfectly
Versions:
PyInstaller 3.5
Mac Os Catalina 10.15
Python 3.6.5
The text was updated successfully, but these errors were encountered: