[Pythonmac-SIG] strange py2app problem?

Kent Quirk kquirk at solidworks.com
Fri Apr 29 07:43:29 CEST 2005


I've spent all day trying to get my rather large port of a Python/C++ app to package properly using py2app. Let's just say I've learned a lot. :-)

But not quite enough, apparently.

I now have a packaged .app with (I hope) everything I need inside it. If I run it from XCode, it runs. If I run it from the command line (as "open myapp.app/" it runs. But if I run it by doubleclicking the app file, it fails. The failure is obscure -- I get a message that I've failed to initialize something that should have long since been initialized. I suspect that either I'm not finding a particular library or framework, or that I'm somehow finding (and loading) it more than once.

I've checked paths and environment, and I believe that any remaining differences in these areas are completely unrelated (like the term environment variables). But I've been known to be wrong from time to time.

Can anyone offer any suggestions as to where else to look? I'm about out of ideas.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/pythonmac-sig/attachments/20050429/fad062f7/attachment.html


More information about the Pythonmac-SIG mailing list