Closed 3vilg3nius closed 1 year ago
Can you attach the gogdl log output? I am having the same issue on Arch Linux. Here is the log of the error from my end:
[5/3/2023, 6:22:42 PM] /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/aashwin/.config/heroic/gog_store/auth.json info 1503950763 --token <redacted> --lang=en-US --os linux
[API] INFO: Getting info from products endpoint for id: 1503950763
[LINUX] INFO: Getting folder name from windows manifest
Traceback (most recent call last):
File "gogdl/cli.py", line 51, in <module>
File "gogdl/cli.py", line 47, in main
File "gogdl/dl/manager.py", line 36, in calculate_download_size
File "gogdl/dl/manager.py", line 98, in get_download_metadata
File "gogdl/dl/linux_native.py", line 39, in download
AttributeError: 'Namespace' object has no attribute 'path'
[34667] Failed to execute script 'cli' due to unhandled exception!
It seems the function called for "info" command is expecting a "path" argument?
sorry for the delayed response I have tried on my laptop as well with the same issue here is the gogdl log from my laptop
[LINUX] INFO: Checking available disk space
warning [/home/john/.var/app/com.heroicgameslauncher.hgl/cache/heroicGOGdl/dusk_1_8_1_linux_51317.s]: 855562 extra bytes at beginning or within zipfile
(attempting to process anyway)
[LINUX] INFO: Looks fine continuing
[LINUX] INFO: Unpacking game files
[LINUX] INFO: Unpacking installer using unzip
warning [/home/john/.var/app/com.heroicgameslauncher.hgl/cache/heroicGOGdl/dusk_1_8_1_linux_51317.s]: 855562 extra bytes at beginning or within zipfile
(attempting to process anyway)
[LINUX] INFO: Moving game files
Traceback (most recent call last):
File "urllib3/connectionpool.py", line 703, in urlopen
File "urllib3/connectionpool.py", line 449, in _make_request
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests/adapters.py", line 489, in send
File "urllib3/connectionpool.py", line 787, in urlopen
File "urllib3/util/retry.py", line 550, in increment
File "urllib3/packages/six.py", line 769, in reraise
File "urllib3/connectionpool.py", line 703, in urlopen
File "urllib3/connectionpool.py", line 449, in _make_request
File "
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "gogdl/cli.py", line 51, in
Same on my steamdeck as well.
This seems to confirm the error with "info" command. Not sure about the 104 error, though. It didn't happen with any of the games I tested. Can you confirm if it happens with other games, or over multiple install attempts? (There are some free games on GOG for Linux, that have a small download size that you can use to check).
Same problem here with Project Zomboid
hi I am getting the same error I tried to install Soma and I got the failure to install error I opened the folder where the game was to be installed too and it looked like the game was installed then I checked the size of the folder the size I got was 22.1 GB and the information for the game page had the installed size of 20.59 GiB
there may be two errors 1 Heroic fails to start the installer for the game 2 Heroic runs the installer but then Heroic fails to detect that the game has been installed
at this moment we can't predict the size of Linux native games, since they are in one zip archive. So currently displayed size is what windows manifest states. This however is unrelated to this issue @WolfMad
hi I have tested some more games Beneath a Steel Sky FTL: Advanced Edition Jill of the Jungle: The Complete Trilogy OpenTTD clicking install then I get the failure to install error then click clicking install -> import Game the game runs without a problem there is one game that did not work with Dragonsphere I think there is more than one problem
1) Heroic runs the installer but then Heroic fails to detect that the game has been installed Note the game's files are getting installed 2) how Heroic detects the game files are installed
Just had the same with Shovel Knight: King of Cards on my Steam Deck. The install "failed", but the game is there when I check the install folder. It launches fine as well and I could then import it in Heroic and add it to steam. So everything works, just Heroic thinks the install failed even though it worked.
By the same idea as @imLinguin mentioned, I have added a workaround to use windows manifest instead of linux, since GOG API could not return builds for Linux.
Same here, install fails for Encased: A Sci-Fi Post-Apocalyptic RPG and Edna & Harvey: The Breakout - Anniversary Edition, but importing the game into heroic works fine afterwards.
This is what gogdl logs for Encased:
[LINUX] INFO: Checking available disk space
warning [/home/deck/.var/app/com.heroicgameslauncher.hgl/cache/heroicGOGdl/encased_rpg_run_and_gun_kit_1_3_1517_1645_55620.s]: 931505 extra bytes at beginning or within zipfile
(attempting to process anyway)
[LINUX] INFO: Looks fine continuing
[LINUX] INFO: Unpacking game files
[LINUX] INFO: Unpacking installer using unzip
warning [/home/deck/.var/app/com.heroicgameslauncher.hgl/cache/heroicGOGdl/encased_rpg_run_and_gun_kit_1_3_1517_1645_55620.s]: 931505 extra bytes at beginning or within zipfile
(attempting to process anyway)
[LINUX] INFO: Moving game files
[LINUX] INFO: Cleaning up
[LINUX] INFO: Done
[5/11/2023, 11:15:14 AM] /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/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": 1683794766.8725433}
[5/11/2023, 11:15:14 AM] /app/bin/heroic/resources/app.asar.unpacked/build/bin/linux/gogdl --auth-config-path /home/deck/.var/app/com.heroicgameslauncher.hgl/config/heroic/gog_store/auth.json info 1988363275 --token <redacted> --lang=en-US --os linux
[API] INFO: Getting info from products endpoint for id: 1988363275
[LINUX] INFO: Getting folder name from windows manifest
Traceback (most recent call last):
File "gogdl/cli.py", line 51, in <module>
File "gogdl/cli.py", line 47, in main
File "gogdl/dl/manager.py", line 36, in calculate_download_size
File "gogdl/dl/manager.py", line 98, in get_download_metadata
File "gogdl/dl/linux_native.py", line 39, in download
AttributeError: 'Namespace' object has no attribute 'path'
[531] Failed to execute script 'cli' due to unhandled exception!
On a somewhat related note, is there a way to have Heroic download the installer blobs of Linux native games - such as The Witcher 2, which comes up to around 17 GB - to the SD card rather than /home? It is just a little too big for my 64 GB Steam Deck where I'm usually at only around 5 GB free space in the built-in storage drive.
@arvindhmani Perhaps your issue is closer to #1704 than this one?
Thank you, that seems to be the exact same issue!
I get the same issue. Any Linux native games I try to install get an error, anything that I mark to install the Windows version download just fine.
this is already fixed in the development branch, the fix will be include in the next release (I understand it's going to happen this week)
closing, native GOG games installation should be fixed
Describe the bug
after the 2.7.1 update when installing native linux games the install will fail, windows games install fine.
Add logs
Steps to reproduce
Expected behavior
game installs.
Screenshots
No response
Heroic Version
Latest Stable
System Information
Additional information
No response