colbyga / pychess

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

IndexError #270

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
svn rev 788.

Play a quick game selecting the last engine from dropdown.
(Pychess saves it's index into ~/.pychessconf)
Quit from PyChess. Uninstall that engine.
Start PyChess again:

tamas@tami:~/svn/pychess$ LANG=C PYTHONPATH=lib ./pychess
1820: old priority 0, new priority 15
Traceback (most recent call last):
  File "/adat/svn/pychess/lib/pychess/Main.py", line 456, in widgetHandler
    newGameTasker = NewGameTasker()
  File "/home/tamas/svn/pychess/lib/pychess/widgets/Background.py", line
251, in __init__
    uistuff.keep(self.playerCombo, "newgametasker_playercombo")
  File "/home/tamas/svn/pychess/lib/pychess/System/uistuff.py", line 58, in
keep    set_value(conf.getStrict(key))
  File "/home/tamas/svn/pychess/lib/pychess/widgets/ToggleComboBox.py",
line 47, in _set_active
    text, iconname = self._items[active]
IndexError: list index out of range

Original issue reported on code.google.com by gbtami on 5 Dec 2007 at 4:22

GoogleCodeExporter commented 9 years ago
fixed in rev 789

Original comment by gbtami on 6 Dec 2007 at 10:08