Annotating a game using a database of annotated pgn games

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Dann Corbit, Harvey Williamson

glav
Posts: 38
Joined: Sun Apr 07, 2019 1:10 am
Full name: Giovanni Lavorgna

Re: Annotating a game using a database of annotated pgn games

Post by glav »

Hi Ferdy. Sorry to bother you again, but I was trying this excellent script of your on my new computer and apparently there are problems. I was wondering if you could please give a look.
Thanks in advance.
#################################


python addcomment.py --refpgnfile "ref.pgn" --inputfile "raw.pgn" --outputfile "comment.pgn"
Version 2

Annotating game 1...
Traceback (most recent call last):
File "addcomment.py", line 329, in <module>
main(sys.argv[1:])
File "addcomment.py", line 280, in main
zhash = game_node.board().zobrist_hash()
AttributeError: 'Board' object has no attribute 'zobrist_hash'