swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swarm-Support] error: TkExtra (instance)


From: Matthew E. Gaston
Subject: Re: [Swarm-Support] error: TkExtra (instance)
Date: Tue, 7 Oct 2003 13:36:30 -0400 (EDT)

I've tried setting the DISPLAY to no avail.  Is there an easy way to check
if tk is able to create a window?

Thanks for your help!

On Fri, 3 Oct 2003, Bill Northcott wrote:

>Here is the same error on MacOS X:
>[PBG4-12BN:apps/objc/heatbugs] billn% ./heatbugs
>error: TkExtra (instance)
>
>Abort
>
>How does it happen?  Simple - I shut down the X-server.
>
>Now this is easy on a Mac which does not use X-windows for its display,
>but rather hard on a Linux box unless you are in CLI mode.
>
>The only way I could see that you achieve the effect on Linux is if you
>are invoking the program in an environment where DISPLAY is not defined.
>Try
>echo $DISPLAY
>
>You chould get something like
>:0.0
>or
>localhost:0.0
>
>If you get nothing, try setting the DISPLAY variable.
>
>There could be some other reason that tk cannot create a window on your
>display.  Permissions possibly.
>
>Bill Northcott
>
>address@hidden wrote on 03/10/2003 04:20:18 AM:
>
>> All,
>
>> I've seen this error discussed in the archive, but am having some
>trouble
>> finding the solution.
>
>> I've (successfully?) installed swarm on Redhat 9, kernel 2.4.20-18.9,
>with
>> gcc 3.2.1.  Using the tutorial to test swarm, all simpleBug's work until
>> the gui's are introduced (simpleObserverBug). Then, upon execution I
>get:
>
>> > # ./bug
>> > error: TkExtra (instance)
>> >
>> > Aborted
>
>> sometime during the call to initSwarm.  When I run ldd on the
>executable,
>> I get the following information related to Tcl/Tk:
>
>> libtk8.3.so => /usr/lib/libtk8.3.so (0x40324000)
>> libtcl8.3.so => /usr/lib/libtcl8.3.so (0x403e2000)
>> ...
>> libtk8.2.so => /usr/local/lib/libtk8.2.so (0x405b2000)
>> libtcl8.2.so => /usr/local/lib/libtcl8.2.so (0x4065d000)
>
>> If anyone has any suggestions, I greatly appreciate it!  One note, I do
>> not have root on the system I am working on . . .
>
>> Thanks,
>> Matt
>
>> Matthew E. Gaston
>> UMBC Department of Computer Science
>> address@hidden
>
>> "Only those who attempt the absurd will achieve the impossible."
>> -- Einstein
>>
>> _______________________________________________
>> Support mailing list
>> address@hidden
>> http://www.swarm.org/mailman/listinfo/support
>_______________________________________________
>Support mailing list
>address@hidden
>http://www.swarm.org/mailman/listinfo/support
>


Matthew E. Gaston
UMBC Department of Computer Science
address@hidden
http://www.cs.umbc.edu/~mgasto1

"Only those who attempt the absurd will achieve the impossible."
                                                -- Einstein



reply via email to

[Prev in Thread] Current Thread [Next in Thread]