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

SyntaxError: EOL while scanning string literal #70

Open
CalAlaera opened this issue Mar 16, 2023 · 0 comments
Open

SyntaxError: EOL while scanning string literal #70

CalAlaera opened this issue Mar 16, 2023 · 0 comments

Comments

@CalAlaera
Copy link

It appears that GOG is returning a multi-line string as part of a changelog, which is causing problems for the script. This occurs using both python2 and python3. The full output of both commands is identical but included below for completeness, in the hope it will be useful. Thanks. :)

$ python2 --version
Python 2.7.16

$ python2 ./gogrepo.py update
05:59:48 | loading local manifest...
05:59:48 | fatal...
Traceback (most recent call last):
  File "./gogrepo.py", line 1170, in <module>
    main(process_argv(sys.argv))
  File "./gogrepo.py", line 1145, in main
    cmd_update(args.os, args.lang, args.skipknown, args.updateonly, args.id)
  File "./gogrepo.py", line 607, in cmd_update
    gamesdb = load_manifest()
  File "./gogrepo.py", line 259, in load_manifest
    return eval(ad)
  File "<string>", line 63508
    '<li>Fixed: an issue with the Force of Nature Cornerstone not taking existing woodcutters into ac
                                                                                                    ^
SyntaxError: EOL while scanning string literal

$ python3 --version
Python 3.7.3

$ python3 ./gogrepo.py update
06:02:55 | loading local manifest...
06:02:55 | fatal...
Traceback (most recent call last):
  File "./gogrepo.py", line 1170, in <module>
    main(process_argv(sys.argv))
  File "./gogrepo.py", line 1145, in main
    cmd_update(args.os, args.lang, args.skipknown, args.updateonly, args.id)
  File "./gogrepo.py", line 607, in cmd_update
    gamesdb = load_manifest()
  File "./gogrepo.py", line 259, in load_manifest
    return eval(ad)
  File "<string>", line 63508
    '<li>Fixed: an issue with the Force of Nature Cornerstone not taking existing woodcutters into ac
                                                                                                    ^
SyntaxError: EOL while scanning string literal

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