Heroic-Games-Launcher / HeroicGamesLauncher

A games launcher for GOG, Amazon and Epic Games for Linux, Windows and macOS.
https://heroicgameslauncher.com
GNU General Public License v3.0
8.25k stars 433 forks source link

Install button disabled, Warning: path might not be writable. #1574

Closed HoksterC closed 2 years ago

HoksterC commented 2 years ago

Describe the bug

Already asked for help on discord but I thought that doing it here too might help other people with the same issue as mine, since I haven't found a clear solution here on GitHub.

"I'm trying to install Fall Guys on Heroic but the "Install" button is disabled, and I'm receiving the following warning: "Warning: path might not be writable."

At first I thought it was related to me changing the default installation drive, but even after resetting Heroic I'm still having the same issue

I don't think it's memory related too, as I saw on some forums, and here are some screenshots to prove it

I also thought that it might be something related to permissions, but running the app as an administrator and it didn't seem to solve the problem too

Also, this isn't the only game to have this issue, same thing happens with any other games on my library (also screenshoted)"

Add logs

(16:15:00) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --version (16:15:01) INFO: [Legendary]: Legendary location: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary (16:15:01) INFO: [Gog]: GOGDL location: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl (16:15:01) INFO: [Backend]:

Heroic Version: 2.3.9 Brook Legendary Version: 0.20.26 Dark Energy OS: KERNEL: 10.0.19044 ARCH: x64 CPU: @NaN RAM: Total: 15.95 GiB Available: 9.45 GiB GRAPHICS:

(16:15:01) WARNING: [Backend]: Protocol already registered. (16:15:02) INFO: [Frontend]: Refreshing Library (16:15:02) INFO: [Legendary]: Refreshing library... (16:15:02) INFO: [Legendary]: Refreshing Epic Games... (16:15:03) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary list (16:15:06) INFO: [Legendary]: Updating game list (16:15:06) INFO: [Legendary]: Game List Updated (16:15:06) INFO: [Frontend]: No cache found, getting data from legendary... (16:15:06) INFO: [Legendary]: Refreshing library... (16:15:06) INFO: [Legendary]: Updating game list (16:15:06) INFO: [Legendary]: Game List Updated (16:15:07) INFO: [Legendary]: Checking for game updates: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary list-installed --check-updates --tsv (16:15:07) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary list-installed --check-updates --tsv (16:15:08) INFO: [Legendary]: Found 0 game(s) to update (16:15:08) INFO: [Gog]: Found 0 game(s) to update (16:15:08) INFO: [Frontend]: Force Update (16:15:10) INFO: [Legendary]: Getting more details with 'legendary info' (16:15:10) INFO: [Legendary]: Getting more details with 'legendary info' (16:15:10) WARNING: [Backend]: default is not writable (16:15:10) WARNING: [Backend]: C:\Users\phill\Games\Heroic is not writable (16:15:11) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info 0a2d9f6403244d12969e11da6713137b --platform Windows --json (16:15:11) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info 0a2d9f6403244d12969e11da6713137b --platform Windows --json (16:15:15) INFO: [Legendary]: Getting Info from Epic API (16:15:15) WARNING: [Backend]: C:\Users\phill\Games\Heroic is not writable (16:15:15) INFO: [Legendary]: Getting Info from Epic API (16:16:29) DEBUG: [Legendary]: Using cached install info (16:16:29) DEBUG: [Legendary]: Using cached install info (16:16:29) WARNING: [Backend]: default is not writable (16:24:09) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --version (16:24:09) DEBUG: [Gog]: Running GOGDL command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl --version (16:29:56) DEBUG: [Legendary]: Using cached install info (16:31:47) DEBUG: [Legendary]: Using cached install info (16:31:47) DEBUG: [Legendary]: Using cached install info (16:31:47) WARNING: [Backend]: default is not writable (16:39:03) INFO: [Legendary]: Getting more details with 'legendary info' (16:39:03) INFO: [Legendary]: Getting more details with 'legendary info' (16:39:03) WARNING: [Backend]: default is not writable (16:39:04) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info Fortnite --platform Windows --json (16:39:04) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info Fortnite --platform Windows --json (16:39:12) ERROR: [Legendary]: Error Getting Info from Epic API (16:39:13) ERROR: [Legendary]: Error Getting Info from Epic API (16:39:27) INFO: [Legendary]: Getting more details with 'legendary info' (16:39:27) INFO: [Legendary]: Getting more details with 'legendary info' (16:39:27) WARNING: [Backend]: default is not writable (16:39:28) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info Tern --platform Windows --json (16:39:29) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info Tern --platform Windows --json (16:39:35) INFO: [Legendary]: Getting Info from Epic API (16:39:43) INFO: [Legendary]: Getting more details with 'legendary info' (16:39:43) INFO: [Legendary]: Getting more details with 'legendary info' (16:39:43) WARNING: [Backend]: default is not writable (16:39:43) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info Dodo --platform Windows --json (16:39:44) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --pretty-json info Dodo --platform Windows --json (16:39:52) INFO: [Legendary]: Getting Info from Epic API (16:39:52) INFO: [Legendary]: Getting Info from Epic API (16:40:45) DEBUG: [Legendary]: Running Legendary command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\legendary --version (16:40:45) DEBUG: [Gog]: Running GOGDL command: C:\Users\phill\AppData\Local\Programs\heroic\resources\app.asar.unpacked\build\bin\win32\gogdl --version

Steps to reproduce

  1. Go to 'Library'
  2. Click on any game
  3. Click on 'INSTALL'
  4. See warning

Expected behavior

Install button should be enabled, and warning shouldn't appear at all.

Screenshots

image image image

System Information

Additional information

No response

HoksterC commented 2 years ago

Ok so it seems that my PATH was messed up so Powershell couldn't run, and consequently Heroic couldn't install anything too.

To fix it, I searched for "environment variables" on the startup menu and opened the editor as shown on the screenshot image

Then, I clicked on "Environment variables" image

And on System Variables, I selected "PATH" and clicked on edit image

And then I added the following image %SystemRoot%\system32 %SystemRoot% %SystemRoot%\System32\Wbem %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ %SYSTEMROOT%\System32\OpenSSH\

After that I restarted the computer and both Heroic and my Powershell were working fine, hope that helps someone else too.

Thanks to CommandMC, Nocccer and everyone else that gave me a hand on the Discord server!!!