On 9 May, 2010, at 22:21, Mike wrote:

> 
> ----- Original Message ----- From: "Ronald Oussoren" <ronaldousso...@mac.com>
> To: "Mike" <smartmi...@gmail.com>
> Cc: <pythonmac-sig@python.org>
> Sent: Monday, May 03, 2010 1:09 AM
> Subject: Re: [Pythonmac-SIG] Module Import Problem
> 
> 
> 
> On 2 May, 2010, at 20:16, Mike wrote:
> 
>> I built the latest PyObjC from source and got the same error.
> 
> What is 'the latest'?  It should be possible to use "easy_install 
> http://pypi.python.org/packages/source/p/pyobjc-core/pyobjc-core-2.2.tar.gz"; 
> to install pyobjc-core, then "easy_install pyobjc==2.2" to install the rest.
> 
> Ronald
> 
> I followed your suggestion and installed pyobjc-core. Now my program runs,
> but the window pops up for a second then closes. I'm using Wx for my gui.
> Also, pygame does not play any sounds, I tried this separately from the
> program itself, it loads sounds and does not play them. Sorry I don't have
> anymore information, but the program just closes without any errors, works
> fine on Windows and Linux.

You may get an unexpected exception. The easiest way to look for them is to 
start the binary from the command-line, if your application is named 'Foo.app' 
you can start it using '/path/to/Foo.app/Contents/MacOS/Foo'. That will behave 
the same as double-clicking on the app icon, except that you'll be able to see 
the stdout/stderr streams from the program.

Ronald

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to