Skip to content
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

Failed to execute script pyi_rth_certifi when start #98

Closed
ericxsun opened this issue Apr 29, 2020 · 8 comments
Closed

Failed to execute script pyi_rth_certifi when start #98

ericxsun opened this issue Apr 29, 2020 · 8 comments
Assignees
Labels
Bug Something isn't working Platform: MacOS

Comments

@ericxsun
Copy link

kanmail: v1.2004231151
mac: 10.13.6
when start kanmail

Kanmail.app/Contents/MacOS/Kanmail

an error occurs

Traceback (most recent call last):
  File "PyInstaller/loader/rthooks/pyi_rth_certifi.py", line 13, in <module>
  File "/Users/nick/.pyenv/versions/3.7.6/envs/kanmail-3.7/lib/python3.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 623, in exec_module
  File "ssl.py", line 98, in <module>
ImportError: dlopen(/Users/myName/Applications/Kanmail.app/Contents/MacOS/_ssl.cpython-37m-darwin.so, 2): Symbol not found: ____chkstk_darwin
  Referenced from: /Users/qinluo/Applications/Kanmail.app/Contents/MacOS/libcrypto.1.1.dylib (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib
 in /Users/myName/Applications/Kanmail.app/Contents/MacOS/libcrypto.1.1.dylib
[82956] Failed to execute script pyi_rth_certifi
@Fizzadar Fizzadar added Bug Something isn't working Platform: MacOS labels Apr 29, 2020
@Fizzadar Fizzadar self-assigned this Apr 29, 2020
@Fizzadar
Copy link
Member

So this is due to the build occurring on 10.15, and pyinstaller can't fix this as per https://pyinstaller.readthedocs.io/en/stable/usage.html#making-mac-os-x-apps-forward-compatible.

I'm looking into options, one is to build using a VM and older version of MacOS.

@Fizzadar
Copy link
Member

Possible solution to test: https://gist.github.com/phfaist/a5b8a895b003822df5397731f4673042

@ericxsun
Copy link
Author

Possible solution to test: https://gist.github.com/phfaist/a5b8a895b003822df5397731f4673042

Could you release one ? It'll be very nice.

@Fizzadar
Copy link
Member

@ericxsun the latest build, v1.2004301944, should now work for you! Built using the 10.12 SDK and tested working in a 10.13.6 VM.

@maxwolf9731
Copy link

Ciao, same problem here with a 10.11.16 macos. If it is not a big probleme can you compile also for me :)
Thanks

@Fizzadar
Copy link
Member

Fizzadar commented May 1, 2020

@maxwolf9731 unfortunately I can't get it working - I can't get pyobj to compile using the older SDKs :/ 10.12 will have to be the oldest supported MacOS for now.

@ericxsun
Copy link
Author

ericxsun commented May 2, 2020

@ericxsun the latest build, v1.2004301944, should now work for you! Built using the 10.12 SDK and tested working in a 10.13.6 VM.

Thanks so much. Nice job

@Fizzadar
Copy link
Member

Fizzadar commented May 2, 2020

@maxwolf9731 change of plan! I managed to get the 10.10 SDK setup and the latest release should now be compatible.

I don't have any way to test or verify this though, if you could let me know if it works that would be excellent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Platform: MacOS
Projects
None yet
Development

No branches or pull requests

3 participants