From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8194 invoked by alias); 7 Oct 2002 16:04:55 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 8187 invoked from network); 7 Oct 2002 16:04:54 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 7 Oct 2002 16:04:54 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g97FjPX15059 for ; Mon, 7 Oct 2002 11:45:25 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g97G4sf06920; Mon, 7 Oct 2002 12:04:54 -0400 Received: from valrhona.uglyboxes.com (IDENT:aRj3bX+VG462lNalYVkoM4AieYm2Unhi@vpn50-23.rdu.redhat.com [172.16.50.23]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g97G4r801547; Mon, 7 Oct 2002 12:04:53 -0400 Date: Mon, 07 Oct 2002 09:04:00 -0000 From: Keith Seitz X-X-Sender: keiths@valrhona.uglyboxes.com To: Graham Swallow cc: insight@sources.redhat.com Subject: Re: insight combobox error (wont go away) no such variable grabstatus In-Reply-To: <20021007165805.4a016d7a.Information-Cascade@ntlworld.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-q4/txt/msg00016.txt.bz2 On Mon, 7 Oct 2002, Graham Swallow wrote: > With my current glibc/X11 versions, I get a combo-box > problem with insight - the combobox wont close, reports > a stack trace, saying no such variable as "grabstatus". > The problem get better with this line that sets the > variable if it hasnt been set. You would probably go > back to the root-cause which might be the foreach > never lappend-ing anything in the first place. Are you keeping your sources up to date? I believe that a patch was committed to libgui to fix this. (Copied below) Keith 2002-09-20 Fernando Nasser * library/combobox.tcl (build): Add line missing from previous patch. Index: combobox.tcl =================================================================== RCS file: /cvs/src/src/libgui/library/combobox.tcl,v retrieving revision 1.4 retrieving revision 1.5 diff -p -r1.4 -r1.5 *** combobox.tcl 20 Sep 2002 17:38:52 -0000 1.4 --- combobox.tcl 25 Sep 2002 05:01:21 -0000 1.5 *************** proc ::combobox::widgetProc {w command a *** 792,797 **** --- 792,798 ---- # *gasp* do a global grab!!! Mom always told not to # do things like this... :-) set grablist [grab current] + set grabstatus {} foreach grabitem $grablist { lappend grabstatus [grab status $grabitem] }