Open kekonn opened 6 months ago
I've just had this happen on my end as well. The key is that "ERROR: Downloading file failed" just before. This indicates that the server returned an error: at https://github.com/Heroic-Games-Launcher/heroic-gogdl/blob/610b0e5360d0e8db8740fb3af1c4b9277eae6218/gogdl/saves.py#L279 this checks response.ok
which checks that the remote server indicated some error. Notably, in the handling of this error, the function does not return, it just logs it and carries on as if there was no error. In my case, I was seeing the remote server randomly return HTTP error 503, and on that error, no content-length is returned, and the attempt to determine how large the file is causes the crash. I guess it's good that it crashed because if it had attempted to save that server error to your local save folder, the mess would be worse because there would be some good local files, some corrupted local files, and no good way of figuring out which is which.
Describe the bug
When downloading my saves from Cyberpunk 2077, I get the following error:
Add logs
Steps to reproduce
Expected behavior
Save games are downloaded
Screenshots
No response
Heroic Version
Latest Stable
System Information
System: Host: tuxgamer Kernel: 6.8.8-1-cachyos-bore arch: x86_64 bits: 64 Desktop: KDE Plasma v: 6.0.4 Distro: CachyOS
Additional information
I wasn't sure to post this under heroic or gogdl. I'm guessing this is not reproducible without my specific set of save games. Is there another way to access them?