public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Problem opening file
@ 2002-10-14 19:45 Satya
  2002-10-14 20:09 ` Martin M. Hunt
  0 siblings, 1 reply; 4+ messages in thread
From: Satya @ 2002-10-14 19:45 UTC (permalink / raw)
  To: insight


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..

Thanks,
Satya

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem opening file
  2002-10-14 19:45 Problem opening file Satya
@ 2002-10-14 20:09 ` Martin M. Hunt
  2002-10-14 20:20   ` Satya
  0 siblings, 1 reply; 4+ messages in thread
From: Martin M. Hunt @ 2002-10-14 20:09 UTC (permalink / raw)
  To: Satya, insight

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem opening file
  2002-10-14 20:09 ` Martin M. Hunt
@ 2002-10-14 20:20   ` Satya
  2002-10-14 20:25     ` Martin M. Hunt
  0 siblings, 1 reply; 4+ messages in thread
From: Satya @ 2002-10-14 20:20 UTC (permalink / raw)
  To: Martin M. Hunt; +Cc: insight


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem opening file
  2002-10-14 20:20   ` Satya
@ 2002-10-14 20:25     ` Martin M. Hunt
  0 siblings, 0 replies; 4+ messages in thread
From: Martin M. Hunt @ 2002-10-14 20:25 UTC (permalink / raw)
  To: Satya; +Cc: insight

On Monday 14 October 2002 08:20 pm, Satya wrote:
> 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...

Just a guess...

(gdb) tk ::open /tmp/foo w
file7

(gdb) tk tk ::open /tmp/foo w
Error: bad option "::open": must be appname, scaling, or useinputmethods

-- 
Martin Hunt
GDB Engineer
Red Hat, Inc.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-15  3:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 19:45 Problem opening file Satya
2002-10-14 20:09 ` Martin M. Hunt
2002-10-14 20:20   ` Satya
2002-10-14 20:25     ` Martin M. Hunt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).