[Pythonmac-SIG] [Boa Constr] Workaround for Boa crashes on OS X

Riaan Booysen riaan at e.co.za
Fri Jun 24 14:53:39 CEST 2005


Hi Kevin,

Kevin Walzer wrote:

> I'm copying this to the Boa Constructor list. Riaan, any idea what might
> cause Boa to crash when running code when it's wrapped up in an app
> bundle (similar to py2exe) and not crash when it's run from the
> command-line?

I know next to nothing about app bundles.

But one thing that comes to mind is that (and you will also have
this issue with py2exe) by default Boa uses sys.executable
to run Python files. So in the normal case this is python.exe
but under e.g. py2exe it will be Boa.exe.

The Preference: Preferences->General->PythonInterpreterPath
should probably be set for your app bundle to point to the real
Python execuatble.

Cheers,
Riaan.


More information about the Pythonmac-SIG mailing list