The GUI name is case-sensitive - use wxpython (all lowercase).

Also, if you need to start or restart the GUI within GRASS, run g.gui with the name of the GUI.

To change it outside of GRASS, edit the file ~/.grassrc6.

On Jun 9, 2009, at 12:58 PM, Michael Margolis wrote:

Many thanks to all who responded. Installing TclTk 8.5 put an end to the
prior problem.

Unfortunately, I then got Nick's problem -- impossible to resize a window, plus some freezes. So I tried something evidently more severe than I had realized -- resetting GRASS_GUI to wxPtyhon. I probably did this with the g.gisenv command, although I'm not sure. Anyway, when I attempt to launch I
now get

ERROR: Invalid user interface specified - <wxPython>.
Use the --help option to see valid interface names.
logout

[Process completed]

The terminal window displaying that message accepts no further input. I can't figure out how to use that --help option, or how to change GRASS_GUI
without being able to start GRASS. I reinstalled to no avail.

How do I fix this? And then, how can set it up for wxPython?

Thanks much
Michael

On 6/8/09 9:45 PM, "William Kyngesburye" <wokl...@kyngchaos.com> wrote:

When you say X11, I assume you mean no GUI, or maybe the GUI in X11?
Note, there are 2 different GUIs now, and on OSX, 2 variations of one:

TclTk X11 - works with an X11 TclTk 8.4+.  This requires you to
compile and install your own TclTk.  I used to include one in the
application, but not since we got it working with Aqua

TclTk Aqua - as the warning implies, this needs TclTk 8.5+.  The
readme says where to find an installer.  This one is preferred.

wxPython.  This is included in the application.

Note 1: the TclTk NVIZ is built to use TclTk Aqua 8.5 and won't run
with 8.4 of any form.

Note 2: the application startup tries to locate TclTk in some default
locations and of forms in the following order:

TclTk 8.5 Aqua
TclTk 8.5 X11
TclTk 8.4 X11


Anyways, after GRASS starts and Wish fails, type in the Terminal:

g.gisenv set=GRASS_GUI=text

Thereafter GRASS won't try to start the TclTk GUI.


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Mon Dieu! but they are all alike. Cheating, murdering, lying, fighting, and all for things that the beasts of the jungle would not deign to possess - money to purchase the effeminate pleasures of weaklings. And yet withal bound down by silly customs that make them slaves to their unhappy lot while firm in the belief that they be the lords of creation enjoying the only real pleasures of existence....

- the wisdom of Tarzan


_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to