rajrakeshdr / pychess

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

'NoneType' object has no attribute 'board' #291

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Try to load a .pgn from menu and select glaurung for both players.

  File "/usr/lib/python2.5/threading.py", line 460, in __bootstrap
    self.run()
  File "/home/tamas/svn/pychess/lib/pychess/System/GtkWorker.py", line 161,
in run
    self.result = self.func(self)
  File "/home/tamas/svn/pychess/lib/pychess/widgets/ionest.py", line 33, in
<lambda>
    workfunc(w, gamemodel, player0tup, player1tup, loaddata))
  File "/home/tamas/svn/pychess/lib/pychess/widgets/ionest.py", line 104,
in workfunc
    hintanalyzer.autoAnalyze(inverse=False)
  File "/home/tamas/svn/pychess/lib/pychess/Players/UCIEngine.py", line 78,
in autoAnalyze
    pool.start(autorun)
  File "/home/tamas/svn/pychess/lib/pychess/Players/UCIEngine.py", line 69,
in autorun
    self.parseLine(self.engine.readline())
  File "/home/tamas/svn/pychess/lib/pychess/Players/UCIEngine.py", line
227, in parseLine
    moves = listToMoves (self.board, movstrs, AN, validate=True)
  File "/home/tamas/svn/pychess/lib/pychess/Utils/Move.py", line 76, in
listToMoves
    board.board, mstrs, type, validate)]
<type 'exceptions.AttributeError'> 'NoneType' object has no attribute 'board'

Original issue reported on code.google.com by gbtami on 11 Jan 2008 at 7:05

Attachments:

GoogleCodeExporter commented 9 years ago
I'm afraid I'm unable to reproduce this. Can you try it again with 856?

Original comment by lobais on 13 Jan 2008 at 8:38

GoogleCodeExporter commented 9 years ago
Seems it's fixed, at least i can't reproduce it now.

Original comment by gbtami on 14 Jan 2008 at 4:35