From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31888 invoked by alias); 15 Oct 2002 03:09:26 -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 31881 invoked from network); 15 Oct 2002 03:09:24 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 15 Oct 2002 03:09:24 -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 g9F2mvw19562 for ; Mon, 14 Oct 2002 22:48:57 -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 g9F39Of24612; Mon, 14 Oct 2002 23:09:24 -0400 Received: from localhost.localdomain (romulus-int.sfbay.redhat.com [172.16.27.46]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g9F39Na29132; Mon, 14 Oct 2002 23:09:23 -0400 Content-Type: text/plain; charset="iso-8859-1" From: "Martin M. Hunt" Organization: Red Hat Inc To: Satya , insight@sources.redhat.com Subject: Re: Problem opening file Date: Mon, 14 Oct 2002 20:09:00 -0000 User-Agent: KMail/1.4.1 References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200210142008.08218.hunt@redhat.com> X-SW-Source: 2002-q4/txt/msg00040.txt.bz2 On Monday 14 October 2002 07:45 pm, Satya wrote: > Hi, > I used the tk command provided in insight to open a file : > gdb> open file /tmp/foo w > > I get the following error: > Error: class "/tmp/foo" not found in context "::itk::Archetype" > > Can anyone tell me how to fix this.. This is a namespace problem. It is trying to use the open method to open a window of class "/tmp/foo" .You need to tell it to use the toplevel open command. "tk ::open /tmp/foo w" should work. -- Martin Hunt GDB Engineer Red Hat, Inc.