TclError: bad option "<whatever>": must be cget or configure

Kevin@Cazabon.com kevin at cazabon.com
Fri Nov 8 22:36:49 EST 2002


I'm having some weird Tcl errors, and can't seem to track them down, any
help?

1)  these are happening in multiple locations, when I use the "configure"
method for widgets

2)  the calls work 99.9% of the time, but when the system is under heavy
load they fail with "TclError: bad option "yellow": must be cget or
configure" errors

3)  I'm using a valid "configure" command (such as
self.label.configure(text="yellow")), and it seems to think I called
"self.frame.yellow()" or self.frame.configure(yellow = xxx).


My application is multi-threaded (3 threads total, all using locks/mutexes
on shared objects, only one thread is doing Tcl stuff), and I'm using
ActivePython 2.2.1 build 222.

Thanks!

Kevin.






More information about the Python-list mailing list