Menu

#140 annotation window error

Normal_bug
open
5
2012-12-10
2004-02-03
No

I am running into trouble using the annotation window more
than one time for a given plot while using the vcdat
gui. I am
able to annotate the plot once, but if I plot a second
(new) variable
and then try to annotate that plot, I get the error
message:

Error: 3
TclError Exception in Tk callback
Function: <browser.gui_control.Command instance at
0x881bbac> (type: <type 'instance'>)
Args: ()
Traceback (innermost last):
File
"/usr/local/cdat-3.3/lib/python2.2/site-packages/Pmw/Pmw_0_8_4/lib/PmwBase.py",
line 1690, in __call__
return apply(self.func, args)
File
"/usr/local/cdat-3.3/lib/python2.2/site-packages/browser/gui_control.py",
line 238, in __call__
return apply(self.func, args, kw)
File
"/usr/local/cdat-3.3/lib/python2.2/site-packages/browser/gui_annotate.py",
line 132, in __init__
self.eny7.setentry( self.parent.annotate_units )
File
"/usr/local/cdat-3.3/lib/python2.2/site-packages/Pmw/Pmw_0_8_4/lib/PmwEntryField.py",
line 322, in setentry
self.__setEntry(text)
File
"/usr/local/cdat-3.3/lib/python2.2/site-packages/Pmw/Pmw_0_8_4/lib/PmwEntryField.py",
line 316, in __setEntry
self._entryFieldEntry.insert(0, text)
File
"/usr/local/cdat-3.3/lib/python2.2/lib-tk/Tkinter.py",
line 2196, in insert
self.tk.call(self._w, 'insert', index, string)
TclError: wrong # args: should be
".156114708.150746660.156170996.157814660 insert index
text"

Discussion


Log in to post a comment.