On 31-jan-2006, at 5:49, Justin Mitchell wrote:



Anyways, I'm running into this error when trying to run the
application (which was packaged with py2app 0.2). The script works if
I don't package it. No changes were made from the ppc version.

    import pcapy
ImportError: dlopen(/path/to/myapplication.app/Contents/Resources/ Python/lib-dynload/pcapy.so,
2): no suitable image found.  Did find:
/path/to/myapplication.app/Contents/Resources/Python/lib-dynload/ pcapy.so:
mach-o, but wrong architecture

What is the output of "file /path/to/myapplication.app/Contents/ Resources/Python/lib-dynload/pcapy.so"? And what is the output of "file /path/to/myapplication.app/Contents/MacOS/ myapplication"?

Did you package the application on PPC or did you rebuild the application bundle on Intel? If the latter,
did you rebuild the py2app application stub binary?

Ronald


Any suggestions on where to go next?

Thanks a bunch,

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

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

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

Reply via email to