Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#156 errors reading multi line pgn formats

closed-fixed
Jens Nissen
Database (53)
5
2012-06-05
2011-08-22
xaosIncorporeal
No

pgn is more human readable at 1 move per line.
chessx will only read the first few moves or none at all. (scid can read)

My workaround:
A white space converter. simple enough to script or program.
Eventually i hope to see chessx pgn parser grow to a hardy maturity.

Discussion

  • 2 pgn files that fail in chessX

     
    Attachments
  • Jens Nissen
    Jens Nissen
    2012-05-19

    • labels: --> Database
    • assigned_to: nobody --> hognose
     
  • Jens Nissen
    Jens Nissen
    2012-05-19

    Two different issues need to be addressed here:
    - Accept o-o as castling (we already accept O-O and 0-0).
    - Accept silly comments (here {?h?}

     
  • Jens Nissen
    Jens Nissen
    2012-06-05

    Actually, the files attached test into two more issues:
    - PGN files where the move count has no dot
    - PGN files with trailing blanks

     
  • Jens Nissen
    Jens Nissen
    2012-06-05

    The bug has been fixed in SVN.

     
  • Jens Nissen
    Jens Nissen
    2012-06-05

    • status: open --> closed-fixed