**Environment:**

Python 3.8.3

PyInstaller 4.1.dev0

Mac OS Catalina 10.15

**Problem:**

I tried to distribute my program made with Python 3.

I use PyInstaller to make the Mac OS bundle app : MyApp.app

When I double click on /Applications/MyApp.app, the icon bounce on bottom 
right corner and then close itself. Nothing happens.

If I open the executable file /Applications/MyApp.app/Contents/MacOS/MyApp 
from terminal, it works fine. The icon pop up and open the GUI of my 
software.


So I open console and double click again on MyApp.app in order to identify 
the source of error. Here is what I found:


    Non-fatal error enumerating at <private>, continuing: Error 
Domain=NSCocoaErrorDomain Code=260 "Impossible to open the file « PlugIns » 
because it doesn't exist." UserInfo={NSURL=PlugIns/ -- 
file:///Applications/MyApp.app/Contents/, 
NSFilePath=/Applications/MyApp.app/Contents/PlugIns, 
NSUnderlyingError=0x7fe03dd17fb0 {Error Domain=NSPOSIXErrorDomain Code=2 
"No such file or directory"}}


After investigation, I found this discussion 
<https://github.com/pyinstaller/pyinstaller/issues/3820> on PyInstaller 
GitHub page.

Obviously we are numerous to have same issue.

I tried all the solutions proposed, but none of them worked.

This issue exists since October 2018 and no-one found the perfect solution.

Is there any Python Mac OS expert able to solve this very popular problem?


 

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/fae304fb-7c3f-4747-ab90-0aa06dd6750cn%40googlegroups.com.

Reply via email to