I've found that Tix GUI applications crash after switching to Python 2.6.1 (Windows XP) when Balloons are used. IDLE gives this error message:
Traceback (most recent call last):
File "D:\PyFiles\InstrumentSetup\Automenu.py", line 217, in <module>
else: displayedwidget=MainWidget(root, CS)
File "D:\PyFiles\InstrumentSetup\Automenu.py", line 155, in __init__
b = Tix.Balloon(MyFrame)
File "C:\Python26\lib\lib-tk\Tix.py", line 529, in __init__
TixWidget.__init__(self, master, 'tixBalloon', static, cnf, kw)
File "C:\Python26\lib\lib-tk\Tix.py", line 307, in __init__
self.tk.call(widgetName, self._w, *extra)
TclError: unknown color name "{#ffff60}"
A Windows message box came up also. It gave the message:
The exception unknown exception (0x40000015) occurred in the application at location 0x1e03a63b
Perhaps Tix.Balloon has been omitted from the test suite?
I tried searching but cannot see this reported elsewhere. Can anyone else confirm this behaviour? I can supply a script demonstrating the problem.
I put this first on comp.python.lang as I did not know about this list.
http://groups.google.co.uk/group/comp.lang.python/browse_thread/thread/b50d6cab7b73baa7?hl=en#
Andrew.gregory@npl.co.uk