Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential bug in PGN parser? #117

Open
reinermartin opened this issue Jun 29, 2022 · 0 comments
Open

Potential bug in PGN parser? #117

reinermartin opened this issue Jun 29, 2022 · 0 comments

Comments

@reinermartin
Copy link

reinermartin commented Jun 29, 2022

Hi, I have recently discovered listudy; this is exactly what I was looking for for a while. Many thanks for developing such a great tool!

One issue I found: If I upload a PGN files with the following content

  1. d4 d5 ({(A)} 1... Nf6) *

I get an error message from listudy.com:

"SyntaxError at line: 2, character: 12; Unexpected: "{"

In general, listudy doesn't seem to like comments before moves which start new variations. I don't know whether such comments are allowed according to the formal specification of PGN files (is there such a thing?), but ChessBase certainly generates such files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant