Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

interpretor not dying

Status
Not open for further replies.

smugindividual

Programmer
Apr 14, 2003
104
US
in a brand new wish instance, the command [winfo interps] yields me a list of two things, "wish" and another interpreter . The other interpreter is mine but should not have been left hanging around.
Firstly, i don't know how this interpreter was leftover.
2nd, I cant get rid of it.

my attempts to use the "send" command have resulted in the following:
target application died or uses a Tk version before 4.0

 
Well, when I type "winfo interps" in a new WISH console, I get nothing.

Is it always just the 1 zombie, and always the same one?

What is your platform?

_________________
Bob Rashkin
 
I am running UNIX

I agree with you that the normal behavior results in only the zombie, "wish".

I'm still at a loss for how it was left around.

I've dug a little deeper and found that the rouge interpreter was named using the "tk appname" command and originates in a .tk file. But i'm not sure if that helps at all.

I think if i were to log out of unix and log back in, the problem would fix itself, but i'd like to figure out how to fix the situation with out that so i might safegaurd the project from this in the future.

I look at my running process list and cant see anything that looks like tcl or wish.

Heres what i see in my window.

>> wish
% winfo interps
wish RQTSM
% winfo interps -displayof .
wish RQTSM
% send RQTSM exit
target application died or uses a Tk version before 4.0
% send RQTSM kill
target application died or uses a Tk version before 4.0

 
A google search showed me that this isnt too uncommon but was still unable to locate a solution.

Heres an experiment i tried, could shed some light.


>> wish
% winfo interps
wish RQTSM
% tk appname MOO
MOO
% winfo interps
MOO RQTSM
% send MOO "puts test"
test
% send RQTSM "puts test2"
target application died or uses a Tk version before 4.0
% send BLABLA "puts bla"
no application named "BLABLA"
%
 
what do you get in a UNIX shell from "ps -ef |grep wish"?

_________________
Bob Rashkin
 
It doesnt see any interpreters, only the "grep wish".

I've seen people running into the same issues, but no solutions yet.

The very last block of code in this link is exactly the same problem.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top