Mon, Sep 4 2006
11:41:27
|
|
Request created by guest
|
|
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 |
|
Mon, Sep 4 2006
20:54:25
|
|
Mail sent by michael.barton@asu.edu
|
|
Return-Path |
<michael.barton@asu.edu>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
User-Agent |
Microsoft-Entourage/11.2.5.060620
|
Date |
Mon, 04 Sep 2006 11:53:51 -0700
|
Subject |
Re: [GRASS-dev] [bug #5095] (grass) gis.m: non-existant column name in thematic layer leads to non-existant gismlegend.txt error and frozen display
|
From |
Michael Barton <michael.barton@asu.edu>
|
To |
Paolo Cavallini via RT <grass-bugs@intevation.de>, <grass-dev@grass.itc.it>
|
Message-ID |
<C121C44F.E005%michael.barton@asu.edu>
|
Thread-Topic |
[GRASS-dev] [bug #5095] (grass) gis.m: non-existant column name in thematic layer leads to non-existant gismlegend.txt error and frozen display
|
Thread-Index |
AcbQU3YqtIRUIjxGEdu/mQAKlXAweg==
|
In-Reply-To |
<20060904094127.4D7281005AD@lists.intevation.de>
|
Mime-version |
1.0
|
Content-type |
text/plain; charset="US-ASCII"
|
Content-transfer-encoding |
7bit
|
X-Virus-Scanned |
by amavisd-new
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-3.752 tagged_above=-999 required=3 tests=[BAYES_00=-5, RCVD_NUMERIC_HELO=1.248]
|
X-Spam-Level |
|
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
>
>
|
|
Mon, Sep 11 2006
09:30:35
|
|
Mail sent by moritz.lennert@ulb.ac.be
|
|
Return-Path |
<moritz.lennert@ulb.ac.be>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Message-ID |
<450510B8.6060709@ulb.ac.be>
|
Date |
Mon, 11 Sep 2006 09:31:04 +0200
|
From |
Moritz Lennert <moritz.lennert@ulb.ac.be>
|
User-Agent |
Thunderbird 1.5.0.5 (X11/20060812)
|
MIME-Version |
1.0
|
To |
Michael Barton <michael.barton@asu.edu>
|
Cc |
grass-bugs@intevation.de, grass-dev@grass.itc.it
|
Subject |
Re: [GRASS-dev] [bug #5095] (grass) gis.m: non-existant column name in thematic layer leads to non-existant gismlegend.txt error and frozen display
|
References |
<C121C44F.E005%michael.barton@asu.edu>
|
In-Reply-To |
<C121C44F.E005%michael.barton@asu.edu>
|
Content-Type |
text/plain; charset=ISO-8859-1; format=flowed
|
Content-Transfer-Encoding |
7bit
|
X-Virus-Scanned |
by amavisd-new at intevation.de
|
X-Spam-Status |
No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
|
X-Spam-Level |
|
Michael Barton wrote:
> I think I've got this one fixed too. Will commit this next week.
It is fixed now in the sense that there are is no error anymore, but the
legend window still opens empty...which I'm not sure it should. In my
eyes, it should either not open at all, or open with a message such as:
"No legend definition file. Check output for error messages."
But I know I'm getting really picky ;-)
Moritz
>
> 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
>>
>>
>
> _______________________________________________
> grass-dev mailing list
> grass-dev@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
|
|
Fri, Jan 19 2007
07:29:41
|
|
Status changed to resolved by mbarton
|
|
Fri, Jan 19 2007
07:29:41
|
|
Taken by mbarton
|
|
Fri, Jan 19 2007
07:29:41
|
|
Mail sent by mbarton
|
|
Fixed in current version 6.3 |
|