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

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