rajrakeshdr / pychess

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

invalid tree path #286

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After finished (stealmate) a game against glaurung, i tried to select
"Prefer figures in notation" checkbox on preferences dialog, and got:

Traceback (most recent call last):
  File "/home/tamas/svn/pychess/lib/pychess/System/uistuff.py", line 65, in
callback
    conf.set(key, get_value())
  File "/home/tamas/svn/pychess/lib/pychess/System/conf.py", line 32, in set
    confmodule.set(key, value)
  File "/home/tamas/svn/pychess/lib/pychess/System/conf_configParser.py",
line 46, in set
    func (None)
  File "/home/tamas/svn/pychess/sidepanel/historyPanel.py", line 85, in
figuresInNotationCallback
    col.get_model().set(col.get_model().get_iter((row,)), 0, notat)
ValueError: invalid tree path

Original issue reported on code.google.com by gbtami on 6 Jan 2008 at 2:02

Attachments:

GoogleCodeExporter commented 9 years ago
Was the last move made in the history panel?
Is this an always reproduceable bug, or could this be a race condition about 
the game
being closed e.l. at the same time that you change the pieces?

Original comment by lobais on 6 Jan 2008 at 7:43

GoogleCodeExporter commented 9 years ago
I'm sorry, but can't remember to the history panel, and didn't made screenshot 
:(
It was only once. I played other games ending with stealmate, but not got this 
bug.

Original comment by gbtami on 6 Jan 2008 at 7:51

GoogleCodeExporter commented 9 years ago
There was a problem in that callback function. I don't see how it should appear 
in
games not opened from a fen or epd though. Might be related to 277.

Original comment by lobais on 10 Jan 2008 at 6:49