Menu ▾ ▴

#288 Export pgn column style does not follow pgn spec

v.5.2
open
nobody
None
5
3 days ago
4 days ago
No

Since forever, the process of exporting to pgn has been "broken" in one specification: that is, when the selection is "column style",

Reproduce: for Scid 520 with an active db: Database/Export all filter games/Export to pgn. Set "Column style ..." on, (I also have export comments, indent comments, export variations, and indent variations on, if this alters the code path) exectute the export. In a text editor of the resulting pgn, you will see two blank lines between tags and movetext. This is contrary to the pgn standard, where one and only one blank line is specified.

I hadn't noticed this until I got into python-chess, and python will treat any pgn file so formatted as empty. Chessbase does the same. Scid reads the pgn back happy as a clam.

I say "since forever" since I just started a ticket with scidvspc and they reported fixing it in the next subversion.

Thanks/Lon

1 Attachments

Related

Bugs: #288

Discussion

  • Fulvio

    Fulvio - 4 days ago

    Thank you for the report.

    However, I'd like to point out that this particular export function is not actually intended to produce PGN-compliant files. Its purpose is to export games into text, HTML, or LaTeX formats. Therefore, you may encounter other issues if you expect the resulting files to strictly follow the PGN specification.

    To obtain properly PGN-compliant files, you can use one of the following methods:

    Copy the games into a PGN database.
    Use Database → Copy all games to → New.
    Click the orange icon in the game list, which is a shortcut that already has the .pgn file extension selected.
    

    These methods are the recommended ways to generate PGN files that can be correctly read by external chess software and libraries.

     

    Last edit: Fulvio 4 days ago
    • Lon C. Thomas, Jr.

      You can close the ticket. You people are not serious software developers. I
      won't be using the application or reporting bugs anymore.

      /Lon

      On Tue, Dec 1, 2026 at 3:22 PM Fulvio fulvioscid@users.sourceforge.net
      wrote:

      Thank you for the report.

      However, I'd like to point out that this particular export function is not
      actually intended to produce PGN-compliant files. Its purpose is to export
      games into text, HTML, or LaTeX formats. Therefore, you may encounter other
      issues if you expect the resulting files to strictly follow the PGN
      specification.

      To obtain properly fPGN-compliant files, you can use one of the following
      methods:

      Copy the games into a PGN database.
      Use Database → Copy all games to → New.
      Click the orange icon in the game list, which is a shortcut that already has the .pgn file extension selected.

      These methods are the recommended ways to generate PGN files that can be
      correctly read by external chess software and libraries.


      [bugs:#288] https://sourceforge.net/p/scid/bugs/288/ Export pgn column
      style does not follow pgn spec

      Status: open
      Group: v.5.2
      Created: Tue Dec 01, 2026 04:59 PM UTC by Lon C. Thomas, Jr.
      Last Updated: Tue Dec 01, 2026 04:59 PM UTC
      Owner: nobody
      Attachments:

      Since forever, the process of exporting to pgn has been "broken" in one
      specification: that is, when the selection is "column style",

      Reproduce: for Scid 520 with an active db: Database/Export all filter
      games/Export to pgn. Set "Column style ..." on, (I also have export
      comments, indent comments, export variations, and indent variations on, if
      this alters the code path) exectute the export. In a text editor of the
      resulting pgn, you will see two blank lines between tags and movetext. This
      is contrary to the pgn standard, where one and only one blank line is
      specified.

      I hadn't noticed this until I got into python-chess, and python will treat
      any pgn file so formatted as empty. Chessbase does the same. Scid reads the
      pgn back happy as a clam.

      I say "since forever" since I just started a ticket with scidvspc and they
      reported fixing it in the next subversion.

      Thanks/Lon

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/scid/bugs/288/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #288

  • Fulvio

    Fulvio - 3 days ago

    I admit I had ChatGPT generate the response rather quickly, but I don't understand what triggered your anger. You wanted some PGN files to use with python-chess, and you were politely provided with information on how to obtain them.

     
    • Lon C. Thomas, Jr.

      In a very slight mitigation, I find that I engaged my lizard brain in my
      reply. It was over the top, and I'm sorry.

      The tone of the your gpt reply hit me as familiar and infuriating: that the
      customer was wrong to complain about the situation. I ran several help
      desks in my time and that was something we made a special point to avoid.

      /Lon

      On Wed, Dec 2, 2026 at 2:39 AM Fulvio fulvioscid@users.sourceforge.net
      wrote:

      I admit I had ChatGPT generate the response rather quickly, but I don't
      understand what triggered your anger. You wanted some PGN files to use with
      python-chess, and you were politely provided with information on how to
      obtain them.


      [bugs:#288] https://sourceforge.net/p/scid/bugs/288/ Export pgn column
      style does not follow pgn spec

      Status: open
      Group: v.5.2
      Created: Tue Dec 01, 2026 04:59 PM UTC by Lon C. Thomas, Jr.
      Last Updated: Tue Dec 01, 2026 08:22 PM UTC
      Owner: nobody
      Attachments:

      Since forever, the process of exporting to pgn has been "broken" in one
      specification: that is, when the selection is "column style",

      Reproduce: for Scid 520 with an active db: Database/Export all filter
      games/Export to pgn. Set "Column style ..." on, (I also have export
      comments, indent comments, export variations, and indent variations on, if
      this alters the code path) exectute the export. In a text editor of the
      resulting pgn, you will see two blank lines between tags and movetext. This
      is contrary to the pgn standard, where one and only one blank line is
      specified.

      I hadn't noticed this until I got into python-chess, and python will treat
      any pgn file so formatted as empty. Chessbase does the same. Scid reads the
      pgn back happy as a clam.

      I say "since forever" since I just started a ticket with scidvspc and they
      reported fixing it in the next subversion.

      Thanks/Lon

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/scid/bugs/288/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #288


Log in to post a comment.