UpdateStringProc should not be invoked for type statekey

From: Peter N. Schweitzer (pschweitzer_at_usgs.gov)
Date: 03/30/04


Date: Tue, 30 Mar 2004 16:19:06 GMT

Help!

I'm using Tcl and Tk 8.4.5 on a Linux system.

Suddenly, when running my Tcl/Tk/C app bound using mktclapp, I get

UpdateStringProc should not be invoked for type statekey
Aborted

By inserting puts stmts into the tcl code, I think this error message
appears when I execute

menu .mbar.help.menu -tearoff false -font menu_font -title "Help"

I half-expected this error message to be related to a bind command,
but it looks like it's happening inside something else; in the app,
several other menu commands just like this have already executed
(although nothing has yet been displayed). I suspect this happened
as a result of going from 8.4.4 to 8.4.5.

Anyone seen a message like this? Any ideas as to why this would happen?

Peter

-- 
Peter N. Schweitzer (MS 954, U.S. Geological Survey, Reston, VA 20192)
(703) 648-6533  FAX: (703) 648-6252  email: pschweitzer@usgs.gov
<http://geology.usgs.gov/peter/>


Relevant Pages

  • Re: Tcl on slashdot...
    ... Tcl error message, it is extremely fast to track down the bug, again ... assuming programming skills. ... is that the package is XOTcl not Xotcl or xotcl. ...
    (comp.lang.tcl)
  • Re: UpdateStringProc should not be invoked for type statekey
    ... > I'm using Tcl and Tk 8.4.5 on a Linux system. ... > By inserting puts stmts into the tcl code, I think this error message ... "statekey", look for it in your C code. ...
    (comp.lang.tcl)
  • Re: Confused newbie
    ... I've been writing tcl code for 10 years and I still use this technique more than any other debugging technique. ... It is unhappy with my code but error message didn't make sense. ... But purpose of their documentation has little to do with my needs. ... I'm interested in the detail level of GPS errors. ...
    (comp.lang.tcl)
  • Re: tcl interp inside vim throws error w/ clock format
    ... That error message comes from Tcl 8.4. ... In an 8.5 interp ... "catch script ?resultVarName? ...
    (comp.lang.tcl)
  • Re: Cant access TCLLib when TCL is embedded in my application
    ... TCL is embedded in my application as a "Macro" utility. ... You'll want to print at least the error message as well: ... Worth reporting as a bug. ... available to user scripts. ...
    (comp.lang.tcl)