[GRASS-dev] gis.m in wingrass: using where clause in d.vect causes error :can't read "_data(.gronsole.gronsole, 9, donecmd)": no such element in array

Michael Barton michael.barton at asu.edu
Sun Oct 8 19:54:59 EDT 2006


Here is what happens for setting the osx aqua variable.

Mac Aqua version of TclTk is used instead of x11 version

The GUI startup script, gis.m is launched with...

    "$GISBASE/scripts/gis.m" | sh &
    
Instead of with...

    "$GISBASE/scripts/gis.m" &


The variable execom is set to "spawn"; otherwise it is "execute"

I think this was used for awhile in the menu system, but can't find any use
for this now. If true, it needs to be deleted.

I'm adding Lorenzo to the CC list. He developed the aqua variable and has
worked the most with this version of TclTk.

Michael
__________________________________________
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



> From: William Kyngesburye <woklist at kyngchaos.com>
> Reply-To: William Kyngesburye <kyngchaos at kyngchaos.com>
> Date: Mon, 9 Oct 2006 07:56:22 +0900
> To: Michael Barton <michael.barton at asu.edu>
> Cc: Moritz Lennert <mlennert at club.worldonline.be>, Hamish
> <hamish_nospam at yahoo.com>, <grass-dev at grass.itc.it>
> Subject: Re: [GRASS-dev] gis.m in wingrass: using where clause in d.vect
> causes error :can't read "_data(.gronsole.gronsole,9, donecmd)": no such
> element in array
> 
> I was holding off on replying to this, waiting for a windows reply.
> And, this issue was brought up mid-Sept also, I guess a solution
> wasn't found then.
> 
> The Mac problem had to do with using TclTk Aqua vs. X11.  For Aqua
> the osxaqua=1 env must be set, or you get this error.  Maybe if you
> look at what setting osxaqua makes GRASS do differently with the
> GUI?  There are a couple settings in init.sh dependent on osxaqua, I
> never looked to see if it's used elsewhere.
> 
> This is the Mac bug:
> 
> http://intevation.de/rt/webrt?serial_num=5096&display=History
> 
> On Oct 9, 2006, at 3:38 AM, Michael Barton wrote:
> 
>> Something along this line popped up in a Mac installation. I think
>> it was a
>> colleague of William Kyngesburye, so I'm copying him here. In that
>> case
>> there was something missing in the installation that finally turned
>> out to
>> be the problem.
>> 
>> Michael
>> __________________________________________
>> 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
>> 
>> 
>> 
>>> From: Moritz Lennert <mlennert at club.worldonline.be>
>>> Date: Sun, 8 Oct 2006 10:30:22 +0200 (CEST)
>>> To: Hamish <hamish_nospam at yahoo.com>, <michael.barton at asu.edu>
>>> Cc: <grass-dev at grass.itc.it>
>>> Subject: Re: [GRASS-dev] gis.m in wingrass: using where clause in
>>> d.vect
>>> causes error :can't read "_data(.gronsole.gronsole,9, donecmd)":
>>> no such
>>> element in array
>>> 
>>> On Sun, October 8, 2006 04:59, Hamish wrote:
>>>> Moritz Lennert wrote:
>>>>> Using a where clause in vector display in gis.m causes the
>>>>> following
>>>>> error under WinGRASS. Any suggestions ?
>>>>> (WinGRASS version 2006-09-17)
>>>>> 
>>>>> can't read "_data(.gronsole.gronsole,9,donecmd)": no such
>>>>> element in
>>>>> array can't read "_data(.gronsole.gronsole,9,donecmd)": no such
>>>>> element in array
>>>>>      while executing
>>>>> "set donecmd $_data($path,$ci,donecmd)"
>>>> 
>>>> 
>>>> also seen on Linux, GRASS versions 6.3 and 6.2-rc1  IF you put the
>>>> query in the "query cat values" box by mistake.
>>> 
>>> I am not near a windows box right now, but I am quite positive
>>> that this
>>> is not the problem here. I entered the query in the where box, not
>>> the cat
>>> box.
>>> 
>>> But I'll make sure tomorrow.
>>> 
>>> Moritz
>>> 
>>> 
>> 
> 
> -----
> William Kyngesburye <kyngchaos at kyngchaos.com>
> http://www.kyngchaos.com/
> 
> "This is a question about the past, is it? ... How can I tell that
> the past isn't a fiction designed to account for the discrepancy
> between my immediate physical sensations and my state of mind?"
> 
> - The Ruler of the Universe
> 
> 




More information about the grass-dev mailing list