Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: CM8000 Demo of import pgn error to obk

Author: John Merlino

Date: 19:49:49 12/07/00

Go up one level in this thread


On December 07, 2000 at 22:14:27, Brian Kostick wrote:

>John M. I hope you have stopped to read.
>
>Before we get to the point...
>Someone asked:
><<I have been trying to create an opening book by importing a pgn file. Every
>attempt has resulted in this message - "import error: an error occurred
>importing the pgn file". Has anyone else tried to import pgn files into an
>opening book in CM8000? Does the pgn file have to be free of commentary and/or
>variations?>>
>
>I get something similar if I start a new book and THEN try to import a pgn. The
>trick for me is to import a pgn with out starting a new book (it will be done
>automatically).  Alternately, Start your new book but don't leave it empty.
>Enter e4 by moving that pawn on the chessboard. Then cursor back to root and
>import your pgn.
>
>Quoting John:
><<-- Added an "Import PGN Settings" dialog that allows you to set the criteria
>by which games in a PGN file are imported into an opening book.>>
>
>This is very nice to have. I'm not sure it's the problem, perhaps a part of the
>problem.
>
>Here are my discoveries, There may be other problems, I have no way of knowing.
>I have tried to reduce these two pgn to demonstrate without clutter.
>
>[ Site " " ]
>d4 e6 g3 f5 Bg2 Nf6 Nf3 Be7 cc4 d5 o-o o-o Nbd2 c6 Ne5 Nbd7
>Nd3 Ne4 Qc2 Bf6 Nf3 Kh8 b3 Qe8 Ba3 Rg8 Rac1 a5 Bb2 Qh5 a4 Rd8
>Ba3 Rg8 Rb1 Ng5 Rfe1 Qf7 Ng5 Bg5 {#} *
>
>// Notice above the move  cc4   I don't know if this is valid pgn or not. It
>will fail the import of the pgn into a Chessmater opening book.
>
>[ Site " " ]
>d4 d5 nf3 nf6 bg5 e6 e3 c5 nbd2 be7 c3 nbd7 bd3 b6 o-o bb7
>qe2 o-o ne5 ne5 de5 ne4 be7 qe7 be4 de4 qg4 qc7 qf4 qc6 rfd1 rad8
>h4 c4 h5 h6 nf1 {#} *
>
>// Above, notice the LowerCase piece notation. i.e. q and not Q, ect...  This
>will fail to import into a CM8000 opening book.
>
>Hope that helps,
>          Brian Kostick
>          Br5an@aol.com

I am here!

In the first example, I have to assume that "cc4" should really be "c4", like
all other pawn moves in the game (which are correct). "cc4" is not valid
algebraic notation, and should produce an error.

The second one (case sensitivity) is easy to fix, and I'm sure the development
team can put that in for the patch.

jm



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.