[GRASS-user] problems starting wxPython gui using wingrass

Michael Barton michael.barton at asu.edu
Wed Jan 16 17:21:33 EST 2008


"wxgrass" is a shell script (in $GISBASE/scripts/) that launches the  
wxPython GUI. You can call it from the terminal in Linux and on the  
Mac. There is no terminal for WinGRASS and I don't know what happens  
if you try to call it from the TclTk command console.

So, to launch the wxPython GUI in Windows,  you have to start it from  
the beginning by altering the .grassrc6 file.

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

On Jan 16, 2008, at 1:57 PM, Nikos Alexandris wrote:

> So, I updated recently through svn the source and now I got GRASS
> 6.3.0RC4 running.
>
> Why isn't wxgrass there by default?
>
> Cheers,
>
> Nikos.
>
> On Wed, 2008-01-16 at 13:42 -0700, Michael Barton wrote:
>>
>> 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
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
> -- 
> Nikos Alexandris
> .
> Department of Remote Sensing & Landscape Information Systems
> Faculty of Forestry & Environmental Sciences, Albert-Ludwigs- 
> University Freiburg
> .
> Tel.  +49 (0) 761 203 3697 / Fax.  +49 (0) 761 203 3701 / Skype:  
> Nikos.Alexandris
> .
> Address: Tennenbacher str. 4, D-79106 Freiburg i. Br., Germany



More information about the grass-user mailing list