[Pythonmac-SIG] py2app and setuptools , import error (osx 10.6.3, system python)

Ronald Oussoren ronaldoussoren at mac.com
Sat Jun 12 17:03:07 CEST 2010


Yikes, the 64-bit py2app bug strikes again.

I'm going to fix this next week,

Ronald

On Jun 12, 2010, at 7:47, Massimo Di Stefano <massimodisasha at gmail.com> wrote:

> Hi,
> 
> i tried to run py2app on the setup.py file,
> 
> python setup.py py2app
> 
> i had this log :
> 
> http://www.geofemengineering.it/data/py2app_log.txt
> 
> it ends with a pdb shell :-/ , 
> this the results if i try to run the generated  .app :
> 
> http://www.geofemengineering.it/data/log.png
> 
> 
> Thanks to help me.
> 
> Massimo.
> 
> Il giorno 12/giu/2010, alle ore 16.03, Ronald Oussoren ha scritto:
> 
>> 
>> 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
>>  
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20100612/2a942499/attachment.html>


More information about the Pythonmac-SIG mailing list