Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError #109

Closed
pychess opened this issue Feb 3, 2015 · 2 comments
Closed

TypeError #109

pychess opened this issue Feb 3, 2015 · 2 comments
Labels

Comments

@pychess
Copy link
Collaborator

@pychess pychess commented Feb 3, 2015

Original issue 109 reported by berado88 2006-12-21

What steps will reproduce the problem?

  1. Load->Load Game-> select the attached teszt.pgn ->Open
  2. Set Human vs PyChess without timecontol
  3. On Initial Position take 2 move back
  4. Push Start Game button
  5. In Log Viewer you get this:

Unhandled exception in thread started by <function go at 0xb6c3e3e4>
Traceback (most recent call last):
File "/home/tamas/svn/pychess/lib/pychess/Players/PyChess.py", line 215,
in go
if len(history) < 14:
TypeError: len() of unsized object


[Event "Helyi esemeny"]
[Site "Helyben"]
[Date "2006.12.21"]
[Round "1"]
[White "White Player"]
[Black "Black Player"]
[Result "1-0"]

  1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Bd3 Nbd7 7. O-O Ne5
  2. f4
    Nxd3 9. cxd3 Bd7 10. f5 Qc8 11. Bf4 Qd8 12. g4 Qc8 13. Rc1 Qd8 14. g5 Qb6
  3. Be3
    Ng8 16. Qd2 Qd8 17. Nd5 Qb8 18. Nc7+ Kd8 19. Nxa8 Qxa8 20. Qa5+ Ke8 21. Rc7
    Qd8

22. Rfc1 Qb8 23. Ne6 fxe6 24. Rxd7 Kxd7 25. fxe6+ Ke8 26. Qf5 Qd8 27. Qf7+ 1-0

@pychess pychess added the bug label Feb 3, 2015
@pychess
Copy link
Collaborator Author

@pychess pychess commented Feb 3, 2015

Original comment 1. posted by berado88 2006-12-21

Got "Server error" on sending issue #108, so sended it again without attachment.
Please close this one.

Loading

@pychess
Copy link
Collaborator Author

@pychess pychess commented Feb 3, 2015

Original comment 2. posted by lobais 2006-12-21

  • changed status to: Duplicate

Loading

@pychess pychess closed this Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
0 participants