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
7.81k stars 418 forks source link

Can't uninstall amazon games since 2.10.0 version #3201

Closed MontblancKupo closed 1 week ago

MontblancKupo commented 9 months ago

Describe the bug

Can't uninstall games from heroic launcher that have been installed from amazon.

Add logs

Traceback (most recent call last):
  File "nile\cli.py", line 343, in <module>
  File "nile\cli.py", line 330, in main
  File "nile\cli.py", line 245, in handle_uninstall
  File "nile\utils\uninstall.py", line 32, in uninstall
FileNotFoundError: [WinError 2] The system cannot find the file specified: 'D:\\Heroic Launcher Games\\10 Second Ninja X\\directX/JUN2008_d3dx9_38_x86.cab'
[5936] Failed to execute script 'cli' due to unhandled exception!

Steps to reproduce

  1. Choose to uninstall a game via context menu of game cover art or "..." menu from within game details page.
  2. choose "yes"
  3. heroic says "uninstalling"
  4. game not uninstalled.

Expected behavior

Game should uninstall... it does not.

Screenshots

No response

Heroic Version

Latest Stable

System Information

windows 10, latest available system update done. heroic launcher updated to version 2.10.0 via prompt when launching app.

Additional information

No response

MontblancKupo commented 7 months ago

Bug still present after 2.12.0 update.

LZeugirdor commented 6 months ago

Can confirm this is an issue.

Francehelder commented 6 months ago

Same here. Version 2.12.0

arielj commented 1 week ago

closing, heroic 2.15.0 includes the latest nile that I understand fixes this issue

feel free to comment if this is still a problem and we can reopen

goremykin commented 1 week ago

Not sure if it is related. Tried to uninstall an amazon game on 2.14 - see result on screenshots below. Tried one more time but on 2.15 - the same.

Logs:

Traceback (most recent call last):

  File "nile/cli.py", line 354, in <module>

  File "nile/cli.py", line 341, in main

  File "nile/cli.py", line 256, in handle_uninstall

  File "nile/utils/uninstall.py", line 46, in uninstall

FileNotFoundError: [Errno 2] No such file or directory: '/home/username/Games/nile/The Forgotten City'

[293] Failed to execute script 'cli' due to unhandled exception!

[8/13/2024, 8:43:00 PM] NILE_CONFIG_PATH=/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile library sync

[8/13/2024, 8:43:00 PM] NILE_CONFIG_PATH=/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile install --info --json amzn1.adg.product.e31e4571-b8d9-444e-852f-93846749eb40

[8/13/2024, 8:43:00 PM] NILE_CONFIG_PATH=/home/username/.var/app/com.heroicgameslauncher.hgl/config/heroic/nile_config /app/bin/heroic/resources/app.asar.unpacked/build/bin/x64/linux/nile install --info --json amzn1.adg.product.e31e4571-b8d9-444e-852f-93846749eb40

INFO [LIBRARY]:  Synchronizing library

INFO [CLI]:  Found: The Forgotten City

INFO [LIBRARY]:  Successfully synced the library

image image