HGL
adverse-sapphire

Trying to Launch GOG game and getting an error

Launch Command: WINEPREFIX="/storage/Games/prefixes/Cyberpunk 2077" HEROIC_APP_NAME=1423049311 HEROIC_APP_RUNNER=gog GAMEID=umu-1091500 HEROIC_APP_SOURCE=gog STORE=gog STEAM_COMPAT_INSTALL_PATH="/storage/Games/gog/Cyberpunk 2077" ENABLE_HDR_WSI=1 WINEDLLOVERRIDES=winmm=n,b;version=n,b LD_PRELOAD= STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/soliprem/.local/share/.steam/steam STEAM_COMPAT_DATA_PATH="/storage/Games/prefixes/Cyberpunk 2077" PROTONPATH=/home/soliprem/.config/heroic/tools/proton/Proton-GE-latest WINE_FULLSCREEN_FSR=0 PROTON_DISABLE_NVAPI=1 PROTON_EAC_RUNTIME=/home/soliprem/.config/heroic/tools/runtimes/eac_runtime PROTON_BATTLEYE_RUNTIME=/home/soliprem/.config/heroic/tools/runtimes/battleye_runtime STEAM_COMPAT_APP_ID=0 SteamAppId=0 SteamGameId="heroic-Cyberpunk 2077" PROTON_LOG_DIR=/home/soliprem/.local/share WINEDEBUG=+fixme DXVK_LOG_LEVEL=info VKD3D_DEBUG=fixme /nix/store/z3h0wlsiikyy6gfbhp02wnwin9j33jqq-heroic-unwrapped-2.17.2/opt/heroic/resources/app.asar.unpacked/build/bin/x64/linux/gogdl launch "/storage/Games/gog/Cyberpunk 2077" 1597316373 --no-wine --wrapper "/usr/bin/mangohud --dlsym /usr/bin/gamemoderun "/usr/bin/umu-run"" --platform windows --launcher-skip --prefer-task 0
Game Log:

Traceback (most recent call last):

File "/nix/store/zsx41mnzj7chr5ay1lga37jpbq4pf8ky-gogdl-1.1.2/bin/.gogdl-wrapped", line 9, in <module>

sys.exit(main())

~~~~^^

File "/nix/store/zsx41mnzj7chr5ay1lga37jpbq4pf8ky-gogdl-1.1.2/lib/python3.13/site-packages/gogdl/cli.py", line 62, in main

function(arguments, unknown_args)

~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

File "/nix/store/zsx41mnzj7chr5ay1lga37jpbq4pf8ky-gogdl-1.1.2/lib/python3.13/site-packages/gogdl/launch.py", line 65, in launch

launch_arguments = primary_task.get("arguments")

^^^^^^^^^^^^^^^^

AttributeError: 'NoneType' object has no attribute 'get'
Game Log:

Traceback (most recent call last):

File "/nix/store/zsx41mnzj7chr5ay1lga37jpbq4pf8ky-gogdl-1.1.2/bin/.gogdl-wrapped", line 9, in <module>

sys.exit(main())

~~~~^^

File "/nix/store/zsx41mnzj7chr5ay1lga37jpbq4pf8ky-gogdl-1.1.2/lib/python3.13/site-packages/gogdl/cli.py", line 62, in main

function(arguments, unknown_args)

~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^

File "/nix/store/zsx41mnzj7chr5ay1lga37jpbq4pf8ky-gogdl-1.1.2/lib/python3.13/site-packages/gogdl/launch.py", line 65, in launch

launch_arguments = primary_task.get("arguments")

^^^^^^^^^^^^^^^^

AttributeError: 'NoneType' object has no attribute 'get'
Solution:
ok I re-did the move and now it works
Jump to solution
20 Replies
adverse-sapphire
adverse-sapphireOP3mo ago
I already attempted to verify&repair several times, and it didn't see to make a difference
CommandMC
CommandMC3mo ago
Could you confirm whether this happens with the Flatpak version of Heroic?
adverse-sapphire
adverse-sapphireOP3mo ago
hold on, I'll have to add flathub (I don't normally like using flatpaks as they don't fully mix well with nix) is there a way to skip configuring everything again? like for the flatpak version to inherit the config of the nixpkgs one?
CommandMC
CommandMC3mo ago
Flatpak's mostly isolated, although you can import the game install
adverse-sapphire
adverse-sapphireOP3mo ago
uhm, weirdly the flatpak version is showing an update that the other isn't for the game, I mean
adverse-sapphire
adverse-sapphireOP3mo ago
adverse-sapphire
adverse-sapphireOP3mo ago
log from the flatpak version
CommandMC
CommandMC3mo ago
/run/user/1000/doc/6bdf081/
Your game is installed somewhere the Flatpak doesn't have access to By default it can access ~/Games/Heroic/, /run/media/, /mnt and /media
adverse-sapphire
adverse-sapphireOP3mo ago
ok it's in /storage/Games ok I did flatpak override --user --filesystem=/storage/Games ...
adverse-sapphire
adverse-sapphireOP3mo ago
CommandMC
CommandMC3mo ago
Open the 3-dot menu on the game page and select "Change install path", then re-select your original game install path
adverse-sapphire
adverse-sapphireOP3mo ago
now it's failing quierly (no Game Log)
CommandMC
CommandMC3mo ago
Could you send in the full log file?
adverse-sapphire
adverse-sapphireOP3mo ago
Solution
adverse-sapphire
adverse-sapphire3mo ago
ok I re-did the move and now it works
adverse-sapphire
adverse-sapphireOP3mo ago
(on the flathub version)
CommandMC
CommandMC3mo ago
Your game install path is set to /storage/Games/gog, while it was set to /storage/Games/gog/Cyberpunk 2077 above Sooo game is now launching?
adverse-sapphire
adverse-sapphireOP3mo ago
yes I eventually figured out that by checking with the other version of the app any clue as to what might be wrong with the nixpkgs version? Packaging issue or environment issue? or skill issue by me, maybe?
CommandMC
CommandMC3mo ago
There are some issues with the Nix package, which the maintainer is looking into in #umu-run under legendary silently dying All I can tell you is that the package isn't official and I don't know enough about NixOS to be helpful in finding the issue
adverse-sapphire
adverse-sapphireOP3mo ago
I'll check out that thread

Did you find this page helpful?