Problem installing Battlenet_error 256

Hello everyone.
I am trying to install Battlenet from this page: Blizzard Battle.net - Lutris But I get a cryptic error #256. I copy below the log.

Start monitoring process.
Executing cd /home/jose_andres/.local/share/lutris/runtime/winetricks
------------------------------------------------------
warning: 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 20240105-next - sha256sum: e353c90fa042cf7919d5ef34b21fcd2132a13ea689c5a7228c490390eb5c9391 with wine-8.0-3001-g39021e609a2 (Staging) and WINEARCH=win64
Executing w_do_call arial
------------------------------------------------------
warning: 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.
------------------------------------------------------
arial already installed, skipping
Monitored process exited.
Initial process has exited (return code: 0)
Exit with return code 0
DEBUG    2024-07-27 22:58:21,852 [command.on_stop:219]:Process 11025 has terminated with code 0
DEBUG    2024-07-27 22:58:22,372 [commands._monitor_task:441]:Return code: 0
DEBUG    2024-07-27 22:58:22,373 [interpreter._iter_commands:317]:Installer command: {'task': {'app': 'tahoma', 'arch': 'win64', 'name': 'winetricks', 'prefix': '$GAMEDIR'}}
Started initial process 11947 from /home/jose_andres/.local/share/lutris/runtime/winetricks/winetricks --unattended tahoma
Start monitoring process.
Executing cd /home/jose_andres/.local/share/lutris/runtime/winetricks
------------------------------------------------------
warning: 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 20240105-next - sha256sum: e353c90fa042cf7919d5ef34b21fcd2132a13ea689c5a7228c490390eb5c9391 with wine-8.0-3001-g39021e609a2 (Staging) and WINEARCH=win64
Executing w_do_call tahoma
------------------------------------------------------
warning: 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.
------------------------------------------------------
Executing load_tahoma 
------------------------------------------------------
warning: Checksum for /home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB did not match, retrying download
------------------------------------------------------
Executing cd /home/jose_andres/.cache/winetricks/tahoma
Downloading https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB to /home/jose_andres/.cache/winetricks/tahoma

07/27 22:58:26 [NOTICE] Downloading 1 item(s)
[#ced46b 0B/0B CN:1 DL:0B]

07/27 22:58:27 [ERROR] CUID#7 - Download aborted. URI=https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB
Exception: [AbstractCommand.cc:351] errorCode=22 URI=https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB
  -> [HttpSkipResponseCommand.cc:239] errorCode=22 El estado de la respuesta no es satisfactorio. estado=403

07/27 22:58:27 [NOTICE] Descarga GID#ced46b50d4f55ebb no completa: /home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB

Resultados de la descarga:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
ced46b|ERR |       0B/s|/home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB

Leyenda:
(ERR):a ocurrido un error.

Si reinicia la transferencia, aria2 continuará con la descarga.
Compruebe el archivo de registro si se producen errores. Para más información vea la opción '-l' en las páginas help/man.
cat: /tmp/winetricks.fTABFx11/stdout.tmp: No existe el archivo o el directorio
rm: no se puede borrar '/tmp/winetricks.fTABFx11/stdout.tmp': No existe el archivo o el directorio
cat: /tmp/winetricks.fTABFx11/stdout.tmp: No existe el archivo o el directorio
rm: no se puede borrar '/tmp/winetricks.fTABFx11/stdout.tmp': No existe el archivo o el directorio
Executing cd /home/jose_andres/.cache/winetricks/tahoma
Downloading https://web.archive.org/web/2000/https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB to /home/jose_andres/.cache/winetricks/tahoma

07/27 22:58:30 [NOTICE] Downloading 1 item(s)
[#d3603c 0B/0B CN:1 DL:0B]

07/27 22:58:31 [NOTICE] CUID#7 - Redirecting to https://web.archive.org/web/20191010230056/https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB

07/27 22:58:32 [NOTICE] CUID#7 - Redirecting to https://web.archive.org/web/20191010230056/https://sourceforge.net/projects/corefonts/files/OldFiles/IELPKTH.CAB/download?use_mirror=master
[#d3603c 0B/0B CN:1 DL:0B]
[#d3603c 96KiB/345KiB(27%) CN:1 DL:102KiB ETA:2s]
[#d3603c 256KiB/345KiB(74%) CN:1 DL:131KiB]
[#d3603c 320KiB/345KiB(92%) CN:1 DL:102KiB]

07/27 22:58:35 [NOTICE] Descarga completa: /home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB

Resultados de la descarga:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
d3603c|OK  |   106KiB/s|/home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB

Leyenda:
(OK):descarga completada.
Executing cd /home/jose_andres/.local/share/lutris/runtime/winetricks
------------------------------------------------------
SHA256 mismatch!

URL: https://web.archive.org/web/2000/https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB
Downloaded: e3acc85a1e157c364622d4fa71a3e69f38bd837d4dc36b005c029c3cd307f640
Expected: c1be3fb8f0042570be76ec6daa03a99142c88367c1bc810240b85827c715961a

This is often the result of an updated package such as vcrun2019.
If you are willing to accept the risk, you can bypass this check.
Alternatively, you may use the --force option to ignore this check entirely.

Continue anyway?
------------------------------------------------------
------------------------------------------------------
Unattended mode, not prompting for confirmation
------------------------------------------------------
Executing cabextract -q -d /home/jose_andres/Games/Lutris_prefix/battlenet/dosdevices/c:/windows/temp /home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB
/home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB: no valid cabinets found
------------------------------------------------------
warning: Note: command cabextract -q -d /home/jose_andres/Games/Lutris_prefix/battlenet/dosdevices/c:/windows/temp /home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB returned status 1. Aborting.
------------------------------------------------------
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256
DEBUG    2024-07-27 22:58:35,734 [command.on_stop:219]:Process 11945 has terminated with code 256
DEBUG    2024-07-27 22:58:36,507 [commands._monitor_task:441]:Return code: 256
ERROR    2024-07-27 22:58:36,507 [errors.__init__:18]:El comando ha finalizado con código 256
ERROR    2024-07-27 22:58:36,508 [exception_backstops.error_wrapper:81]:Error handling timeout function: El comando ha finalizado con código 256
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/exception_backstops.py", line 79, in error_wrapper
    return handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lutris/installer/commands.py", line 443, in _monitor_task
    raise ScriptingError(_("Command exited with code %s") % command.return_code)
lutris.installer.errors.ScriptingError: El comando ha finalizado con código 256

If I also try to install Tahoma font using Winetricks I get the following error:

SHA256 mismatch!

URL: https://web.archive.org/web/2000/https://downloads.sourceforge.net/corefonts/OldFiles/IELPKTH.CAB
Downloaded: 855606171215ffcdd3fa07c36641e483788fa11938b4b6f2472bdaf11010946f
Expected: c1be3fb8f0042570be76ec6daa03a99142c88367c1bc810240b85827c715961a

This is often the result of an updated package such as vcrun2019.
If you are willing to accept the risk, you can bypass this check.
Alternatively, you may use the --force option to ignore this check entirely.

Continue anyway?


Note: command cabextract -q -d /home/jose_andres/.wine/dosdevices/c:/windows/temp /home/jose_andres/.cache/winetricks/tahoma/IELPKTH.CAB returned status 1. Aborting. 

Hi,

In your case, there is an error with the font download.
I tried fetching the file, but it came back empty unless you instruct curl to follow multiple redirects.
If winetricks isn’t handling that reliably, manually download it from sourceforge and copy it in your cache directory (with the correct uppercase name,) where winetricks will pick it up when it runs.

~/.cache/winetricks/tahoma/IELPKTH.CAB

The winetricks warning is not always serious - files get get updated so the existing checksum is out of date when it fetches the file. This is usually fixed by updating winetricks but yours seem pretty up to date.

1 Like

Thank you for your reply. I followed your advice and managed to install Battlenet.