colbyga / pychess

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

Enter one-line summary #49

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start a game  
2. Play a few moves ...
3. Start a new game

What is the expected output? What do you see instead?
L Found 2 moves in 0.351 seconds
L Found 20 moves in 0.126 seconds
Unhandled exception in thread started by <bound method Game._run of <Game
object (Game+Game) at 0xb6fb4b1c>>
Traceback (most recent call last):
  File "/home/thijs/cvs/pychess/Game.py", line 71, in _run
    if not self.history.add(move,True):
  File "/home/thijs/cvs/pychess/Utils/History.py", line 117, in add
    if p.sign == "k":
AttributeError: 'NoneType' object has no attribute 'sign'
L Found 20 moves in 0.471 seconds
*E* CrR: Illegal move: e2e4
D Ora(Gn)R: 6. ... d1b3
D Ora(Gn)R: My move is: d1b3
D Ora(Gn)W: show score
D Ora(Gn)W: flush
D Ora(Gn)W: manual
D Ora(Gn) waiting for: 'Phase'
D Ora(Gn)R: Illegal move: flush
D Ora(Gn)R: White:  Mat:3600/4400  P:40  N:85  B:90  R:37  Q:59  K:-14 
Dev:-56  h:0 x:0
D Ora(Gn)R: Black:  Mat:3600/4400  P:44  N:48  B:80  R:27  Q:59  K:-44 
Dev:-24  h:0 x:0
D Ora(Gn)R: Phase: 1    score = -51
D Ora(Gn)W: undo
D Ora(Gn)W: undo

Please use labels and text to provide additional information.

Original issue reported on code.google.com by thijsver...@gmail.com on 9 Oct 2006 at 6:37

GoogleCodeExporter commented 9 years ago
Oeps, Didn't change the title of this bug. Lets say :
"Engine crashes after a few games..."

Original comment by thijsver...@gmail.com on 9 Oct 2006 at 6:38

GoogleCodeExporter commented 9 years ago
Yeah I know, the Oracle is bugged.
At this time, it plays a game, with depth 1, and then does a lot of undos, when 
a
player moves, after which it starts playing.

When the new engine system is finish, the oracle will probably be using the 
"analyze"
command of the xboard protocol, which should changes thing dramatically.

Perhaps I should commit my changes. I've been holding a bit back, as they'll 
break a
lot of features, but on the other hand, the svn is "nightly release", right..

Original comment by lobais on 9 Oct 2006 at 8:41

GoogleCodeExporter commented 9 years ago
yes, I think you beter commit them and maybe make a branch now. Because your 
impact
will be big....

Original comment by thijsver...@gmail.com on 9 Oct 2006 at 9:48

GoogleCodeExporter commented 9 years ago
I close this bug, as revision 51 has changed a lot of stuff.

Original comment by lobais on 21 Oct 2006 at 8:06