[Pythonmac-SIG] py2app and pygame results in application that may not launch
Russell E. Owen
rowen at uw.edu
Mon Nov 30 21:21:07 CET 2009
In article <rowen-125484.14515309112009 at news.gmane.org>,
"Russell E. Owen" <rowen at uw.edu> wrote:
> I am using py2app to bundle a standalone application (containing its own
> python) that used to use tkSnack to play sound cues. I recently switched
> to pygame because the sound cues were no longer paying reliably with
> Before switching to pygame the Mac applications I produced seemed to run
> for all my users. Now they run for some users but fail to start with
> others. I have appended a crash dump from one user.
> I cannot see the problem on my own pair of Macs -- each binary runs on
> either, even if I temporarily move /Library/Frameworks/Python... and
> Tcl... and Tk...
> I have tried building on Leopard and on Snow Leopard and it makes no
> obvious difference (though i have not compared crash logs in detail).
> Some possibly relevant details:
> - It seems to be something with fonts.
> - At least one user who complains uses MacPorts (but tried disabling it
> and it ran).
> - Sometimes the application will run once or twice, then not again.
> - Once I dragged a new version of my binary over an old one (to replace
> it) and MacOS X told me I could not do that because a font was in use.
> One binary is available here (built on Leopard with py2pp 0.4.3)
> Any idea what I can do to fix this? The only relevant hit I found in a
> google search was from somebody complaining about a similar problem that
> struck between pygame 1.8.0 and 1.8.1. Barring any better solutions I
> will try reverting to from 1.9.1 to 1.8.0.
The solution was to upgrade to the latest py2app and associated software.
More information about the Pythonmac-SIG