[GRASS-user] wxpython-GUI fails in grass6.3

Michael Barton michael.barton at asu.edu
Mon Apr 21 15:38:38 EDT 2008


What it sounds like is a mismatch between wxPython and Python. If you change
Python versions, make sure you have the correct wxPython version to go along
with it.

Michael


On 4/21/08 7:05 AM, "grass-user-request at lists.osgeo.org"
<grass-user-request at lists.osgeo.org> wrote:

> Date: Mon, 21 Apr 2008 08:56:34 -0500
> From: William Kyngesburye <woklist at kyngchaos.com>
> Subject: Re: [GRASS-user] wxpython-GUI fails in grass6.3
> To: Agustin Diez Castillo <Agustin.Diez at uv.es>
> Cc: grass-user <grass-user at lists.osgeo.org>
> Message-ID: <0F5794A4-412A-4761-B0E4-1C137FDB45A1 at kyngchaos.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
> 
> On Apr 21, 2008, at 2:30 AM, Agustin Diez Castillo wrote:
> 
>> I've downloaded William's Leo binary, the readme states "The
>> wxPython GUI makes use of the system MacPython 2.5 and wxPython
>> 2.8.4.  There is no need to install these", but my system asked for
>> a higher python version.
> 
> How did it ask for a newer version?  Really, you don't need to install
> a newer one.
> 
>> I've updated wtih
>> http://www.python.org/ftp/python/2.5.2/python-2.5.2-macosx.dmg
>> and
>> http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.7.1-uni
>> versal-py2.5.dmg
>> When starting a new grass instance it refuses wxpython w/o any
>> message, so I try
>> g.gui wxpython
>> and get
> 
>> Fatal Python error: Interpreter not initialized (version mismatch?)
>> 
> 
> Now you are working with the python.org python.  You must install and
> run the Tiger GRASS binary, which is built to use that.  Really, the
> bulk of the GUI doesn't care and should run, it's just the digitizer
> that's tied to the exact wxPython build.
> 
> Looks like it might be a Python bug?  Can you run Python by itself?
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> [Trillian]  What are you supposed to do WITH a maniacally depressed
> robot?
> 
> [Marvin]  You think you have problems?  What are you supposed to do if
> you ARE a maniacally depressed robot?  No, don't try and answer, I'm
> 50,000 times more intelligent than you and even I don't know the
> answer...
> 
> - HitchHiker's Guide to the Galaxy
> 

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 



More information about the grass-user mailing list