fowode / pychess

Automatically exported from code.google.com/p/pychess
GNU General Public License v3.0
0 stars 0 forks source link

following a player who goes on to play bughouse leads to eventual AttributeError #886

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you follow a player who goes on to play a bughouse game, eventually it leads 
to AttributeError:

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gobject/__init__.py", line 101, in obj_set_property
    prop.setter(self, value)
  File "/home/gatto/code/hg/pychess/lib/pychess/widgets/BoardView.py", line 370, in _set_shown
    moved, new, dead = board.simulateMove(board1, move)
  File "/home/gatto/code/hg/pychess/lib/pychess/Utils/Board.py", line 118, in simulateMove
    moved.append( (self[cord0], cord0) )
  File "/home/gatto/code/hg/pychess/lib/pychess/Utils/Board.py", line 338, in __getitem__
    return self.data[cord.y].get(cord.x)
AttributeError: 'NoneType' object has no attribute 'y'

Original issue reported on code.google.com by mattgatto on 13 Jun 2014 at 2:16

GoogleCodeExporter commented 9 years ago

Original comment by mattgatto on 13 Jun 2014 at 2:23

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 9ebb0a907037.

Original comment by gbtami on 14 Jun 2014 at 6:51