[Pythonmac-SIG] Pygame and py2app 0.5.2

Ronald Oussoren ronaldoussoren at mac.com
Tue Oct 12 20:06:40 CEST 2010


On 5 Oct, 2010, at 3:49, Dan Ross wrote:

> Hi all-
> 
> I'm getting the following error when trying to launch a bundled Pygame app:
> 
> 
> 10/4/10 8:43:42 PM [0x0-0x584584].org.pythonmac.unspecified.Cupcake[73356] ImportError: dlopen(/Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/Resources/lib/python2.6/lib-dynload/pygame/base.so, 2): no suitable image found.  Did find:
> 
> 10/4/10 8:43:42 PM [0x0-0x584584].org.pythonmac.unspecified.Cupcake[73356] /Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/Resources/lib/python2.6/lib-dynload/pygame/base.so: no matching architecture in universal wrapper
> 
> 
>  
> The game launches fine from VIM or the command line.
> 
> This had been working with an earlier version of py2app. I'm guessing it's a 32 vs 64 bit problem of some sort? Any direction would be appreciated.
> 
> 
"file /Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/Resources/lib/python2.6/lib-dynload/pygame/base.so" shows which architectures are supported by the extension, while "file /Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/MacOS/Cupcake" shows the architectures supported by the application launcher.  

How can I reproduce this problem? That is,

* How did you install python?

* How did you install py2app?

* How did you install pygame?

* Do you have a simple script with setup.py that demonstrates the problem?

Ronald

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20101012/ea8a7876/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3567 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20101012/ea8a7876/attachment-0001.bin>


More information about the Pythonmac-SIG mailing list