> Hi I often get messages of the following type when I've done something
> that causes the ticker to deliver a message. They usually appear after
> the crucial step and do not seem to cause any further problem, but may be
> symptomatic of things happening in the wrong order.
> File "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/ScrolledWindow.py",
> line 237, in drawCrosshair
> w = self.winfo_width()
> File "/usr/lib64/python2.2/lib-tk/Tkinter.py", line 817, in winfo_width
> return getint(
> TclError: invalid command name " Successfully saved project "
This is majorly bizarre. Looks like there's a variable contamination in
Tkinter caused by the Ticker thread. I can't think how else the message
for the Ticker could possibly end up in the depths of the window
information for ScrolledWindow, something quite unrelated.
I'll have a look at the variable namespace, in case there's something
obvious that can be tweaked. Otherwise, I'm beginning to think that the
Ticker with its associated threading may have to disappear. It also seems
to cause problems on Mac OSX.
Apparently, mixing Tkinter and multiple threads is generally a bad idea...
T.
-------------------------------------------------------------------------------
Dr Tim Stevens Email: [log in to unmask]
Department of Biochemistry [log in to unmask]
University of Cambridge Phone: +44 1223 766022 (office)
80 Tennis Court Road +44 7816 338275 (mobile)
Old Addenbrooke's Site +44 1223 364613 (home)
Cambridge CB2 1GA WWWeb: http://www.bio.cam.ac.uk/~tjs23
United Kingdom http://www.pantonia.co.uk
-------------------------------------------------------------------------------
------ +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
-------------------------------------------------------------------------------
|