<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi All,<div><br></div><div>i'm tring to have grass7 running on mac osx lion using wxpython cocoa</div><div><br></div><div>i have all mypython libs running with the system python<br>and most of them are all 64 bit (numpy, scipy, pandas, etc …)</div><div><br></div><div>for this reason&nbsp;if i try to build grass7 in 32 bit .. then it refuse my python packages (numpy) .. because it is 64bit</div><div><br></div><div><div>i have some grass python modules &nbsp;that uses numpy .. and they just works.&nbsp;</div><div>because numpy is loaded directly in the guy .. it doesn't start</div></div><div><br></div><div>GRASS 7.0.svn (geno):~ &gt; wxplot.py: This module requires the NumPy module, which could not be imported.&nbsp;</div><div>…</div><div>….</div><div>ImportError: dlopen(/Library/Python/2.7/site-packages/numpy-2.0.0.dev_7297785_20111104-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so, 2): no suitable image found. &nbsp;Did find:<br><span class="Apple-tab-span" style="white-space: pre; ">        </span>/Library/Python/2.7/site-packages/numpy-2.0.0.dev_7297785_20111104-py2.7-macosx-10.7-x86_64.egg/numpy/core/multiarray.so: mach-o, but wrong architecture</div><div><br></div><div><br></div><div>Unlucky building grass in 64bit mode using wxpython cocoa generate an osx crash ….</div><div><br></div><div>i'm tring to contact the wxpython dev to see if/where is the problem</div><div><br></div><div>… attached the discussion from the wxPython dev list.</div><div><br></div><div>thanks for any help!</div><div><br></div><div>--Massimo.</div><div><br></div><div><br></div><div><br></div><div><br></div><div>inizio messaggio inoltrato:<div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Da: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Kevin Ollivier &lt;<a href="mailto:kevino@theolliviers.com">kevino@theolliviers.com</a>&gt;<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Oggetto: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [wxPython-dev] wxpython cocoa - crash on osx 10.7</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Data: </b></span><span style="font-family:'Helvetica'; font-size:medium;">November 22, 2011 3:03:19 PM EST<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>A: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:wxpython-dev@googlegroups.com">wxpython-dev@googlegroups.com</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Rispondi a: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:wxpython-dev@googlegroups.com">wxpython-dev@googlegroups.com</a><br></span></div><br><div>Hi Massimo,<br><br>Based on that crash log, it looks like something is calling wx.SafeYield() from a paint event, which is probably going to cause problems because wx.SafeYield will actually temporarily disable the top level windows in the app, and I'm guessing Cocoa isn't expecting you to suddenly disable the window you're drawing into. (GTK may just silently ignore this problem.) You might want to talk with someone more familiar with the Grass code about this and see what they say.<br><br>Thanks,<br><br>Kevin<br><br>On Nov 22, 2011, at 11:47 AM, Massimo Di Stefano wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi All,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">actually i'm bring to use an application [0] that has wxpython as GUI interface <br></blockquote><blockquote type="cite">on a mac osx lion 10.7 using wxpython cocoa <br></blockquote><blockquote type="cite">(development version provided as .dmg on the wxpython website)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">the application build and runs fine on linux so i guess is a problem of wxpython cocoa. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">unlucky the app doesn't print any useful log in the bash shell, but i can provide the osx crash log (attached [1] ) <br></blockquote><blockquote type="cite">i hope this information can be useful to debug the problems and make more stable wxpython cocoa .<br></blockquote><blockquote type="cite">I'll be more than happy to provide you any additional information you need to debug this problem. <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">thanks! <br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- Massimo &nbsp;<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">[0] grass7 - <a href="http://trac.osgeo.org/grass/wiki/DownloadSource">http://trac.osgeo.org/grass/wiki/DownloadSource</a> &nbsp;&nbsp;&nbsp;&nbsp;<br></blockquote><blockquote type="cite">[1] grass7_x86_64gui_log &nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.geofemengineering.it//data/grass7_x86_64gui_log.txt">http://www.geofemengineering.it//data/grass7_x86_64gui_log.txt</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-- <br></blockquote><blockquote type="cite">To unsubscribe, send email to <a href="mailto:wxPython-dev+unsubscribe@googlegroups.com">wxPython-dev+unsubscribe@googlegroups.com</a><br></blockquote><blockquote type="cite">or visit <a href="http://groups.google.com/group/wxPython-dev?hl=en">http://groups.google.com/group/wxPython-dev?hl=en</a><br></blockquote><br>-- <br>To unsubscribe, send email to <a href="mailto:wxPython-dev+unsubscribe@googlegroups.com">wxPython-dev+unsubscribe@googlegroups.com</a><br>or visit <a href="http://groups.google.com/group/wxPython-dev?hl=en">http://groups.google.com/group/wxPython-dev?hl=en</a></div></blockquote></div><br></div></body></html>