[GRASS-dev] wxGUI issue after typing d.* commands into cmd

Michael Barton michael.barton at asu.edu
Tue Sep 22 11:50:08 EDT 2009

On Sep 22, 2009, at 8:42 AM, grass-dev-request at lists.osgeo.org wrote:

> Message: 7
> Date: Tue, 22 Sep 2009 11:07:29 -0400
> From: Helena Mitasova <hmitaso at unity.ncsu.edu>
> Subject: [GRASS-dev] wxGUI issue after typing d.* commands into cmd
> To: GRASS developers list <grass-dev at lists.osgeo.org>
> Message-ID: <B94401DC-37F7-42A8-94FC-35A36150710D at unity.ncsu.edu>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> Martin, Michael,
> you may have some advice or fix on this:
> after accidentally typing any d.* command (e.g. d.legend)
> into Cmd line an error message pops up
> layer type <rastleg> not supported yet
> This message is causing two major problems:
> 1. even if you delete the offending d.* command and use the
> appropriate icon
> provided for the task the error message keeps popping up and the best
> way
> to get rid of various erratic behaviors is to quit GRASS. This happens
> with d.rast and other d.* commands as well.
> Would it be possible to manage this situation in a better way?
> 2. The message itself is very confusing - people think that you simple
> cannot draw a legend because this capability has not been implemented
> yet.
> How about changing it to something
> "d.* commands should be run from GUI, see wxGUI Help"
> or maybe others can come up with something better?

The message is a standard one that pops up for any command that is not  
on a list of parsable commands. But it would be easy enough to trap  
all that begin d.* and do your message. I agree that it is a better  

C. Michael Barton
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402

voice: 	480-965-6262; fax: 480-965-7671
www: 	http://csdc.asu.edu, http://shesc.asu.edu

More information about the grass-dev mailing list