<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 5 Oct, 2010, at 3:49, Dan Ross wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>Hi all-</p><p>I'm getting the following error when trying to launch a bundled Pygame app:</p><div>
<br class="webkit-block-placeholder"></div><p>10/4/10 8:43:42 PM<span style="white-space: pre;"> </span>[0x0-0x584584].org.pythonmac.unspecified.Cupcake[73356]<span style="white-space: pre;"> </span>ImportError: dlopen(/Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/Resources/lib/python2.6/lib-dynload/pygame/base.so, 2): no suitable image found. &nbsp;Did find:</p><p>10/4/10 8:43:42 PM<span style="white-space: pre;"> </span>[0x0-0x584584].org.pythonmac.unspecified.Cupcake[73356]<span style="white-space: pre;"> </span>/Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/Resources/lib/python2.6/lib-dynload/pygame/base.so: no matching architecture in universal wrapper</p><div><br class="webkit-block-placeholder"></div><div>&nbsp;<br class="webkit-block-placeholder"></div><p>The game launches fine from VIM or the command line.</p><p>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.</p><div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" color="#144FAE"><br></font></font></div></blockquote>"file&nbsp;/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&nbsp;/Users/danr/Projects/cupcake/dist/Cupcake.app/Contents/MacOS/Cupcake" shows the architectures supported by the application launcher. &nbsp;</div><div><br></div><div>How can I reproduce this problem? That is,</div><div><br></div><div>* How did you install python?</div><div><br></div><div>* How did you install py2app?</div><div><br></div><div>* How did you install pygame?</div><div><br></div><div>* Do you have a simple script with setup.py that demonstrates the problem?</div><div><br></div><div>Ronald</div><div><br></div></body></html>