Scid error on CCRL pgn file imports
Moderators: hgm, Rebel, chrisw
-
- Posts: 89
- Joined: Thu Apr 01, 2010 5:28 am
- Location: Omaha, NE
Scid error on CCRL pgn file imports
I've been getting an error saving to database when I try to import a CCRL sourced pgn. The error occurs at about 260,000 games and states exactly: "Error saving game in database." Also, after the error the index is corrupt. I've had no problems importing similarly sized pgn files from CEGT and have ensured that the problem files from CCRL are not corrupt and function well in other readers. I'm baffled. Any ideas? Has anyone else had this issue?
-
- Posts: 3226
- Joined: Wed May 06, 2009 10:31 pm
- Location: Fuquay-Varina, North Carolina
Re: Scid error on CCRL pgn file imports
Actually, the problem occurs at the 262,144th game, which is 2^18 (as Kirill pointed out to me once).FlavusSnow wrote:I've been getting an error saving to database when I try to import a CCRL sourced pgn. The error occurs at about 260,000 games and states exactly: "Error saving game in database." Also, after the error the index is corrupt. I've had no problems importing similarly sized pgn files from CEGT and have ensured that the problem files from CCRL are not corrupt and function well in other readers. I'm baffled. Any ideas? Has anyone else had this issue?
-
- Posts: 89
- Joined: Thu Apr 01, 2010 5:28 am
- Location: Omaha, NE
Re: Scid error on CCRL pgn file imports
Why would I not then also get that error when importing a 900,000+ game pgn file sourced from CEGT? It seems to me that if it were an issue with the size of a variable at 2^18 then it would be repeatable regardless of pgn source so long as it surpassed the limit. Its odd that it only happens with CCRL files.
-
- Posts: 3226
- Joined: Wed May 06, 2009 10:31 pm
- Location: Fuquay-Varina, North Carolina
Re: Scid error on CCRL pgn file imports
I have also never had a problem with CEGT pgns. Only CCRL pgns. And I can not determine why.FlavusSnow wrote:Why would I not then also get that error when importing a 900,000+ game pgn file sourced from CEGT? It seems to me that if it were an issue with the size of a variable at 2^18 then it would be repeatable regardless of pgn source so long as it surpassed the limit. Its odd that it only happens with CCRL files.
-
- Posts: 608
- Joined: Wed Oct 13, 2010 9:44 am
- Location: Australia
Re: Scid error on CCRL pgn file imports
Does the problem occur with Scid vs. PC-4.6 ? I've made a few fixes to the parser. How does it go ?
-
- Posts: 608
- Joined: Wed Oct 13, 2010 9:44 am
- Location: Australia
Re: Scid error on CCRL pgn file imports
Actually you'll have to use the latest snapshot
http://sourceforge.net/projects/scidvsp ... p/download
Overwrite scid.gui and scid.exe in scidvspc-4.6 with the files from this snapshot.
Or under linux, check out subversion with
svn co https://scidvspc.svn.sourceforge.net/svnroot/scidvspc
http://sourceforge.net/projects/scidvsp ... p/download
Overwrite scid.gui and scid.exe in scidvspc-4.6 with the files from this snapshot.
Or under linux, check out subversion with
svn co https://scidvspc.svn.sourceforge.net/svnroot/scidvspc
-
- Posts: 3226
- Joined: Wed May 06, 2009 10:31 pm
- Location: Fuquay-Varina, North Carolina
Re: Scid error on CCRL pgn file imports
I tried Scid vs PC 4.6 earlier today and it still occurred. I have tried several modifications to the pgn but the error still occurs at the 262,144th game.stevenaaus wrote:Does the problem occur with Scid vs. PC-4.6 ? I've made a few fixes to the parser. How does it go ?
EDIT: I have not tried the latest snapshot. Will do so now.
-
- Posts: 3226
- Joined: Wed May 06, 2009 10:31 pm
- Location: Fuquay-Varina, North Carolina
Re: Scid error on CCRL pgn file imports
The error still occurs.
-
- Posts: 608
- Joined: Wed Oct 13, 2010 9:44 am
- Location: Australia
Re: Scid error on CCRL pgn file imports
If you can find the offending game PGN, please post it or email me.
Cheers
Cheers
-
- Posts: 608
- Joined: Wed Oct 13, 2010 9:44 am
- Location: Australia
Re: Scid error on CCRL pgn file imports
Yes - this is interesting. Where is the download link ?Adam Hair wrote:Actually, the problem occurs at the 262,144th game, which is 2^18 (as Kirill pointed out to me once).
The fact that Scid can import more games than this means perhaps that the CCRL program may have something funny at this number.
Have you tried the pgnscid command line tool. It comes with scid and creates an si4 from the command line. It's more reliable for some reason.