Details Ticket 5096


Comment | Reply | Take | Open


Serial Number 5096
Subject can't read "_data(.gronsole.gronsole,4,donecmd)": no such element in array
Area grass6
Queue grass
Requestors dpeeter1@ulb.ac.be
Owner none
Status resolved
Last User Contact Sun Sep 10 11:15:46 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Sun Sep 10 11:15:46 2006 (2 yr ago)
Created Mon Sep 4 13:18:14 2006 (2 yr ago)

Transaction History Ticket 5096


Mon, Sep 4 2006 13:18:14    Request created by guest  
Subject: can't read "_data(.gronsole.gronsole,4,donecmd)": no such element in
array

Platform: Mac OSX
grass obtained from: Other (CDROM etc)
grass binary for platform: Compiled from Sources
GRASS Version: 6.2.b2

Using the MacOSX universal binaries from William's web site, I get the following
error when I try to 
display a map from the GIS manager. The GUI is then frozen and I have to leave
GRASS and restart it 
to be able to use the GUI again: 

can't read "_data(.gronsole.gronsole,4,donecmd)": no such element in array
can't read "_data(.gronsole.gronsole,4,donecmd)": no such element in array
    while executing
"set donecmd $_data($path,$ci,donecmd)"
    (procedure "Gronsole::done_command" line 3)
    invoked from within
"Gronsole::done_command $path $ci"
    (procedure "Gronsole::execout" line 19)
    invoked from within
"Gronsole::execout $path $cmd $ci Gronsole::execwait"
    (procedure "Gronsole::run_wait" line 6)
    invoked from within
"Gronsole::run_wait .gronsole.gronsole {d.vect map=communes@PERMANENT color=0:0:0
lcolor=0:0:0 fcolor=170:170:170 display=shape type=point,line,boundar..."
    ("eval" body line 1)
    invoked from within
"eval Gronsole::$cmd .gronsole.gronsole $args"
    (procedure ".gronsole.gronsole" line 1)
    invoked from within
"$gronsole run_wait $cmd gism"
    (procedure "run_panel" line 4)
    invoked from within
"run_panel $cmd"
    (procedure "GmCommonLayer::display_commands" line 28)
    invoked from within
"GmCommonLayer::display_commands $namespace $id [list $cmd]"
    (procedure "GmCommonLayer::display_command" line 2)
    invoked from within
"GmCommonLayer::display_command [namespace current] $id $cmd"
    (procedure "GmVector::display" line 113)
    invoked from within
"GmVector::display $node $mod"
    ("vector" arm line 2)
    invoked from within
"switch $type {
        group {
            GmGroup::display $node $mod
		}
		raster {
			GmRaster::display $node $mod
		}
		labels {
			GmLabels::disp..."
    (procedure "GmTree::display_node" line 7)
    invoked from within
"GmTree::display_node $n $mod"
    (procedure "GmGroup::display" line 25)
    invoked from within
"GmGroup::display "root" $mod"
    (procedure "MapCanvas::runprograms" line 69)
    invoked from within
"MapCanvas::runprograms $mon [expr {$mymodified != 0}]"
    (procedure "MapCanvas::drawmap" line 38)
    invoked from within
"MapCanvas::drawmap $mon"
    (procedure "MapCanvas::display_server" line 9)
    invoked from within
"MapCanvas::display_server"
    ("after" script)

My system:

Imac Intel 1,83GHz
1,5RAM
OSX 10.4.7
Tue, Sep 5 2006 15:51:19    Mail sent by kyngchaos@kyngchaos.com  
Return-Path <kyngchaos@kyngchaos.com>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <20060904111814.A6ED51005AD@lists.intevation.de>
References <20060904111814.A6ED51005AD@lists.intevation.de>
Mime-Version 1.0 (Apple Message framework v752.2)
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com>
Cc dpeeter1@ulb.ac.be
Content-Transfer-Encoding 7bit
From William Kyngesburye <kyngchaos@kyngchaos.com>
Subject Re: [GRASS-dev] [bug #5096] (grass) can't read "_data(.gronsole.gronsole, 4, donecmd)": no such element in array
Date Tue, 5 Sep 2006 08:50:31 -0500
To Request Tracker <grass-bugs@intevation.de>
X-Mailer Apple Mail (2.752.2)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
Can you duplicate this with the Spearfish sample data?
What exact steps are you using?
Are you using the internal X11 TclTk or an Aqua TclTk?

I tried a couple rasters and vectors in Spearfish on a PPC Mac with  
no problems, X11 TclTk.  Sorry for all the questions, but it'll help  
narrow the problem down.  Specifically, I'm interested in any Mac app  
packaging and PPC vs Intel problems.


Thu, Sep 7 2006 09:52:36    Mail sent by dpeeter1@ulb.ac.be  
Return-Path <dpeeter1@ulb.ac.be>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com>
References <20060904111814.A6ED51005AD@lists.intevation.de> <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com>
Mime-Version 1.0 (Apple Message framework v752.2)
Content-Type text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be>
Cc grass-bugs@intevation.de
Content-Transfer-Encoding quoted-printable
From Didier Peeters <dpeeter1@ulb.ac.be>
Subject Re: [GRASS-dev] [bug #5096] (grass) can't read "_data(.gronsole.gronsole, 4, donecmd)": no such element in array
Date Thu, 7 Sep 2006 09:52:34 +0200
To William Kyngesburye <kyngchaos@kyngchaos.com>
X-Mailer Apple Mail (2.752.2)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
Hi William,

Le 05-sept.-06 =E0 15:50, William Kyngesburye a =E9crit :
> Can you duplicate this with the Spearfish sample data?
> What exact steps are you using?

Using the spearfish data we get the same error (see below). We =20
downloaded the data, de-tarred it and launched GRASS. Then in GIS =20
manager, we chose to add a vector map, chose (arbitrarily) geology  =20
and pushed the display button in the map display window.


> Are you using the internal X11 TclTk or an Aqua TclTk?
>

Aqua

> I tried a couple rasters and vectors in Spearfish on a PPC Mac with =20=

> no problems, X11 TclTk.  Sorry for all the questions, but it'll =20
> help narrow the problem down.  Specifically, I'm interested in any =20
> Mac app packaging and PPC vs Intel problems.

FYI, we downloaded

http://www.kyngchaos.com/files/software/unixport/GRASS.app-6.2b2-1.dmg
http://www.kyngchaos.com/files/software/unixport/AllFrameworks.dmg

and the MacOSX package from

http://www.activestate.com/Products/ActiveTcl/

Do you need any other info ?

Thanks !

Didier

***ERROR  MESSAGE***

can't read "_data(.gronsole.gronsole,4,donecmd)": no such element in =20
array
can't read "_data(.gronsole.gronsole,4,donecmd)": no such element in =20
array
     while executing
"set donecmd $_data($path,$ci,donecmd)"
     (procedure "Gronsole::done_command" line 3)
     invoked from within
"Gronsole::done_command $path $ci"
     (procedure "Gronsole::execout" line 19)
     invoked from within
"Gronsole::execout $path $cmd $ci Gronsole::execwait"
     (procedure "Gronsole::run_wait" line 6)
     invoked from within
"Gronsole::run_wait .gronsole.gronsole {d.vect map=3Dgeology@PERMANENT =20=

color=3D0:0:0 lcolor=3D0:0:0 fcolor=3D170:170:170 display=3Dshape =20
type=3Dpoint,line,boundary..."
     ("eval" body line 1)
     invoked from within
"eval Gronsole::$cmd .gronsole.gronsole $args"
     (procedure ".gronsole.gronsole" line 1)
     invoked from within
"$gronsole run_wait $cmd gism"
     (procedure "run_panel" line 4)
     invoked from within
"run_panel $cmd"
     (procedure "GmCommonLayer::display_commands" line 28)
     invoked from within
"GmCommonLayer::display_commands $namespace $id [list $cmd]"
     (procedure "GmCommonLayer::display_command" line 2)
     invoked from within
"GmCommonLayer::display_command [namespace current] $id $cmd"
     (procedure "GmVector::display" line 113)
     invoked from within
"GmVector::display $node $mod"
     ("vector" arm line 2)
     invoked from within
"switch $type {
         group {
             GmGroup::display $node $mod
		}
		raster {
			GmRaster::display $node $mod
		}
		labels {
			GmLabels::disp..."
     (procedure "GmTree::display_node" line 7)
     invoked from within
"GmTree::display_node $n $mod"
     (procedure "GmGroup::display" line 25)
     invoked from within
"GmGroup::display "root" $mod"
     (procedure "MapCanvas::runprograms" line 69)
     invoked from within
"MapCanvas::runprograms $mon [expr {$mymodified !=3D 0}]"
     (procedure "MapCanvas::drawmap" line 38)
     invoked from within
"MapCanvas::drawmap $mon"
     (procedure "MapCanvas::display_server" line 9)
     invoked from within
"MapCanvas::display_server"
     ("after" script)



>


Thu, Sep 7 2006 15:40:41    Mail sent by kyngchaos@kyngchaos.com  
Return-Path <kyngchaos@kyngchaos.com>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be>
References <20060904111814.A6ED51005AD@lists.intevation.de> <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com> <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be>
Mime-Version 1.0 (Apple Message framework v752.2)
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <85DFB4D7-FCD8-4DC8-83CC-03FF8444FFFA@kyngchaos.com>
Cc Request Tracker <grass-bugs@intevation.de>
Content-Transfer-Encoding 7bit
From William Kyngesburye <kyngchaos@kyngchaos.com>
Subject Re: [GRASS-dev] [bug #5096] (grass) can't read "_data(.gronsole.gronsole, 4, donecmd)": no such element in array
Date Thu, 7 Sep 2006 08:40:34 -0500
To Didier Peeters <dpeeter1@ulb.ac.be>
X-Mailer Apple Mail (2.752.2)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
On Sep 7, 2006, at 2:52 AM, Didier Peeters wrote:

>> Are you using the internal X11 TclTk or an Aqua TclTk?
>>
>
> Aqua
>
Try unsetting GRASS_TCLSH and GRASS_WISH, so it uses the builtin X11  
Tcl/Tk.  Any errors?

-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those  
least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy


Thu, Sep 7 2006 16:32:56    Mail sent by dpeeter1@ulb.ac.be  
Return-Path <dpeeter1@ulb.ac.be>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <85DFB4D7-FCD8-4DC8-83CC-03FF8444FFFA@kyngchaos.com>
References <20060904111814.A6ED51005AD@lists.intevation.de> <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com> <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be> <85DFB4D7-FCD8-4DC8-83CC-03FF8444FFFA@kyngchaos.com>
Mime-Version 1.0 (Apple Message framework v752.2)
Content-Type text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id <8C22EEE2-0C6B-4069-9F0F-90DBA0F90A88@ulb.ac.be>
Cc grass-bugs@intevation.de
Content-Transfer-Encoding quoted-printable
From Didier Peeters <dpeeter1@ulb.ac.be>
Subject Re: [GRASS-dev] [bug #5096] (grass) can't read "_data(.gronsole.gronsole, 4, donecmd)": no such element in array
Date Thu, 7 Sep 2006 16:32:51 +0200
To William Kyngesburye <kyngchaos@kyngchaos.com>
X-Mailer Apple Mail (2.752.2)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
OK, I did it and it works fine now.
Thank you William.

Didier



Le 07-sept.-06 =E0 15:40, William Kyngesburye a =E9crit :

> On Sep 7, 2006, at 2:52 AM, Didier Peeters wrote:
>
>>> Are you using the internal X11 TclTk or an Aqua TclTk?
>>>
>>
>> Aqua
>>
> Try unsetting GRASS_TCLSH and GRASS_WISH, so it uses the builtin =20
> X11 Tcl/Tk.  Any errors?
>
> -----
> William Kyngesburye <kyngchaos@kyngchaos.com>
> http://www.kyngchaos.com/
>
> "Those people who most want to rule people are, ipso-facto, those =20
> least suited to do it."
>
> - A rule of the universe, from the HitchHiker's Guide to the Galaxy
>
>


Fri, Sep 8 2006 03:52:49    Mail sent by kyngchaos@kyngchaos.com  
Return-Path <kyngchaos@kyngchaos.com>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be>
References <20060904111814.A6ED51005AD@lists.intevation.de> <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com> <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be>
Mime-Version 1.0 (Apple Message framework v752.2)
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <AFEFE8F8-C5F6-4D1A-8BD0-86C9DB6541C5@kyngchaos.com>
Cc Didier Peeters <dpeeter1@ulb.ac.be>, Michael Barton <michael.barton@asu.edu>
Content-Transfer-Encoding 7bit
From William Kyngesburye <kyngchaos@kyngchaos.com>
Subject Re: [GRASS-dev] [bug #5096] (grass) can't read "_data(.gronsole.gronsole, 4, donecmd)": no such element in array
Date Thu, 7 Sep 2006 20:52:41 -0500
To Request Tracker <grass-bugs@intevation.de>
X-Mailer Apple Mail (2.752.2)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
Got it!  You forgot to set osxaqua=1 in your environment.  I knew it  
was needed for a Tcl/Tk Aqua, I just forgot why until I tried it this  
time.  It's mentioned in the GRASS.app readme.  Just remember that  
osxaqua should not be set when using an X11 TclTk.


Fri, Sep 8 2006 15:46:48    Mail sent by kyngchaos@kyngchaos.com  
Return-Path <kyngchaos@kyngchaos.com>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <C7219BDE-F166-471C-81D9-2D55450F81F4@ulb.ac.be>
References <20060904111814.A6ED51005AD@lists.intevation.de> <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com> <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be> <AFEFE8F8-C5F6-4D1A-8BD0-86C9DB6541C5@kyngchaos.com> <C7219BDE-F166-471C-81D9-2D55450F81F4@ulb.ac.be>
Mime-Version 1.0 (Apple Message framework v752.2)
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <BD6EB20B-3651-4FCA-9285-37C7801A8114@kyngchaos.com>
Cc Request Tracker <grass-bugs@intevation.de>
Content-Transfer-Encoding 7bit
From William Kyngesburye <kyngchaos@kyngchaos.com>
Subject Re: [GRASS-dev] [bug #5096] (grass) can't read "_data(.gronsole.gronsole, 4, donecmd)": no such element in array
Date Fri, 8 Sep 2006 08:46:42 -0500
To Didier Peeters <dpeeter1@ulb.ac.be>
X-Mailer Apple Mail (2.752.2)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
It *should* work as a GRASS env variable, it did when I worked on it  
a few months ago.  Try putting it in your .bash_profile instead.   
I'll have to change the readme.

On Sep 8, 2006, at 3:03 AM, Didier Peeters wrote:

> I'm sorry William, it doesn't appear to be that simple.  See the  
> attached image, I had done it and it's still set, so maybe there's  
> something preventing the system from reading it.
>


Fri, Sep 8 2006 17:27:42    Mail sent by dpeeter1@ulb.ac.be  
Return-Path <dpeeter1@ulb.ac.be>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <BD6EB20B-3651-4FCA-9285-37C7801A8114@kyngchaos.com>
References <20060904111814.A6ED51005AD@lists.intevation.de> <91DF9B21-0359-47C2-95C3-8DB79D3EE6D4@kyngchaos.com> <80A87A1D-8857-4962-8788-C49E58BFC1AD@ulb.ac.be> <AFEFE8F8-C5F6-4D1A-8BD0-86C9DB6541C5@kyngchaos.com> <C7219BDE-F166-471C-81D9-2D55450F81F4@ulb.ac.be> <BD6EB20B-3651-4FCA-9285-37C7801A8114@kyngchaos.com>
Mime-Version 1.0 (Apple Message framework v752.2)
Content-Type text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Message-Id <F9BD918E-48AF-4488-97E7-7A0A9499F504@ulb.ac.be>
Cc grass-bugs@intevation.de
Content-Transfer-Encoding quoted-printable
From Didier Peeters <dpeeter1@ulb.ac.be>
Subject Re: [GRASS-dev] [bug #5096] (grass) can't read "_data(.gronsole.gronsole, 4, donecmd)": no such element in array
Date Fri, 8 Sep 2006 17:27:39 +0200
To William Kyngesburye <kyngchaos@kyngchaos.com>
X-Mailer Apple Mail (2.752.2)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
OK, it works now !   Thanks a lot.

Didier



Le 08-sept.-06 =E0 15:46, William Kyngesburye a =E9crit :

> It *should* work as a GRASS env variable, it did when I worked on =20
> it a few months ago.  Try putting it in your .bash_profile =20
> instead.  I'll have to change the readme.
>
> On Sep 8, 2006, at 3:03 AM, Didier Peeters wrote:
>
>> I'm sorry William, it doesn't appear to be that simple.  See the =20
>> attached image, I had done it and it's still set, so maybe there's =20=

>> something preventing the system from reading it.
>>
>


Sun, Sep 10 2006 11:15:46    Status changed to resolved by msieczka  
Sun, Sep 10 2006 11:15:46    Mail sent by msieczka  
Closing bug.

Maciek
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request