[GRASS5] Strange GIS Manager bug

Michael Barton michael.barton at asu.edu
Sat Feb 12 13:28:18 EST 2005


A student ran across a strange bug in the GIS Manager command function--the
very handy function that lets you intersperse GRASS commands among raster
and vector display entries.

She wanted to run v.db.connect to display a set of points using one
attribute table, then run v.db.connect to connect to another attribute table
and display the same points another way.

She ran v.db.connect in the autogenerated GUI, then cut and pasted the
command into a GIS Manager command entry. When she pressed the display
button, there was an error that variable $GISDBASE could not be found.

The same command (which work in the GUI dialog) works fine from the command
line. We experimented with quoting (single and double) with no results. When
we put in a hard coded path to the database, it read the "database= " part
of v.db.connect correctly, though now giving us a different error not
recognizing the table (more experimentation needed on this).

In d.m.tcl it explicitly sets the $GISDBASE variable. So why is it not being
recognized? 

Michael
____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ  85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>




More information about the grass-dev mailing list