[GRASS-dev] Fwd: [wxPython-dev] wxpython cocoa - crash on osx 10.7
Massimo Di Stefano
massimodisasha at gmail.com
Tue Nov 22 15:39:57 EST 2011
i'm tring to have grass7 running on mac osx lion using wxpython cocoa
i have all mypython libs running with the system python
and most of them are all 64 bit (numpy, scipy, pandas, etc …)
for this reason if i try to build grass7 in 32 bit .. then it refuse my python packages (numpy) .. because it is 64bit
i have some grass python modules that uses numpy .. and they just works.
because numpy is loaded directly in the guy .. it doesn't start
GRASS 7.0.svn (geno):~ > wxplot.py: This module requires the NumPy module, which could not be imported.
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. Did find:
/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
Unlucky building grass in 64bit mode using wxpython cocoa generate an osx crash ….
i'm tring to contact the wxpython dev to see if/where is the problem
… attached the discussion from the wxPython dev list.
thanks for any help!
inizio messaggio inoltrato:
> Da: Kevin Ollivier <kevino at theolliviers.com>
> Oggetto: Re: [wxPython-dev] wxpython cocoa - crash on osx 10.7
> Data: November 22, 2011 3:03:19 PM EST
> A: wxpython-dev at googlegroups.com
> Rispondi a: wxpython-dev at googlegroups.com
> Hi Massimo,
> 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.
> On Nov 22, 2011, at 11:47 AM, Massimo Di Stefano wrote:
>> Hi All,
>> actually i'm bring to use an application  that has wxpython as GUI interface
>> on a mac osx lion 10.7 using wxpython cocoa
>> (development version provided as .dmg on the wxpython website)
>> the application build and runs fine on linux so i guess is a problem of wxpython cocoa.
>> unlucky the app doesn't print any useful log in the bash shell, but i can provide the osx crash log (attached  )
>> i hope this information can be useful to debug the problems and make more stable wxpython cocoa .
>> I'll be more than happy to provide you any additional information you need to debug this problem.
>> -- Massimo
>>  grass7 - http://trac.osgeo.org/grass/wiki/DownloadSource
>>  grass7_x86_64gui_log http://www.geofemengineering.it//data/grass7_x86_64gui_log.txt
>> To unsubscribe, send email to wxPython-dev+unsubscribe at googlegroups.com
>> or visit http://groups.google.com/group/wxPython-dev?hl=en
> To unsubscribe, send email to wxPython-dev+unsubscribe at googlegroups.com
> or visit http://groups.google.com/group/wxPython-dev?hl=en
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the grass-dev