fowode / pychess

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

pychess crash upon loading FEN #830

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load the attached FEN file with, File -> Open Game

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 89, in handler
    function(emitter, *extra)
  File "/home/gatto/code/hg/pychess/sidepanel/annotationPanel.py", line 551, in update
    self.insert_nodes(self.gamemodel.boards[0].board, result=result)
  File "/home/gatto/code/hg/pychess/sidepanel/annotationPanel.py", line 347, in insert_nodes
    shown_board = self.gamemodel.getBoardAtPly(self.boardview.shown, self.boardview.shownVariationIdx)
  File "/home/gatto/code/hg/pychess/lib/pychess/Utils/GameModel.py", line 296, in getBoardAtPly
    return self.variations[variation][self._plyToIndex(ply)]
IndexError: list index out of range

Original issue reported on code.google.com by mattgatto on 22 Jan 2014 at 2:56

Attachments:

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

Original comment by gbtami on 25 Jan 2014 at 10:21