M
Michael Spencer
Using:
Python 2.3.3
Tkinter.TclVersion = 8.4000000000000004
Windows XP
Calling edit_modified() on a Tkinter.Text object raises TypeError when
it gets a Boolean True response.
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Python23\lib\lib-tk\Tkinter.py", line 1345, in __call__
return self.func(*args)
File "\\Cc1040907-a\c$\Documents and Settings\Michael\My
Documents\PyDev\GUI\T
Egui.py", line 64, in <lambda>
command = lambda tag = maketag(i), label =
label:menudispatch(label,tag))
File "\\Cc1040907-a\c$\Documents and Settings\Michael\My
Documents\PyDev\GUI\T
Egui.py", line 27, in menudispatch
return func()
File "\\Cc1040907-a\c$\Documents and Settings\Michael\My
Documents\PyDev\GUI\T
Egui.py", line 49, in handle_File_Close
if tbx1.edit("modified"):
File "D:\Python23\lib\lib-tk\Tkinter.py", line 2819, in edit
return self._getints(
File "D:\Python23\lib\lib-tk\Tkinter.py", line 972, in _getints
return tuple(map(getint, self.tk.splitlist(string)))
TypeError: coercing to Unicode: need string or buffer, bool found
Python 2.3.3
Tkinter.TclVersion = 8.4000000000000004
Windows XP
Calling edit_modified() on a Tkinter.Text object raises TypeError when
it gets a Boolean True response.
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\Python23\lib\lib-tk\Tkinter.py", line 1345, in __call__
return self.func(*args)
File "\\Cc1040907-a\c$\Documents and Settings\Michael\My
Documents\PyDev\GUI\T
Egui.py", line 64, in <lambda>
command = lambda tag = maketag(i), label =
label:menudispatch(label,tag))
File "\\Cc1040907-a\c$\Documents and Settings\Michael\My
Documents\PyDev\GUI\T
Egui.py", line 27, in menudispatch
return func()
File "\\Cc1040907-a\c$\Documents and Settings\Michael\My
Documents\PyDev\GUI\T
Egui.py", line 49, in handle_File_Close
if tbx1.edit("modified"):
File "D:\Python23\lib\lib-tk\Tkinter.py", line 2819, in edit
return self._getints(
File "D:\Python23\lib\lib-tk\Tkinter.py", line 972, in _getints
return tuple(map(getint, self.tk.splitlist(string)))
TypeError: coercing to Unicode: need string or buffer, bool found