Non-fatal error enumerating at <private>, continuing: Error Domain=NSCocoaErrorDomain Code=260 "Impossible to open the file « PlugIns »

15 views
Skip to first unread message

Centre de Formation France

unread,
Sep 8, 2020, 9:49:38 AM9/8/20
to PyInstaller

**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 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?


 
Reply all
Reply to author
Forward
0 new messages