[GRASS-user] most recent kyngesburye build for osx tiger error

Glynn Clements glynn at gclements.plus.com
Thu Dec 18 22:42:53 EST 2008


Brandon M. Gabler wrote:

> Greetings all,
> I recently installed Grass 6.3.0-3-Tig on my mac running Tiger, after  
> updating all necessary frameworks listed by William Kyngesburye.  
> Grass seems to start normally (though with lots of text at startup in  
> the terminal window, included at the end of this email), and it opens  
> the standard startup screen. I click Enter Grass, it spins a bit,  
> then this error in an X11 window: "Error setting region (Problem with  
> g.region?): child killed: trace trap", folled by this text in the  
> terminal window after I click the 'ok' button on the error window:
> GRASS 6.3.0 (Brandon):~ > Error in startup script: can't read "parts 
> (w)": no such variable
>      while executing
> "set $parts(w) [expr round($parts(w)/$parts(ewres))*$parts(ewres)]"
>      (procedure "MapCanvas::zoom_gregion" line 16)

This normally indicates that g.region failed. The most common reason
for that is a problem with GDAL. GDAL depends upon various other
libraries; if any of those libraries are missing or incompatible,
anything which links against GDAL (e.g. g.region) fails.

You may get a more informative error message by starting GRASS in text
mode ("grass63 -text", or even "grass63 /path/to/database/location/mapset")
then running "g.region -p" from the command line.

Actually, simply running "gdalinfo" from the command line (without starting
GRASS) may provide the same information with less effort. It depends upon
whether the problem is between GDAL and its dependencies or between GRASS
and GDAL (or between GRASS and GDAL's dependencies).

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


More information about the grass-user mailing list