this bug's URL: http://intevation.de/rt/webrt?serial_num=5095
-------------------------------------------------------------------------
Subject: gis.m: non-existant column name in thematic layer leads to non-existant gismlegend.txt error and frozen display
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060829
As gis.m doesn't trap the error of a wrong column name in d.vect.thematic, it then goes on to try to create a legend, but cannot find gismlegend.txt. It then freezes the display.
To reproduce in spearfish:
- in gis.m, add thematic layer
- chose any of the relevant vector files (I used landcover)
- give a ficticious column name in the attribute column field
- launch display
The problem seems to be in commonlayer.tcl which doesn't seem to trap error messages from the command (although I don't have the time to try to understand all the code there) and in thematic.tcl (line 536) where the legend is created even if the command was unsuccessful.
Moritz
-------------------------------------------- Managed by Request Tracker
I think I've got this one fixed too. Will commit this next week.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
From: Request Tracker <grass-bugs@intevation.de>
Reply-To: Request Tracker <grass-bugs@intevation.de>
Date: Mon, 4 Sep 2006 11:41:27 +0200 (CEST)
To: <grass-dev@grass.itc.it>
Subject: [GRASS-dev] [bug #5095] (grass) gis.m: non-existant column name in
thematic layer leads to non-existant gismlegend.txt error and frozen display
this bug's URL: http://intevation.de/rt/webrt?serial_num=5095
-------------------------------------------------------------------------
Subject: gis.m: non-existant column name in thematic layer leads to
non-existant gismlegend.txt error and frozen display
Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: cvs_head_20060829
As gis.m doesn't trap the error of a wrong column name in d.vect.thematic, it
then goes on to try to create a legend, but cannot find gismlegend.txt. It
then freezes the display.
To reproduce in spearfish:
- in gis.m, add thematic layer
- chose any of the relevant vector files (I used landcover)
- give a ficticious column name in the attribute column field
- launch display
The problem seems to be in commonlayer.tcl which doesn't seem to trap error
messages from the command (although I don't have the time to try to understand
all the code there) and in thematic.tcl (line 536) where the legend is created
even if the command was unsuccessful.
Moritz
-------------------------------------------- Managed by Request Tracker