<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi, <br>
<br>
Not sure this is the place to submit such a query, please re-direct
me to the correct place. <br>
I implemented a simple Lights Out game which works with the old
Python 2.6 (and 2.7 in Windows). <br>
After upgrading to SUSE 13.1 which comes with Python 2.7.5 I get the
following error:<br>
<br>
<b>Exception in Tkinter callback</b><b><br>
</b><b>Traceback (most recent call last):</b><b><br>
</b><b> File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1470,
in __call__</b><b><br>
</b><b> return self.func(*args)</b><b><br>
</b><b> File "./LightsOut.py", line 28, in mouse</b><b><br>
</b><b> grid_info = event.widget.grid_info()</b><b><br>
</b><b> File "/usr/lib64/python2.7/lib-tk/Tkinter.py", line 1978,
in grid_info</b><b><br>
</b><b> self.tk.call('grid', 'info', self._w))</b><b><br>
</b><b>TypeError: coercing to Unicode: need string or buffer,
_tkinter.Tcl_Obj found</b><b><br>
</b><br>
I get the same error with Python 3.3.2 (which also comes with SUSE
13.1). I attached the source code for the game, please run with
"./LightsOut 3".<br>
<br>
Any help would be greatly appreciated.<br>
<br>
Thanks, <br>
Horace<br>
</body>
</html>