fowode / pychess

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

scorepanel crash after undo #867

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I was testing the gnuchess undo lockup bug fix and got this scorepanel crash 
after an undo:

Traceback (most recent call last):
  File "/home/gatto/code/hg/pychess/lib/pychess/System/glock.py", line 71, in handler
    function(emitter, *extra)
  File "/home/gatto/code/hg/pychess/sidepanel/scorePanel.py", line 135, in analysis_changed
    self.plot.changeScore(ply-gamemodel.lowply, score)
  File "/home/gatto/code/hg/pychess/sidepanel/scorePanel.py", line 171, in changeScore
    self.scores[ply] = score
IndexError: list assignment index out of range

Original issue reported on code.google.com by mattgatto on 10 May 2014 at 9:57

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by mattgatto on 10 May 2014 at 9:57

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

Original comment by gbtami on 11 May 2014 at 8:14