[GRASS5] Re: [GRASSLIST:1272] TCL script "gis_gen.tcl" problem

Hello all

Yann Le Jeune wrote:

I am back on my grass desk after one year.
I have installl grass5beta10 and i received the same error message, remarked on the mailing list.
I applied the two corrections (line 706):
remove "-nocase" and the "#" solution.
In payment of my work, i only have a tcl window (empty) with the
script label(after running "grass5"). If someone can help me... I
am not yet very good with that kind of unix-style corrections...
Thanks.

OK, I know what the problem is and I think I know what is causing this.
The problem of only getting an empty Tcl/Tk window is due to an invalid
$HOME/.grassrc5 file. This seems to be caused by the -nocase error that
some users are receiving. What happens is that when the error occurs, a
valid $HOME/.grassrc5 file is not being created. Thus, the next time
grass starts, the file exists but it does not have the DATABASE,
LOCATION, and MAPSET variables properly set and creates the empty
window.

The immediate fix for this is to delete your $HOME/.grassrc5 and start
grass again as if you were a new user. It will start in text mode by
default, but then the next time you run grass it will start in tcltk
mode unless you specify the -text option to grass5.

Thank you to all the users who submitted reports and please let me know
if you have any other problems.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi again

Justin Hickey wrote:

What happens is that when the error occurs, a valid $HOME/.grassrc5
file is not being created. Thus, the next time grass starts, the file
exists but it does not have the DATABASE, LOCATION, and MAPSET
variables properly set and creates the empty window.

Actually, I couldn't reproduce the invalid .grassrc5 file. I don't know
how the file is becoming corrupted. If anyone can reproduce an invalid
file, please send me complete details of what you did. If any of those
who reported the problem remember what they did before the error
occurred, please send me any details you can remember. I'm trying to
figure out how the file becomes corrupted so that we might prevent this
situation in the future.

Thank you in advance for any help you might be able to provide.

--
Sincerely,

Jazzman (a.k.a. Justin Hickey) e-mail: jhickey@hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand

People who think they know everything are very irritating to those
of us who do. ---Anonymous

Jazz and Trek Rule!!!

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'