Open LouiseCav opened 4 years ago
I have update to MacOS 10.15.5 and still have the same problem. However I have tried it on a system running MacOS 10.14.6 (using the same versions of python, py2app and pygame) and the app produces works OK but gives the error when quit (as the app produced using -A on MacOS 10.15.4 did).
Sorry about the slow response.
This "should" just work and I'm not sure why it doesn't.
Annoyingly (?) the program works for me, although I did have to fix the script (quit_game
calls a non-existent global function quit()
). I still get an py2app generated error pop-up when closing the application. The usual way to debug this is to start the application in a shell (dist/Othello.app/Contets/MacOS/Othello
), but for some reason that doesn't work reliably for me (most of the time the GUI doesn't actually launch until I quit the script using CTRL+C, which defeats the purpose of launching the script like this).
I am using py2app 0.21 with python 3.7.7 on macOS Catalina version 10.15.4
When I use -A the app produced will run successfully , but when I exit I get an error and my system log shows the following
com.apple.xpc.launchd[1] (org.pythonmac.unspecified.Othello.6516[41752]): Service exited with abnormal code: 255
If I don't use -A the app produced doesn't run at all, I get an error when I launch it & my system log shows the following (the same as above but with different numbers)
com.apple.xpc.launchd[1] (org.pythonmac.unspecified.Othello.6528[41978]): Service exited with abnormal code: 255
My setup file -
My script -