[GRASSLIST:422] Re: Problem with 5.0.2

Moritz Lennert mlennert at club.worldonline.be
Wed Jun 18 10:02:57 EDT 2003


Kurt Springs said:
> Hi folks,
>
> I tried to start a new GRASS project with GRASS 5.0.2 for the first time
> and
> apparently no one fixed the old problem with the tcktkgrass.  Now when I
> try
> to launch I get the following:
>
> [Kurt-Springss-Computer:~] kurtsprings% ERROR: LOCATION_NAME not set
>
> [Kurt-Springss-Computer:~] kurtsprings% grass5
> Cleaning up temporary files.....
> Starting GRASS ...
> ERROR: LOCATION_NAME not set
> Error in startup script: can't read "env_location": no such variable
>     while executing
> "set location $env_location"
>     (procedure "searchGISRC" line 23)
>     invoked from within
> "searchGISRC $gisrc_name"
>     (file "/usr/local/grass5/tcltkgrass/script/gis_set.tcl" line 1)
> ERROR: LOCATION_NAME not set
> /usr/local/grass5/etc/Init.sh: GISDBASE: parameter null or not set
> [Kurt-Springss-Computer:~] kurtsprings%
>
> What was the file I have to remove to fix this?  I suspect I still have to
> use grass5 -text to start a new project.
>

Yes, this means that LOCATION_NAME is not set in your .grassrc5 file.
Either start with -text or remove .grassrc5.

BTW, even when starting up with the tcltk GUI, you still are sent back to
text mode when creating a new location, so launching directly with -text
doesn't make such a big difference.

Moritz






More information about the grass-user mailing list