[GRASS-user] disappearing gis.m

Michael Barton michael.barton at asu.edu
Sat Mar 3 21:15:08 EST 2007


As far as I know, there are problems with using GRASS with aqua TclTk on
Intel Mac's. This is why William Kyngesbury doesn't maintain aqua binaries.
The x11 version should be fine.

Michael


On 3/3/07 6:25 PM, "Glynn Clements" <glynn at gclements.plus.com> wrote:

> 
> Stuart Edwards wrote:
> 
>> Just updated to 6.2 using Lorenzo's binaries and now have the
>> disappearing gis.m manager syndrome -- saw some correspondence about
>> this in January, but not for OSX. Everything works fine when the
>> startup is X11, but in OSX or X11 OSX, the following errors occur:
>> 
>> GRASS 6.2.1 (tinatown):~ > Error in startup script: bad variable name
>> "coords(1)": upvar won't create a scalar variable that looks like an
>> array element
>>      while executing
>> "global coords($mon)"
>>      (procedure "MapCanvas::pointer" line 5)
>>      invoked from within
>> "MapCanvas::pointer $mon"
>>      (procedure "MapCanvas::create" line 226)
>>      invoked from within
>> "MapCanvas::create"
>>      (procedure "Gm::startmon" line 11)
>>      invoked from within
>> "Gm::startmon"
>>      (procedure "Gm::create" line 69)
>>      invoked from within
>> "Gm::create"
>>      (procedure "main" line 30)
>>      invoked from within
>> "main $argc $argv"
>>      (file "/Applications/GrassGIS/Grass6.app/Contents/Resources/
>> grass-6.2.1/etc/gm/gm.tcl" line 521)
>> 
>> Also tried the 6.3 cvs with the same result.
>> 
>> OSX 10.4.8 on Intel Xeon 2x2.66
>> 
>> Any suggestions much appreciated.
> 
> In the file $GISBASE/etc/gm/mapcanvas.tcl, in the procedure
> MapCanvas::pointer, change the line:
> 
> global coords($mon)
> to:
> global coords
> 
> I'm guessing that the issue must be specific to certain versions of
> Tcl/Tk, as this code has been there since 2006-06-06, and exists in
> all 6.x releases, as far back as 6.0.0-beta1.

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

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





More information about the grass-user mailing list