[GRASS-user] Re: grass-user Digest, Vol 24, Issue 32

Glynn Clements glynn at gclements.plus.com
Wed Apr 16 20:30:05 EDT 2008


Michael Barton wrote:

> > GRASS 6.3.0RC6 (latlong_ohrfc):~/.ssh > Error in startup script: can't
> > read "parts(w)": no such variable
> >     while executing
> 
> This is a GDAL error.
> 
> We've tried to trap this and provide better feedback, but if GDAL is
> broken/misinstalled/etc., this hits before any error trapping can be
> implemented.

AFAIK, this is due to g.region failing. It ought to be possible to
detect that g.region failed before you start trying to parse the
output.

And even if you can't detect the abnormal termination, you could
detect that the output is bogus.

Of course, that won't make everything work, but you could produce a
more useful error message.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list