[Solved] Lutris stalls whilst installing (Overwatch/Battlenet)

I can’t work out whether this is an issue with the install scripts for Overwatch and Battlenet, or a particular issue I’m having. But recently each of these have just been failing to continue the install at a particular point.

Currently for the Overwatch DXVK script, I can get up to “Installing Arial Fonts”. After that, it just… sits there.

Running with lutris -d shows a FileNotFound error… which I presume is the reason. But I can’t seem to work out the cause!

Full lutris -d output of installing Overwatch:

INFO     2018-10-06 09:26:36,924 [lutriswindow]:Installing overwatch-dxvk-october-5th-201
DEBUG    2018-10-06 09:26:36,926 [interpreter]:Fetching installer https://lutris.net/api/installers/overwatch-dxvk-october-5th-201
DEBUG    2018-10-06 09:26:38,429 [commands]:Install script uses Wine staging-3.17-x86_64
INFO     2018-10-06 09:26:38,429 [interpreter]:Downloading file 1 of 3
DEBUG    2018-10-06 09:26:38,430 [interpreter]:Downloading [setup]: https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP to /home/dan/.cache/lutris/installer/overwatch/Battle.net-Setup.exe
DEBUG    2018-10-06 09:26:38,431 [installerwindow]:Downloading https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP to /home/dan/.cache/lutris/installer/overwatch/Battle.net-Setup.exe
DEBUG    2018-10-06 09:26:38,433 [downloader]:Starting download of:
 https://www.battle.net/download/getInstallerForGame?os=win&version=LIVE&gameProgram=BATTLENET_APP
DEBUG    2018-10-06 09:26:42,287 [downloader]:Download finished
INFO     2018-10-06 09:26:42,360 [interpreter]:Downloading file 2 of 3
DEBUG    2018-10-06 09:26:42,360 [interpreter]:Downloading [dxvkconf]: https://lutris.net/files/tools/dxvk.conf to /home/dan/.cache/lutris/installer/overwatch/dxvk.conf
DEBUG    2018-10-06 09:26:42,360 [installerwindow]:Downloading https://lutris.net/files/tools/dxvk.conf to /home/dan/.cache/lutris/installer/overwatch/dxvk.conf
DEBUG    2018-10-06 09:26:42,361 [downloader]:Starting download of:
 https://lutris.net/files/tools/dxvk.conf
DEBUG    2018-10-06 09:26:42,487 [downloader]:Download finished
INFO     2018-10-06 09:26:42,563 [interpreter]:Downloading file 3 of 3
DEBUG    2018-10-06 09:26:42,563 [interpreter]:Downloading [dxvkcache]: https://github.com/tannisroot/dxvk-caches/releases/download/overwatch/Overwatch.tar.xz to /home/dan/.cache/lutris/installer/overwatch/Overwatch.tar.xz
DEBUG    2018-10-06 09:26:42,564 [installerwindow]:Downloading https://github.com/tannisroot/dxvk-caches/releases/download/overwatch/Overwatch.tar.xz to /home/dan/.cache/lutris/installer/overwatch/Overwatch.tar.xz
DEBUG    2018-10-06 09:26:42,564 [downloader]:Starting download of:
 https://github.com/tannisroot/dxvk-caches/releases/download/overwatch/Overwatch.tar.xz
DEBUG    2018-10-06 09:26:45,645 [downloader]:Download finished
DEBUG    2018-10-06 09:26:45,683 [interpreter]:Installer command: {'task': {'arch': 'win64', 'prefix': '$GAMEDIR', 'name': 'create_prefix'}}
DEBUG    2018-10-06 09:26:45,683 [commands]:Install script uses Wine staging-3.17-x86_64
DEBUG    2018-10-06 09:26:45,684 [wine]:Creating a win64 prefix in /mnt/Games/overwatch
DEBUG    2018-10-06 09:26:45,685 [system]:Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wineboot
DEBUG    2018-10-06 09:26:45,685 [system]:WINEARCH=win64 WINEPREFIX=/mnt/Games/overwatch WINEDLLOVERRIDES=
INFO     2018-10-06 09:27:04,459 [wine]:win64 Prefix created in /mnt/Games/overwatch
DEBUG    2018-10-06 09:27:04,464 [interpreter]:Installer command: {'task': {'arch': 'win64', 'name': 'winetricks', 'silent': True, 'prefix': '$GAMEDIR', 'app': 'arial'}}
DEBUG    2018-10-06 09:27:04,465 [commands]:Install script uses Wine staging-3.17-x86_64
DEBUG    2018-10-06 09:27:04,483 [wine]:%s is provided by Lutris, using runtime
DEBUG    2018-10-06 09:27:04,529 [thread]:Command env: WINEARCH="win64" WINE="/home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine" WINEPREFIX="/mnt/Games/overwatch" LD_LIBRARY_PATH="/home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/lib:/home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/lib64:/usr/lib:/usr/lib32:/lib/x86_64-linux-gnu:/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/home/dan/.local/share/lutris/runtime/lib32:/home/dan/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/i386/lib:/home/dan/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/i386/usr/lib:/home/dan/.local/share/lutris/runtime/lib64:/home/dan/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/amd64/lib:/home/dan/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/amd64/usr/lib" 
DEBUG    2018-10-06 09:27:04,530 [thread]:Running command: "/home/dan/.local/share/lutris/runtime/winetricks/winetricks" "--unattended" "arial"
DEBUG    2018-10-06 09:27:04,530 [thread]:Storing environment variable WINEARCH to win64
DEBUG    2018-10-06 09:27:04,530 [thread]:Storing environment variable WINE to /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine
DEBUG    2018-10-06 09:27:04,531 [thread]:Storing environment variable WINEPREFIX to /mnt/Games/overwatch
DEBUG    2018-10-06 09:27:04,531 [thread]:Storing environment variable LD_LIBRARY_PATH to /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/lib:/home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/lib64:/usr/lib:/usr/lib32:/lib/x86_64-linux-gnu:/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu:/home/dan/.local/share/lutris/runtime/lib32:/home/dan/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/i386/lib:/home/dan/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/i386/usr/lib:/home/dan/.local/share/lutris/runtime/lib64:/home/dan/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/amd64/lib:/home/dan/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/dan/.local/share/lutris/runtime/steam/amd64/usr/lib
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20180815-next - sha256sum: 99e9d80556dc1c3e3fe499059a8b7e44f6780a1aeb7cdf0bc832f99fa5bc64c8 with wine-3.17 (Staging) and WINEARCH=win64
Executing w_do_call arial
Executing load_arial 
Executing cabextract -q -d /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial /home/dan/.cache/winetricks/corefonts/arial32.exe
------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 316, in watch_children
    processes, num_children, num_watched_children, terminated_children = self.get_processes()
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 278, in get_processes
    for child in self.iter_children(process):
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 203, in iter_children
    pids = self.runner.get_pids(wine_version)
  File "/usr/lib/python3/dist-packages/lutris/runners/wine.py", line 1097, in get_pids
    if self.wine_arch == 'win64' and os.path.basename(exe) == 'wine':
  File "/usr/lib/python3/dist-packages/lutris/runners/wine.py", line 882, in wine_arch
    arch = detect_arch(self.prefix_path, self.get_executable())
  File "/usr/lib/python3/dist-packages/lutris/runners/wine.py", line 913, in get_executable
    if os.path.exists(wine_path):
  File "/usr/lib/python3.6/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 67, in apport_excepthook
    binary = os.path.realpath(os.path.join(os.getcwd(), sys.argv[0]))
FileNotFoundError: [Errno 2] No such file or directory

Original exception was:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 316, in watch_children
    processes, num_children, num_watched_children, terminated_children = self.get_processes()
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 278, in get_processes
    for child in self.iter_children(process):
  File "/usr/lib/python3/dist-packages/lutris/thread.py", line 203, in iter_children
    pids = self.runner.get_pids(wine_version)
  File "/usr/lib/python3/dist-packages/lutris/runners/wine.py", line 1097, in get_pids
    if self.wine_arch == 'win64' and os.path.basename(exe) == 'wine':
  File "/usr/lib/python3/dist-packages/lutris/runners/wine.py", line 882, in wine_arch
    arch = detect_arch(self.prefix_path, self.get_executable())
  File "/usr/lib/python3/dist-packages/lutris/runners/wine.py", line 913, in get_executable
    if os.path.exists(wine_path):
  File "/usr/lib/python3.6/genericpath.py", line 19, in exists
    os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
Running /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wineserver -w. This will hang until all wine processes in prefix=/mnt/Games/overwatch terminate
------------------------------------------------------
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
000b:fixme:winediag:start_process Wine Staging 3.17 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_304f5183_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_964415d4_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_1f616c49_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_16f0ad00_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_afb17c0c_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_4cd1fddd_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_dae52f18_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_f89c822c_11598.reg
Executing cabextract -q -d /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial /home/dan/.cache/winetricks/corefonts/arialb32.exe
------------------------------------------------------
Running /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wineserver -w. This will hang until all wine processes in prefix=/mnt/Games/overwatch terminate
------------------------------------------------------
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
000b:fixme:winediag:start_process Wine Staging 3.17 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
000b:err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_66d0267b_11598.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing /home/dan/.local/share/lutris/runners/wine/staging-3.17-x86_64/bin/wine64 regedit /S C:\windows\Temp\_arial\_register-font.reg
Executing cp /mnt/Games/overwatch/dosdevices/c:/windows/temp/_arial/_register-font.reg /tmp/winetricks.uQriEUeW/_reg_8067e78b_11598.reg

And that’s where the output ends. Lutris still works and is useable. Just the install has… stopped.

Any thoughts? :frowning:

1 Like

Issue resolved thanks to the help of Tannis & Dox. Turns out to be a user fault somewhere.

Clearing ~/.local/share/lutris, ~/.config/lutris and ~/.cache/lutris then basically starting again, fixed the issue. Config mess up somewhere somehow, most likely due to a mounted drive changing location between installs.

1 Like

Thank you man ! That helped !

Having a similar issue trying to install StarCraft II.
What do you mean by “clearing”? Do you literally delete those entire folders? Thanks