[GRASS-dev] Re: [grass-code I][479] Gis.m produces error upon saving current workspace to a grc file

Thanks for finding this and submitting a fix. It's in the cvs now.

Michael

On 9/11/07 7:38 AM, "grass-dev@grass.itc.it" <grass-dev@grass.itc.it> wrote:

code I item #479, was opened at 2007-09-07 22:19
Status: Open
Priority: 3
Submitted By: Eric Patton (eric)

Assigned to: Michael Barton (michael)

Summary: Gis.m produces error upon saving current workspace to a grc file
Issue type: module bug

Issue status: confirmed

GRASS version: CVS HEAD
GRASS component: gis.m
Operating system: Linux
Operating system version: Ubuntu - GNU/Linux
GRASS CVS checkout date, if applies (YYMMDD): 070907

Comment By: M?ris NartiĀ¹s (marisn)

Date: 2007-09-11 17:38

Message:
Yes, there is a bug in code. Here is a patch to fix problem:
Index: gui/tcltk/gis.m/gmtree.tcl

RCS file: /home/grass/grassrepository/grass6/gui/tcltk/gis.m/gmtree.tcl,v
retrieving revision 1.25
diff -r1.25 gmtree.tcl
976c976
< if {[catch {GmTree::node_type $current_node}] error } {
---

if {[catch {GmTree::node_type $current_node} error ] } {

----------------------------------------------------------------------

You can respond by visiting:
Wald: Exiting with error

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
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