-
-
Notifications
You must be signed in to change notification settings - Fork 589
UnboundLocalError: cannot access local variable 'game_id' causes install failure on classic GOG games #5420
Copy link
Copy link
Open
Labels
bug:unconfirmedSomeone works on identifying the issueSomeone works on identifying the issue
Description
Describe the bug
Installing certain classic GOG games fails with a gogdl crash. The download completes successfully (100%), but the install fails at the final step, with the game info folder being undefined in Heroic.
Add logs
gog.log
UnboundLocalError: cannot access local variable 'game_id' where it is not associated with a value
[PYI-34616:ERROR] Failed to execute script 'cli' due to unhandled exception!
heroic.log
game info folder is undefined in GOG install
Installation of 2125201406 failed!
Steps to reproduce
Attempting to install either game will result in a silent error; there is no visible error message, and it just fails.
Expected behavior
Silently download and install the games
Screenshots
No response
Heroic Version
Latest Stable
System Information
Affected games: STAR WARS™: X-Wing Alliance™, Star Trek™: Judgment Rites
Note: Judgment Rites downloaded to 100% successfully before failing, confirming the issue is in the post-download install step, not the download itself.
OS: Windows 11 24H2
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug:unconfirmedSomeone works on identifying the issueSomeone works on identifying the issue