[GRASS-dev] Error in redrawing text layer in gis.m

Maciej Sieczka tutey at o2.pl
Sun Nov 12 13:44:35 EST 2006

Patton, Eric wrote:
> I get an error in gis.m when trying to redraw the map canvas when I
> have a geogrid layer and a text layer both redrawing simultaneously.
> Steps to reproduce, in Spearfish:
> 1. Add Geology, and Roads to gis.m. Set display region to Geology. 
> 2. Add a Grid layer. Choose the following display options: Geodetic
> grid, black text and line color, turn border text off, set grid size
> to '00:05:00' (five arcminutes). 3. Add a text layer. Text to
> display was a label for the 103 45'W meridian, choose mouse
> placement, bold text, rotate -88 degrees. All other options set to
> default values. 4. Click 'Redraw all layers'. 5. Important: Turn the
> 'draw border text' option on the geogrid layer OFF. 4. Click 'Redraw
> all layers' on the map display window.
> Error is produced; See attached a log file for details.


Your setup leads to an error on my box, but to a different one:

invalid command name
invalid command name
    while executing
"$pctentry delete 0 end"
    invoked from within
"if { $pctentry != "" } {
			$pctentry delete 0 end
			$pctentry insert 0 "$xpct,$ypct"
			# object placement marker
			$mapdisp create line 479 [expr ..."
    (command bound to event)


More information about the grass-dev mailing list