Tkinter, updateStringProc for type font
JeffH at ActiveState.com
Wed Sep 11 18:57:51 CEST 2002
Pier Paolo Glave wrote:
> I'm facing a problem with my Python program, which uses Tkinter to
> interface Tcl/Tk.
> I sometimes get this error message from Tcl:
> "UpdateStringProc should not be invoked for type font".
> As a consequence, the application crashes with SIGABRT (6).
> I'm using: Python 2.2, Tcl/Tk 8.3.3-69.
> I've seen in the tcl sources that this happens when a function named
> Tcl_GetString() is called for a "type" which has the "byte" field set
> to NULL, and no "updateStringProc" function pointer: this seems to
> happen for Tk type "font", sometimes in my application.
> Anyway, I'm not able to understand more.
> Has anyone encountered this problem before?
Do you have any other C extensions in your application? I've not seen this
occur myself, except in bugs where other C extensions were abusing Tcl objects
Jeff Hobbs The Tcl Guy
Senior Developer http://www.ActiveState.com/
Tcl Support and Productivity Solutions
Join us in Sept. for Tcl'2002: http://www.tcl.tk/community/tcl2002/
More information about the Python-list