[GRASS-dev] Re: GRASS-dev] grass fails to detect wxpython version

Massimo Di Stefano massimodisasha at gmail.com
Fri Oct 15 13:08:04 EDT 2010


Yes i'm aware about it, 
the problem is that i'm using a custom built python.framework (i386, x86_64)
the WxPyhon-2.8.11.dmg don't works with 64-bit (where i have all the other python modules installed)


btw, i started to debug the wxgrass-problems with the WxPython-2.9 pre-release
i found some bugs and fixed some problems in the code.

now without comment any lines in wxgrass i have the gui start ... but don't works yet
we found a bug in the wx-prerelease, i opened a tiket :

http://trac.wxwidgets.org/ticket/12569

i subscribed myself to both WxPython-Mac amd -Dev list, i hope it will fixed soon.


btw my system python works fine with the wx preinstalled on snow leopard 
... i'm only tring to avoid to duplicate my python environment .. 
so it isn't a blocking issue.

Massimo.

Il giorno 15/ott/2010, alle ore 17.18, Michael Barton ha scritto:

> Massimo,
> 
> At the moment, I'm too tied up to be able to do much. But I did just install a new wxPython and noticed that you can get a binary for 2.8.10.11 that supports Python 2.7 now.
> 
> Michael
> ____________________
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity 
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
> 
> voice: 	480-965-6262 (SHESC), 480-727-9746 (CSDC)
> fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Oct 15, 2010, at 1:07 AM, Massimo Di Stefano wrote:
> 
>> Hi,
>> 
>> Michael, yes it is not backward compatible,
>> i have commented out some lines in 4 different files in the gui source,
>> 
>> globarcar.py (lines 41,42,61,62)
>> wxgui.py (line 112)
>> ghelp.py (line 103)
>> mapdisp.py (line 132)
>> 
>> now the gui start but is not usable due to the commented code.
>> 
>> Generally i can see the code lines where we set an icon file, is no longer working on wx 2.9.
>> 
>> On osx snow leopard the lack of cocoa support from wx 2.8 is a bad problem
>> .. actually i'm using python2.7 (i386 + x86_64)
>> and no wx 2.8 binay are avaiable ... so i had to stay on tcltk 
>> (or using a custom gui i'm working on, done in pyqt but is pretty immature yet)
>> i tried the wx2.9 snapshot demos and it works pretty fine, seems 2.9 is near to be mature.
>> 
>> i can give you my time offering support to build and test grass gui using wx2.9 
>> and providing logs and tentative of debug.... but unlucky i've not a good knowledge of wxgrass and wx itself. 
>> 
>> Please let me know if make sense for you and what do you think about.
>> 
>> maybe is the case to switch this discussion to the gui mailing list?
>> 
>> 
>> thanks a lot!
>> 
>> Massimo.
>> 
>> Il giorno 15/ott/2010, alle ore 09.23, Michael Barton ha scritto:
>> 
>>> OK. Keep us posted. I'm concerned that wxPython 2.9 is not backward compatible.
>>> 
>>> Michael
>> 
> 



More information about the grass-dev mailing list