Menu

#224 Export from si5 to pgn deletes the first game

v.5.0
closed
nobody
None
5
2024-02-06
2024-02-05
No

Hello,
if I want to export all games with scid from a si5 database to a new PGN database (Database - Copy all Games to - New), there is one game too few in the PGN database.
The si5 database contains 60 games, the PGN database contains only 59 games.
The first game of the si5 database is always missing!

Related

Bugs: #224

Discussion

  • Fulvio

    Fulvio - 2024-02-06

    This is not a forum or help desk.

    Its sole purpose is to assist in improving the software.
    For a bug report to be useful, it should include:
    - the context: what's the operating system, what version of the software you are using, etc.
    - a step-by-step procedure on how to reproduce the issue
    - a screenshot of the issue
    - any other data that may be useful for reproducing the error.

    There are many sources online with more in-depth analysis on how to report a bug, i.e.:
    - https://canonical.com/blog/the-keys-to-successful-bug-reporting
    - https://docs.fedoraproject.org/en-US/quick-docs/bugzilla-file-a-bug/
    - https://bigsea.co/ideas/how-to-submit-a-bug-ticket/
    - https://aqua-cloud.io/bug-reporting/

    It is also important to check if the bug has not already been filed or even already fixed in the latest source code (the latest version is always compiled automatically for various platforms on Azure: https://dev.azure.com/beninifulvio/beninifulvio/_build?definitionId=1&_a=summary).

    And if this seems like too much work for you, simply don't do it.

     
    • Frank Eschenauer

      Hello,
      Here are the requested data:
      Operating system: Kubuntu 23.10
      Scid version: 5.0.2 Flatpak Ubuntu
      Updates: board.tcl - #Arrows from Chessbase17
                       file.tcl      - #wrong game number Problem eliminated
      I have been regularly entering my OTB-games via Scid and importing the
      individual game pgn files into a si5 database (all-my-games.si5).
      I now have 60 chess games in the si5 database.
      But for an import to Lichess I need one pgn-database.
      Therefore I have created a pgn database with the name 
      "All-my-games.pgn" via the function menu "Database" - "Copy all
      games to
      " - "New", selection window set to pgn database (see
      screenshot) and exported all games (60 games) into the pgn database.

      So far so good.
      If I close both databases with 60 games each and then open only the pgn
      database "all-my-games.pgn" again,there are only 59 games left!
      The first (1st) game is not displayed and not counted. It is missing in
      the display! (See screenshot below)

      If I open the pgn database "all-my-games.pgn" with the text-editor
      "kate" then all 60 chess games are available. My first match is also
      in the first position

      I can repeat this process several times!
      Even after restarting Scid, only 59 games are displayed in the pgn
      database "all-my-games.pgn"! The first game is always missing!

      It is a bug in Scid!

      Yours sincerely
      Frank Eschenauer

      Am 06.02.24 um 13:58 schrieb Fulvio:

      This is not a forum or help desk.

      Its sole purpose is to assist in improving the software.
      For a bug report to be useful, it should include:
      - the context: what's the operating system, what version of the
      software you are using, etc.
      - a step-by-step procedure on how to reproduce the issue
      - a screenshot of the issue
      - any other data that may be useful for reproducing the error.

      There are many sources online with more in-depth analysis on how to
      report a bug, i.e.:
      - https://canonical.com/blog/the-keys-to-successful-bug-reporting
      - https://docs.fedoraproject.org/en-US/quick-docs/bugzilla-file-a-bug/
      - https://bigsea.co/ideas/how-to-submit-a-bug-ticket/
      - https://aqua-cloud.io/bug-reporting/

      It is also important to check if the bug has not already been filed or
      even already fixed in the latest source code (the latest version is
      always compiled automatically for various platforms on Azure:
      https://dev.azure.com/beninifulvio/beninifulvio/_build?definitionId=1&_a=summary
      https://dev.azure.com/beninifulvio/beninifulvio/_build?definitionId=1&_a=summary).

      And if this seems like too much work for you, simply don't do it.


      [bugs:#224] https://sourceforge.net/p/scid/bugs/224/ Export from
      si5 to pgn deletes the first game

      Status: open
      Group: v.5.0
      Created: Mon Feb 05, 2024 08:01 PM UTC by Frank Eschenauer
      Last Updated: Mon Feb 05, 2024 08:01 PM UTC
      Owner: nobody

      Hello,
      if I want to export all games with scid from a si5 database to a new
      PGN database (Database - Copy all Games to - New), there is one game
      too few in the PGN database.
      The si5 database contains 60 games, the PGN database contains only 59
      games.
      The first game of the si5 database is always missing!


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

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

       

      Related

      Bugs: #224

  • Fulvio

    Fulvio - 2024-02-06
    • status: open --> closed
     
    • Frank Eschenauer

      Hello, the bugs:#224 should be changed from closed --> open
      and should have the Title: "Scid didn't show the first game in
      pgn-Database after exporting all games from si5 to pgn Database"
      .

      Here the context, step-by-step procedure and screenshots

      Hello,
      Here are the requested data:
      Operating system: Kubuntu 23.10
      Scid version: 5.0.2 Flatpak Ubuntu
      Updates: board.tcl - #Arrows from Chessbase17
                       file.tcl      - #wrong game number Problem eliminated
      I have been regularly entering my OTB-games via Scid and importing the
      individual game pgn files into a si5 database (all-my-games.si5).
      I now have 60 chess games in the si5 database.
      But for an import to Lichess I need one pgn-database.
      Therefore I have created a pgn database with the name 
      "All-my-games.pgn" via the function menu: "Database" - "Copy all
      games to
      " - "New", selection window set to pgn database (see
      screenshot) and exported all games (60 games) into the pgn database.

      Thats the following screen (Yes, scid is counting 60 matches in the pgn
      file)

      So far so good.
      If I close both databases with 60 games each and then open only the pgn
      database "all-my-games.pgn" again,there are only 59 games left!
      The first (1st) game is not displayed and not counted. It is missing in
      the display! (See screenshot below)

      If I open the pgn database "all-my-games.pgn" with the text-editor
      "kate" then all 60 chess games are available. My first match is also
      in the first position

      I can repeat this process several times!
      Even after restarting Scid, only 59 games are displayed in the pgn
      database "all-my-games.pgn"! The first game is always missing!

      It is a bug in Scid!

      Yours sincerely
      Frank Eschenauer

      *

      *
      Am 06.02.24 um 13:58 schrieb Fulvio:

      • status: open --> closed

      [bugs:#224] https://sourceforge.net/p/scid/bugs/224/ Export from
      si5 to pgn deletes the first game

      Status: closed
      Group: v.5.0
      Created: Mon Feb 05, 2024 08:01 PM UTC by Frank Eschenauer
      Last Updated: Tue Feb 06, 2024 12:58 PM UTC
      Owner: nobody

      Hello,
      if I want to export all games with scid from a si5 database to a new
      PGN database (Database - Copy all Games to - New), there is one game
      too few in the PGN database.
      The si5 database contains 60 games, the PGN database contains only 59
      games.
      The first game of the si5 database is always missing!


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

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

       

      Related

      Bugs: #224

  • Frank Eschenauer

    Hello,
    Here are the requested data:
    Operating system: Kubuntu 23.10
    Scid version: 5.0.2 Flatpak Ubuntu
    Updates: board.tcl - #Arrows from Chessbase17
    file.tcl - #wrong game number Problem eliminated
    I have been regularly entering my OTB-games via Scid and importing the individual game pgn files into a si5 database (all-my-games.si5).
    I now have 60 chess games in the si5 database.
    But for an import to Lichess I need one pgn-database.
    Therefore I have created a pgn database with the name "All-my-games.pgn" via the function menu "Database" - "Copy all games to" - "New", selection window set to pgn database (see screenshot) and exported all games (60 games) into the pgn database.
    Screenshot: 47ZgZMY7G840VX1g.png and 0MYmNf4wtpbvMMKe.png
    So far so good.
    If I close both databases with 60 games each and then open only the pgn database "all-my-games.pgn" again, there are only 59 games left!
    The first (1st) game is not displayed and not counted. It is missing in the display! (See screenshot below)
    Screenshot: NFm0e09CbJz029x4.png
    If I open the pgn database "all-my-games.pgn" with the text-editor "kate" then all 60 chess games are available. My first match is also in the first position
    Screenshot: 50ACdihNn1jFcnfH.png
    I can repeat this process several times!
    Even after restarting Scid, only 59 games are displayed in the pgn database "all-my-games.pgn"! The first game is always missing!

    It is a bug in Scid!

    Yours sincerely
    Frank Eschenauer

     
  • Fulvio

    Fulvio - 2024-02-06

    attach the pgn file

     
  • Frank Eschenauer

    Here is the original pgn database (all-my-games.pgn) after export from the si5 database without any extension, addition, deletion or saving actions. This is the original pgn database that Scid created from the si5 database.
    Reminder:
    The pgn database contains 60 chess games!
    When the pgn database is created by Scid, Scid also displays all 60 chess games and counts them correctly. see screenshot in the previous posts
    Only when you open the pgn database again and again with Scid, the first chess game is not displayed by Scid. Only 59 chess games are displayed and the missing, not displayed 1st chess game, cannot be found via player search or chess game search in Scid.
    Frank Eschenauer

     

    Last edit: Frank Eschenauer 2024-02-06
    • Fulvio

      Fulvio - 2024-02-06

      When "Game -> Save: Replace Game" is used in a PGN database, it is necessary to compact the database before using it with other programs.

      https://github.com/benini/scid/wiki/Database-types
      "reliability: rewriting many games is not only slow, but it also may lose all those games if a fault happens. To prevent that, a new version is instead appended to the end of the file, and all the other games, including the previous version, are left untouched. It's all transparent to the user, who only sees the latest version of a game. It is possible to compact the database to recover space or before using it with other programs."

      In the attached file there is:

      [Event "30. DWZ Cup - Gruppe 13"]
      [Site "Itzehoe"]
      [Date "2023.11.04"]
      [Round "3"]
      [White "Eichmann, Andreas"]
      [Black "Eschenauer, Frank"]
      [Result "1-0"]
      [WhiteDWZ "900"]
      [BlackRapid "848"]
      [ECO "A00r"]
      [EventDate "2023.11.04"]
      [FlipB "1"]
      [__replace_game__ "0"]
      

      [__replace_game__ "0"] means that it is not a new game, but a replacement for game 0.

       
  • Frank Eschenauer

    It's also a Scid problem because Scid is the only program to insert this tag [replace_game "0"] or [replace_game "1"] or [replace_game "2"] into a pgn database when you make changes to a game to save it in the same game (replace game).

    Therefore, the display and compression problems is a homegrown problem of Scid.

     

Log in to post a comment.

MongoDB Logo MongoDB