absaw / absaw/Counter-App

Launch Error

Offen
#1 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @absaw Auf GitHub ansehen
bug good first issue help wanted question
Vorherrschende Sprache
Python
Sterne
0
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Launch error in Bundled app generated from py2app
```
Counter-App % ./dist/counter_app.app/Contents/MacOS/counter_app
Traceback (most recent call last):
File "/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/__boot__.py", line 30, in
import ctypes
File "", line 259, in load_module
File "ctypes/__init__.pyc", line 8, in
ImportError: dlopen(/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/_ctypes.so, 0x0002): Library not loaded: @rpath/libffi.8.dylib
Referenced from: <48D8AB5A-C429-3CFF-B125-CCCEE0F48A7C> /Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/_ctypes.so
Reason: tried: '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/../../libffi.8.dylib' (no such file), '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Resources/lib/python3.9/lib-dynload/../../libffi.8.dylib' (no such file), '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Frameworks/libffi.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/abhishek.sawalkar/Desktop/Codefiles/Counter-App/dist/counter_app.app/Contents/Frameworks/libffi.8.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libffi.8.dylib' (no such file), '/usr/lib/libffi.8.dylib' (no such file, not in dyld cache)
2024-07-30 11:12:58.354 counter_app[53462:1251681] Launch error
2024-07-30 11:12:58.354 counter_app[53462:1251681] Launch error
See the py2app website for debugging launch issues
```

![image](https://github.com/user-attachments/assets/181cc2b5-23bb-4d73-8722-e2904bdc0b10)

Solutions tried:

1. libffi re-installation
2. Placing libffi.8.dylib and libffi.dylib manually in Frameworks folder
3. Re-installing dependencies setuptools, rumps, wheel

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.