absaw / absaw/Counter-App

Launch Error

Abierto
#1 0 comentarios 0 reacciones 1 asignado Reclamado por @absaw Ver en GitHub
bug good first issue help wanted question
Lenguaje dominante
Python
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.