-
-
Notifications
You must be signed in to change notification settings - Fork 535
Description
Describe the bug
This started happening immediately after I claimed Fort Solis off Amazon Lua
So far I've tried clearing the cache, logging out of each account and then logging in one by one.
All games are visible until I login to GOG in which case it will start loading indefinitely and games from all other store fronts disappear.
Update
I've just used snapper to undo all changes in my home directory for the last 2 hours.
Games are now showing up again with the exception of Fort Solis.
If I clear the cache I run into the same issue I observed earlier where it will refresh indefinitely.
This is why I had tried logging out then back in earlier.
Update 2
I've just run
mv .config/heroic/gogdlConfig/ .config/heroic/gogdlConfig_bak
and
mv .config/heroic/gog_store/ .config/heroic/gog_store_bak_2
Then I selected login as different account for GOG and this allowed the refresh to complete successfully.
However, this pretty much cleared my game installation data since all GOG games are now grayed out.
I'm now starting to suspect that the root cause of this issue is the fact that I had changed my GOG username just a few days prior.
Update 3
I was able to restore game data by copying .config/heroic/gog_store_bak_2/installed.json into the newly created directory.
Update 4
Library refresh now seems to take a very long time to finish.
I've also started noticing the follow error repeated in GOG logs:
Traceback (most recent call last):
File "gogdl/cli.py", line 67, in <module>
File "gogdl/cli.py", line 62, in main
File "gogdl/imports.py", line 83, in get_info
UnboundLocalError: local variable 'game_id' referenced before assignment
[PYI-636561:ERROR] Failed to execute script 'cli' due to unhandled exception!
(23:22:57) [INFO]: Getting data of 1207661763: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json import "/mnt/hdd/Program Files (x86)/GalaxyClient/Games/HC3 - Masters of the Elements"
Traceback (most recent call last):
File "gogdl/cli.py", line 67, in <module>
File "gogdl/cli.py", line 62, in main
File "gogdl/imports.py", line 83, in get_info
UnboundLocalError: local variable 'game_id' referenced before assignment
[PYI-636569:ERROR] Failed to execute script 'cli' due to unhandled exception!
(23:22:57) [INFO]: Getting data of 1207661773: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json import "/mnt/hdd/Program Files (x86)/GalaxyClient/Games/HC4 - Clash of the Dragons"
Traceback (most recent call last):
File "gogdl/cli.py", line 67, in <module>
File "gogdl/cli.py", line 62, in main
File "gogdl/imports.py", line 83, in get_info
UnboundLocalError: local variable 'game_id' referenced before assignment
[PYI-636577:ERROR] Failed to execute script 'cli' due to unhandled exception!
(23:22:58) [INFO]: Getting data of 1207661783: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json import "/mnt/hdd/Program Files (x86)/GalaxyClient/Games/HC5 - The World Tree"
Traceback (most recent call last):
File "gogdl/cli.py", line 67, in <module>
File "gogdl/cli.py", line 62, in main
File "gogdl/imports.py", line 83, in get_info
UnboundLocalError: local variable 'game_id' referenced before assignment
[PYI-636580:ERROR] Failed to execute script 'cli' due to unhandled exception!
(23:22:58) [INFO]: Getting data of 1207661793: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json import "/mnt/hdd/Program Files (x86)/GalaxyClient/Games/HC6 - The Fiery Moon"
Traceback (most recent call last):
File "gogdl/cli.py", line 67, in <module>
File "gogdl/cli.py", line 62, in main
File "gogdl/imports.py", line 83, in get_info
UnboundLocalError: local variable 'game_id' referenced before assignment
[PYI-636587:ERROR] Failed to execute script 'cli' due to unhandled exception!
(23:22:58) [INFO]: Getting data of 1207661803: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json import "/mnt/hdd/Program Files (x86)/GalaxyClient/Games/HC7 - Revolt of the Beastmasters"
Add logs
Gog Logs:
(15:57:21) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
(15:57:21) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
(15:57:21) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
(15:57:21) [INFO]: Getting data of 1207658785: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json import "/mnt/hdd/Program Files (x86)/GalaxyClient/Games/HoMM 2 Gold"
(15:57:21) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
{"appName": "1207658785", "buildId": "58815520743886105", "title": "Heroes of Might and Magic 2 Gold", "tasks": [{"languages": ["*"], "name": "Heroes of Might and Magic 2 Gold", "type": "FileTask", "isPrimary": true, "path": "Heroes2w.exe", "category": "game", "compatibilityFlags": "RUNASADMIN DWM8And16BitMitigation", "url": ""}, {"languages": ["*"], "name": "Manual", "type": "FileTask", "path": "manual.pdf", "category": "document", "url": ""}, {"languages": ["*"], "name": "Support", "type": "URLTask", "path": "", "category": "document", "url": "http://www.gog.com/support/heroes_of_might_and_magic_2_gold_edition"}], "installedLanguage": "en-US", "dlcs": [], "platform": "windows", "versionName": "1.01 (2.1)"}
(15:57:21) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
(15:57:22) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json --version
1.1.2
(15:57:27) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
(15:57:58) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
(15:57:58) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
(16:00:27) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json --version
1.1.2
(16:01:12) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
(16:01:12) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763498409.124221}
(16:04:16) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth --code <redacted>
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763499856.9505737}
(16:04:16) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763499856.9505737}
(16:04:17) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763499856.9505737}
(16:04:17) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763499856.9505737}
(16:05:22) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json --version
1.1.2
(16:07:21) [INFO]: Running command: GOGDL_CONFIG_PATH=/home/john/.config/heroic/gogdlConfig /opt/Heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl --auth-config-path /home/john/.config/heroic/gog_store/auth.json auth
{"access_token":"<redacted>","expires_in":3600,"token_type":"bearer","scope":"","session_id":"<redacted>","refresh_token":"<redacted>","user_id":"<redacted>","loginTime":1763499856.9505737}
Steps to reproduce
1. Visit Amazon Prime Store
2. Claim Fort Solis - Amazon Luna
3. Refresh Game Library
4. Refresh Cache
5. Try again
6. Repeat
- Change GOG account name
- Claim free game off Amazon Prime
- Refresh Game Cache
- The cache fails to refresh indefinitely
Expected behavior
Fort Solis should be appended to the list of available GOG games.
Screenshots
No response
Heroic Version
Latest Stable
System Information
Additional information
No response
