BG3ModManager-LinuxLauncher icon indicating copy to clipboard operation
BG3ModManager-LinuxLauncher copied to clipboard

returned non-zero exit status 99

Open mbauer599 opened this issue 1 year ago • 4 comments

Just putting this in here for anyone else who may encounter errors:

Installing dotnet472 if necessary...
Running WINEPREFIX=/home/user/.local/share/wineprefixes/BG3MM/ winetricks dotnet472
Traceback (most recent call last):
  File "/opt/BG3MM/linux.py", line 258, in <module>
    main()
  File "/opt/BG3MM/linux.py", line 243, in main
    setup_wineprefix()
  File "/opt/BG3MM/linux.py", line 103, in setup_wineprefix
    run_command(f"WINEPREFIX={prefix_location} winetricks dotnet472")
  File "/opt/BG3MM/linux.py", line 82, in run_command
    result = subprocess.run(cmd, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'WINEPREFIX=/home/user/.local/share/wineprefixes/BG3MM/ winetricks dotnet472' returned non-zero exit status 99.
warning: This package (dotnet45) is broken in wine-8.0.2. Broken since 5.18. See https://bugs.winehq.org/show_bug.cgi?id=49897 for more info. Use --force to try anyway.

As suggested, and exactly what I expect from .net, I just forced it through but I'm also super lazy so I just added --force to winetricks in the script.

mbauer599 avatar Dec 08 '23 16:12 mbauer599