Comment 2 for bug 512396

Revision history for this message
Robert Ancell (robert-ancell) wrote :

Proposing for backport to Karmic:
- Bug stops glchess from being able to use any UCI based engines (regressing from Jaunty)
- Fixed in upstream and Lucid in 2.29.6
- Patch is:
 Index: gnome-games-2.28.0/glchess/src/lib/uci.py
===================================================================
--- gnome-games-2.28.0.orig/glchess/src/lib/uci.py 2010-01-27 13:13:19.586447023 +1100
+++ gnome-games-2.28.0/glchess/src/lib/uci.py 2010-01-27 13:13:25.474042095 +1100
@@ -17,7 +17,6 @@
         self.__readyToConfigure = False
         self.__ready = False
         self.__inCallback = False
- self.__queuedCommands = None
         self.__positionCommand = 'position startpos'

     def logText(self, text, style):
- TEST CASE:
  Install fruit: apt-get install fruit
  Open Applications>Games>Chess and select Game>New menu. Start new game with white player set to "Fruit".
- Regression potential is very low as the fix is an incorrect variable initialisation