From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2978 invoked by alias); 15 Oct 2002 03:20:53 -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 2970 invoked from network); 15 Oct 2002 03:20:52 -0000 Received: from unknown (HELO stephens.ittc.ku.edu) (129.237.125.220) by sources.redhat.com with SMTP; 15 Oct 2002 03:20:52 -0000 Received: from kermit.ittc.ku.edu (kermit.ittc.ku.edu [129.237.126.68]) by stephens.ittc.ku.edu (8.12.6/8.12.6/ITTC-ANTISPAM-ANTIVIRUS-3.0) with ESMTP id g9F3KkYo030540; Mon, 14 Oct 2002 22:20:46 -0500 Received: from localhost by kermit.ittc.ku.edu (8.11.6/KU-4.0-client) id g9F3Kkb19067; Mon, 14 Oct 2002 22:20:46 -0500 Date: Mon, 14 Oct 2002 20:20:00 -0000 From: Satya To: "Martin M. Hunt" cc: insight@sources.redhat.com Subject: Re: Problem opening file In-Reply-To: <200210142008.08218.hunt@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-VirusScan: Clean X-SW-Source: 2002-q4/txt/msg00041.txt.bz2 when i tried to do that i get the following message: bad option "::open": must be appname, scaling, or useinputmethods What could be the reason... Thanks, Satya On Mon, 14 Oct 2002, Martin M. Hunt wrote: > 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. > > -- -- Satya