I am running Pyinstaller on a Mac, OS 10.14.4, Python 3.7.3. I have been 
successfully bundling a QT/PyQt project for some time now, but my last 
efforts have ended up with an .app and executable that crash immediately 
after launching. When I build the exec with debug=True, I see the following 
output on the console:

iMac-2:eFieldBook_Qt5 David$ 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook/eFieldBook
 
[3768] PyInstaller Bootloader 3.x
[3768] LOADER: executable is 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook/eFieldBook
[3768] LOADER: homepath is 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook
[3768] LOADER: _MEIPASS2 is NULL
[3768] LOADER: archivename is 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook/eFieldBook
[3768] LOADER: Extracting binaries
[3768] LOADER: Executing self as child
[3768] LOADER: set _MEIPASS2 to 
/var/folders/xc/l59x44tx4_bbl7d78cp44fyc0000gn/T/_MEIIL0WoW
[3768] LOADER: Registering signal handlers
[3769] PyInstaller Bootloader 3.x
[3769] LOADER: executable is 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook/eFieldBook
[3769] LOADER: homepath is 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook
[3769] LOADER: _MEIPASS2 is 
/var/folders/xc/l59x44tx4_bbl7d78cp44fyc0000gn/T/_MEIIL0WoW
[3769] LOADER: archivename is 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook/eFieldBook
[3769] LOADER: Already in the child - running user's code.
[3769] LOADER: Python library: 
/var/folders/xc/l59x44tx4_bbl7d78cp44fyc0000gn/T/_MEIIL0WoW/Python
[3769] Error loading Python lib 
'/var/folders/xc/l59x44tx4_bbl7d78cp44fyc0000gn/T/_MEIIL0WoW/Python': 
dlopen: 
dlopen(/var/folders/xc/l59x44tx4_bbl7d78cp44fyc0000gn/T/_MEIIL0WoW/Python, 
10): image not found
[3768] LOADER: Restoring signal handlers
[3768] LOADER: freeing args
[3768] LOADER: returning child exit status 255
[3768] LOADER: Back to parent (RC: 255)
[3768] LOADER: Doing cleanup
[3768] LOADER: Freeing archive status for 
/Users/David/OpenSource/Pyinstaller_builds/eFieldBook_Qt5/dist/eFieldBook/eFieldBook
iMac-2:eFieldBook_Qt5 David$ 

I also have a very simple test.py that works fine, and when it is running I 
can see the Python image in the temp directory Pyinstaller creates. My 
bigger app doesn't last long enough for me to check.

Other than OS updates, nothing on my computer has changed since I last 
worked with this, and I have updated Python and checked for Pyinstaller 
updates since this started happening. Any suggestions would be greatly 
appreciated.

My .spec file is attached, if that helps.

David















-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pyinstaller+unsubscr...@googlegroups.com.
To post to this group, send email to pyinstaller@googlegroups.com.
Visit this group at https://groups.google.com/group/pyinstaller.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/48d1b95e-dda2-4014-92b1-7df53a646f9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: eFieldBook.spec
Description: Binary data

Reply via email to