Make sure you havent accidentally closed the switch statement (ie: all braces match). Thats the same error you'd see if you type "default" into the interpreter.
I've downloaded the ldap extenstion for tcl from http://www.sensus.org/tcl (ldap.tgz)
I unpackaged it and configured with the following command(where /h/COTS?TCLTK is the location of th installed tcltk) (the error list is far worse without the flags):
./configure --enable-gcc --prefix...
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.
http://wiki.tcl.tk/1055
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...
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...
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...
printer - HP Laser Jet 2200 DN
UNIX - Solaris 8
Documents are queueing up at the printer. If i send 2 documents, i have to press that lousy button twice, but not for every page in a given document, just once per document.
It doesnt have an LCD, just two dummy button. One for canceling a print job and the other is the button i press to print my pages. Am getting the same results with "Letter" and "A4
When i send a file to the printer via lp or glp i'm having to go press a button on the physical printer before a page will come out.
We recently had an integration and these are brand new accounts. I remember dealing with this issue before but cant for the life of me remember what we did. I...
This makes sense to me. But i guess i dont understand what "trickybutton" is supposed to be. That argument is supposed to be a taglist.
lets take the following example, one button that puts out "hello" when clicked:
frame .f
button .f.b -text hello
pack .f .f.b
bind .f.b <ButtonPress-1>...
I have a text widget and at some point it is being redrawn and for that instant i dont want the binds to be present, testers found a tcl error when they were able to click fast enough.
I'm looking for something along the lines of
$text bind <*> { }
but obviously this doesnt work.
Is there...
Has anyone run into this annomaly?
Clicking once on the arrow to advance the scrollbar and it takes off on its own to the end of the list. Once at the end, if you click on the arrow to scroll in the opposite direction has the same result, it just takes off till it can scroll no more...
Since you know that you only want to split what comes before and after the first "=" you could do something like this.
set props [ split $arg = ]
set first_element [lindex $props 0]
set second element [lrange $props 1 end]
The lrange command is useful in these situations. It allows you to...
thanks for the quick response.
My issue is that i'm trouble shooting an issue from the recieving end and have no access to the system that is sending the files. They ftp over groups of files that all follow a sequential order and on my end we process those files. Pretty basic, but we've been...
If I am FTPing files from machine A to machine B what happens if machine B is rebooted before the transfer is completed?
Does it abort and leave a partial transfer?
Does it keep trying until a timeout is reached?
One of my testers found that the openFile conveince functions offered by tcl/tk throws an error when the Esc key is pressed and the open dialog is on the screen.
My problem is that "bind all <Esc>" gives me:
Error in startup script: bad event type or keysym "Esc"
any help would be appreciated.
Yes, sorry i am working on a UNIX platform. Sun Solaris
Unfortunately our application isnt written to run on windows. But when attempting to create a similar situation with the tk_getOpenFile dialog itself, i received all kinds of windows permission messages.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.