On 12 Jun, 2010, at 4:13, Massimo Di Stefano wrote:
> 
> 
> but if i try to run the example from PyObjc : 
> 
> PyObjCExample-ImageBrowser
> 
> i have this log :
> 
> PyObjCExample-ImageBrowser sasha$ python main.py 
> /Library/Python/2.6/site-packages/pyobjc_framework_Cocoa-2.2-py2.6-macosx-10.6-universal.egg/PyObjCTools/NibClassBuilder.py:73:
>  DeprecationWarning: PyObjCTools.NibClassBuilder is deprecated, use explicit 
> definitions instead
> 2010-06-12 13:10:41.997 Python[18759:d07] No Info.plist file in application 
> bundle or no NSPrincipalClass in the Info.plist file, exiting
> 
> 
> 
> any clue on what i'm doing wrong, how can i run this example?

You must use py2app to create an application bundle and then run that. Almost 
all pyobjc examples are GUI ones that require being run in a bundle.

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