AB1908 / GOG-Galaxy-Export-Script

Export your list of games from GOG Galaxy
MIT License
149 stars 27 forks source link

GOG Galaxy 2.0.44.218 broke exporting #52

Closed lemondjeff closed 2 years ago

lemondjeff commented 2 years ago

GOG Galaxy updated itself to version 2.0.44.218 today and appears to have removed the GameLinks table from the database schema. I see the following error when running the export script now:

Traceback (most recent call last):
  File "galaxy_library_export.py", line 605, in <module>
    extractData(args)
  File "galaxy_library_export.py", line 359, in extractData
    cursor.execute(unique_game_data)
sqlite3.OperationalError: no such table: GameLinks

I last ran the export script against a database created by GOG Galaxy 2.0.43.71 near the end of October 2021 and it was working with no problems. Unfortunately, since GOG Galaxy uses a stub installer which always installs the latest version, I don't see any way to downgrade it as a workaround.

TheMelmacian commented 2 years ago

@lemondjeff You can update your script manually (see changes), if you don't want to wait for the merge.

AB1908 commented 2 years ago

Ayy, sorry.

TheMelmacian commented 2 years ago

No problem ;)

lemondjeff commented 2 years ago

Thank you!