Py2app OSX El Capitan Error

In alias mode, this does not work.

Here is what I run:

OSX 10.11.1 (El Capitan)

Python 3.5 via Anaconda (with the Jupyter 4.1.0 Notebook)

py2app is the newest version (0.9)

That's what I'm doing:

Create script and save as APP_OSX.py

Enter the following commands in terminal:

    py2applet --make-setup APP_OSX.py

    rm -rf build dist

    python setup.py py2app -A

This is after I installed the regular version of Python 3.5.1 from python.org (because there was a problem using py2app and my version of Anaconda Python 3.5.1).

Then I find the attached application in the “dist” folder and open it, and a window appears with the name of my application and “error”.

On the console, I get the following:

3/30/16 7:37:18.972 PM APP_OSX[5819]: 2016-03-30 19:37:18.971 APP_OSX[5819:746261] APP_OSX Error
3/30/16 7:37:21.511 PM sharedfilelistd[242]: SecTaskLoadEntitlements failed error=22
3/30/16 7:37:21.585 PM Console[5822]: Failed to connect (_consoleX) outlet from (NSApplication) to (ConsoleX): missing setter or instance variable
3/30/16 7:37:25.893 PM WindowServer[161]: send_datagram_available_ping: pid 349 failed to act on a ping it dequeued before timing out.
3/30/16 7:37:51.601 PM Console[5822]: Persistent UI failed to open file file:///Users/mi/Library/Saved%20Application%20State/com.apple.Console.savedState/window_3.data: Permission denied (13)

Not sure if this helps, but the script uses the following libraries:

Numpy

Pandas

Easygui

Thanks in advance!

+4
source share

All Articles