Closed GoogleCodeExporter closed 9 years ago
I can reproduce this one.
The log shows that the observed game was reported ended. (e.g. {Game 25
(GuestLNDH
vs. horgen) GuestLNDH resigns} 0-1), but the UI doesn't seam to connect to the
signal.
Original comment by lobais
on 10 Jan 2009 at 3:39
When I closed PyChess, I got the following trace:
16:18:09 Default Warning: Chatpanel loaded with no local players
File
"/home/thomas/Programmering/workspace/pychess/lib/pychess/System/ThreadPool.py",
line
15, in encaps
self._Thread__bootstrap_inner()
File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
self.run()
File
"/home/thomas/Programmering/workspace/pychess/lib/pychess/System/ThreadPool.py",
line
73, in run
self.func()
File
"/home/thomas/Programmering/workspace/pychess/lib/pychess/System/ThreadPool.py",
line
46, in <lambda>
a.func = lambda: func(*args, **kw)
File
"/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/FICSConnection.py",
line
198, in run
self._connect()
File
"/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/FICSConnection.py",
line
190, in _connect
self.emit("connected")
File "/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/ICLogon.py", line
150, in onConnected
self.lounge = ICLounge(connection)
File "/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/ICLounge.py",
line 49, in __init__
GameTabSection(w,c),
File "/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/ICLounge.py",
line 609, in __init__
ParrentListSection.__init__(self)
File "/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/ICLounge.py",
line 271, in __init__
self.listPublisher.start()
File
"/home/thomas/Programmering/workspace/pychess/lib/pychess/System/ThreadPool.py",
line
107, in start
pool.start(self.run)
File
"/home/thomas/Programmering/workspace/pychess/lib/pychess/System/GtkWorker.py",
line
48, in run
self.func(l)
File "/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/ICLounge.py",
line 269, in updateLists
func(*task[1:])
File "/home/thomas/Programmering/workspace/pychess/lib/pychess/ic/ICLounge.py",
line 696, in onGameUnobserved
threeiter = self.games[gameno]
<type 'exceptions.KeyError'> '0'
Original comment by lobais
on 10 Jan 2009 at 3:46
I got this nailed down to a variable override and fixed.
Such a problem would never have happened in a strict typing language :P
Original comment by lobais
on 12 Jan 2009 at 10:21
Original issue reported on code.google.com by
pe3...@gmail.com
on 10 Jan 2009 at 1:13