[GRASS-dev] trying to test error trapping for invalid gisdbase, location, and mapset

Michael Barton michael.barton at asu.edu
Tue May 29 14:54:18 EDT 2007

On 5/29/07 11:44 AM, "William Kyngesburye" <woklist at kyngchaos.com> wrote:

> On May 29, 2007, at 12:26 PM, Michael Barton wrote:
>> Hi William,
>> I've always had a problem error message with an invalid database or
>> location, and not be shunted to the GUI (or text) entry for new
>> values.
> Always, as in forever and ever?  Or since the .app was available?  Or
> since some other change in GRASS?

Always as far as I remember. Change the name of your location or move it,
for example, and you get an error at startup. The only way to fix it is to
edit your .grassrc6

>> I tried to check this this morning by entering an invalid file name
>> into the
>> gisdbase field in .grassrc6 and only got the error message I sent.
>> Nothing
>> else.
> Fishing for ideas: are there old dot files in your home that might
> being getting in the way, like maybe old tcsh init files
> (.profile, .login, .tcshrc and others), or something in .grass.bashrc
> (maybe something you want set)?  I've heard of bash (on OSX at least)
> reading tcsh init files.

Maybe, but I've got the same result on different Mac's (PPC and Intel). My
Intel at least has never had an old version of the OS on it. I always
assumed that this was normal, and have been planning to add an error trap
into gis_set.tcl for a long time, but hadn't gotten around to it.

Note that we just had a report on the GRASS list of someone who had a
similar error on the Mac. Kind of strange.

What happens on Linux? Windows?


> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> First Pogril: Why is life like sticking your head in a bucket filled
> with hyena offal?
> Second Pogril: I don't know.  Why IS life like sticking your head in
> a bucket filled with hyena offal?
> First Pogril: I don't know either.  Wretched, isn't it?
> -HitchHiker's Guide to the Galaxy

Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton 

More information about the grass-dev mailing list