Re: issue saving a game
Antonio Ceballos <[email protected]> Thu, 8 Oct 2020 09:01:47 +0200
| Newsgroups | gmane.comp.gnu.chess.bugs |
|---|---|
| Message-ID | <CAO7R9g-51PpkGKnppkj3rPx93LtBDR4eCYsqD09+BLa5J_d7Kg@mail.gmail.com> |
--00000000000081c1b705b1236895 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks for your answer. We will try to track it down. Antonio On Wed, Oct 7, 2020 at 5:52 PM victorhck <[email protected]> wrote: > El 7/10/20 a las 0:27, Antonio Ceballos escribi=C3=B3: > > Hello, > > > > I have been unable to reproduce the problem on version 6.2.7. > > > > I don't understand where the two-line date heading of your ARCHIVO > > comes from, as pgnsave does not write anything before [Event ""]. Do > > you have any clue? By the way, had you invoked pgnload beforehands? > > > > As Simon said, PGNSaveToFile is suspicious of doing something wrong. > > I am changing a little bit the way the y/n user input is processed in > case > > a > > file overwrite is detected, but this is unlikely to be related to your > > problem. > > Anyway, did it occur in such a situation, or the file just didn't exist > > prior to > > your call to pgnsave? > > > > Regards, > > Antonio > > > > sorry, that lines are not included in the file. I just copy/pasted the > command and the output the file begins in the [Event ""] line. > > I just started the game invoking gnuchess in the command line, did some > random moves. Run show game command and the moves are showed. Then run > pgnsave command and then I get that issue in the file, only saved the > last move, not the whole game... > > I saved the file in a complete new file. > > BTW running gnuchess 6.2.7 in openSUSE Tumbleweed GNU/Linux system > > kind regards. > > > -- > ------------------- > GPG Key: 0xcc742e8dc9b7e22a > Fingerprint =3D 6FE2 3B1F AAC8 E5B7 63EA 88A9 CC74 2E8D C9B7 E22A > > Aprende a proteger la privacidad de tu correo: > https://emailselfdefense.fsf.org/es/ > > Mi blog sobre openSUSE, GNU/Linux y software libre: > https://victorhckinthefreeworld.com/ > > Herramientas para proteger tu privacidad > https://victorhck.gitlab.io/privacytools-es/ > > > --00000000000081c1b705b1236895 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-size:small">Tha= nks for your answer. We will try to track it down.</div><div class=3D"gmail= _default" style=3D"font-size:small"><br></div><div class=3D"gmail_default" = style=3D"font-size:small">Antonio</div><div class=3D"gmail_default" style= =3D"font-size:small"><br></div></div><br><div class=3D"gmail_quote"><div di= r=3D"ltr" class=3D"gmail_attr">On Wed, Oct 7, 2020 at 5:52 PM victorhck <= ;<a href=3D"mailto:[email protected]">[email protected]</a>> wro= te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">El 7/10/20 a= las 0:27, Antonio Ceballos escribi=C3=B3:<br> > Hello,<br> > <br> > I have been unable to reproduce the problem on version 6.2.7.<br> > <br> > I don't understand where the two-line date heading of your ARCHIVO= <br> > comes from, as pgnsave does not write anything before [Event "&qu= ot;]. Do<br> > you have any clue? By the way, had you invoked pgnload beforehands?<br= > > <br> > As Simon said, PGNSaveToFile is suspicious of doing something wrong.<b= r> > I am changing a little bit the way the y/n user input is processed in = case<br> > a<br> > file overwrite is detected, but this is unlikely to be related to your= <br> > problem.<br> > Anyway, did it occur in such a situation, or the file just didn't = exist<br> > prior to<br> > your call to pgnsave?<br> > <br> > Regards,<br> > Antonio<br> > <br> <br> sorry, that lines are not included in the file. I just copy/pasted the<br> command and the output the file begins in the [Event ""] line.<br= > <br> I just started the game invoking gnuchess in the command line, did some<br> random moves. Run show game command and the moves are showed. Then run<br> pgnsave command and then I get that issue in the file, only saved the<br> last move, not the whole game...<br> <br> I saved the file in a complete new file.<br> <br> BTW running gnuchess 6.2.7 in openSUSE Tumbleweed GNU/Linux system<br> <br> kind regards.<br> <br> <br> -- <br> -------------------<br> GPG Key: 0xcc742e8dc9b7e22a<br> Fingerprint =3D 6FE2 3B1F AAC8 E5B7 63EA 88A9 CC74 2E8D C9B7 E22A<br> <br> Aprende a proteger la privacidad de tu correo:<br> <a href=3D"https://emailselfdefense.fsf.org/es/" rel=3D"noreferrer" target= =3D"_blank">https://emailselfdefense.fsf.org/es/</a><br> <br> Mi blog sobre openSUSE, GNU/Linux y software libre:<br> <a href=3D"https://victorhckinthefreeworld.com/" rel=3D"noreferrer" target= =3D"_blank">https://victorhckinthefreeworld.com/</a><br> <br> Herramientas para proteger tu privacidad<br> <a href=3D"https://victorhck.gitlab.io/privacytools-es/" rel=3D"noreferrer"= target=3D"_blank">https://victorhck.gitlab.io/privacytools-es/</a><br> <br> <br> </blockquote></div> --00000000000081c1b705b1236895--