[GRASS-user] problems starting wxPython gui using wingrass

Michael Barton michael.barton at asu.edu
Wed Jan 16 15:42:24 EST 2008



On Jan 16, 2008, at 1:30 PM, grass-user-request at lists.osgeo.org wrote:

> Date: Wed, 16 Jan 2008 13:17:17 -0600
> From: "Gerald Nelson" <gnelson at uiuc.edu>
> Subject: [GRASS-user] problems starting wxPython gui using wingrass
> To: "'grass list'" <grassuser at grass.itc.it>
> Message-ID: <00df01c85874$68fa1690$3e40ae80 at ace.uiuc.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> I thought I'd try the wxPython gui with wingrass. I downloaded
> wingrass63RC4.zip and installed it. Also python 2.4 and
> wxPython2.8-win32-unicode-2.8.7.1-py24.exe.
>
>
>
> The README file at
> http://svn.osgeo.org/grass/grass/trunk/gui/wxpython/README says
>
>
>
> Go to directory:
>
> $ cd gui/wxpython
>
>
>
> I assume that means c:/grass63RC4/grass-6.3.0RC4/etc/gui. But there  
> is no
> wxpython folder there, just folders for icons and scripts. Either I'm
> looking in the wrong gui directory or the wxpython directory doesn't  
> come
> with wingrass, or I'm doing something else wrong.

Jerry,

The old readme is out of date with the move to the new SVN.

the wxPython GUI is installed by default in GRASS 6.3 when you compile  
(unless you got a version for the few days prior to yesterday).

Once you have Python (I'd recommend going with the current 2.5 rather  
than the legacy 2.4 version) and wxPython installed, all you *should*  
have to do is type wxgrass from the command line to launch the new GUI  
in Linux and  Mac.

 From Windows, there is no command line, so you'll need to change  
your .grassrc6 file a bit. Change the line that says...

GRASS_GUI: tcltk

...to read

GRASS_GUI: wx

...and save the file.

By default, the .grassrc6 file is in your Windows home directory (I  
think that's the directory where My Documents is found).
Please let us know how it works for you.


Michael



______________________________
Michael Barton, Professor
Professor of Anthropology
Director of Graduate Studies
School of Human Diversity & Social Change
Center for Social Dynamics & Complexity
Arizona State University
Tempe, AZ  85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


More information about the grass-user mailing list