[GRASS5] 5.0.2 trashes .grassrc5

Chris Heg cheg01 at attbi.com
Sat Mar 8 19:46:19 EST 2003


I have a recurring error on Grass 5.0.2. Starting with no .grassrc5:

1) run grass5 -text
2) enter Location name, Mapset, and Database in start page
contents of .grassrc5:
GISDBASE: /usr2/grass/data
LOCATION_NAME: globe
MAPSET: PERMANENT

3) run grass
4) quit grass

5) run grass5
Output:
Cleaning up temporary files.....
Starting GRASS ...
awk: illegal field $()
 input record number 1, file /export/home/cheg/.grassrc5
 source line number 1

Starts gis_set.tcl window and stops.
contents of .grassrc5:
GRASS_GUI: tcltk

6) kill gis_set.tcl window
Output: ERROR: LOCATION_NAME: not set
/usr/local/grass5/etc/Init.sh: GISDBASE: parameter null or not set

7) run grass5 -text
awk: illegal field $()
 input record number 1, file /export/home/cheg/.grassrc5
 source line number 1

Start screen comes up without Location, Mapset, or Database defined.

8) Reenter Location, Mapset, and Database and start grass
contents of .grassrc5:
GRASS_GUI: text
GISDBASE: /usr2/grass/data
LOCATION_NAME: globe
MAPSET: PERMANENT

9) quit grass
contents of .grassrc5:
GRASS_GUI: text
GISDBASE: /usr2/grass/data
LOCATION_NAME: globe
MAPSET: PERMANENT

10) run grass5
Output:
awk: illegal field $()
 input record number 1, file /export/home/cheg/.grassrc5
 source line number 1

contents of .grassrc5:
GRASS_GUI: text
GISDBASE: /usr2/grass/data
LOCATION_NAME: globe
MAPSET: PERMANENT
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20030308/64a9bf37/attachment.html


More information about the grass-dev mailing list