I tried to install Planescape Torment Enhanced Edition, but after extracting all the game files the installer aborts with error code 256 for no visible reason.
I searched the forums and found some other issues like that, but all of them had something to do with wine. But since this game here is available natively for Linux, wine is not involved at all.
Manually installing the game with the provided .sh file from GOG works fine and the game itself also works fine. For what I am seeing, there seems to be no real technical reason for lutris to stop the installation in the first place.
Any suggestions?
System information: https://paste.ubuntu.com/p/XnRvwMmkXC/
Output of lutris -d: (I replaced my username with MYUSERNAME)
~ lutris -d
INFO 2022-06-13 17:42:44,218 [startup.init_lutris:173]:Starting Lutris 0.5.10.1
WARNING 2022-06-13 17:42:44,246 [libretro.get_libretro_cores:24]:No folder at /home/MYUSERNAME/.local/share/lutris/runners/retroarch/
INFO 2022-06-13 17:42:44,274 [startup.check_driver:65]:Running AMD Mesa driver 22.1.1 on AMD Radeon RX 5700 XT (navi10, LLVM 13.0.1, DRM 3.46, 5.18.3-1-MANJARO) (0x731f)
INFO 2022-06-13 17:42:44,274 [startup.check_driver:77]:GPU: 1002:731F 148C:2398 (amdgpu drivers)
INFO 2022-06-13 17:42:44,348 [startup.update_runtime:213]:Startup complete
DEBUG 2022-06-13 17:42:44,415 [lutriswindow.update_store:437]:Showing 27 games
DEBUG 2022-06-13 17:42:47,498 [base.install:210]:Installing 1132393016 from service gog
DEBUG 2022-06-13 17:42:47,498 [http.get:83]:GET https://lutris.net/api/games/service/gog
DEBUG 2022-06-13 17:42:47,663 [api.get_game_installers:160]:Fetching installer https://lutris.net/api/installers/planescape-torment
DEBUG 2022-06-13 17:42:47,664 [http.get:83]:GET https://lutris.net/api/installers/planescape-torment
DEBUG 2022-06-13 17:42:47,971 [application.show_window:332]:Showing window InstallerWindow1132393016
DEBUG 2022-06-13 17:42:54,554 [displayconfig.get_current_resolution:624]:Retrieving current resolution
DEBUG 2022-06-13 17:42:56,038 [interpreter.get_extras:159]:Checking if service provide extra files
DEBUG 2022-06-13 17:42:56,038 [gog.get_extras:326]:Download extras for GOG ID 1132393016 and its DLCs
INFO 2022-06-13 17:42:56,038 [gog.get_game_details:292]:Getting game details for 1132393016
DEBUG 2022-06-13 17:42:56,039 [http.get:83]:GET https://api.gog.com/products/1132393016?expand=downloads&locale=de-DE
ERROR 2022-06-13 17:42:56,152 [gog.make_api_request:234]:Failed to request https://api.gog.com/products/1132393016?expand=downloads&locale=de-DE, check your GOG credentials and internet connectivity
WARNING 2022-06-13 17:42:56,153 [gog.get_extras:329]:Unable to get GOG data for game 1132393016
DEBUG 2022-06-13 17:42:56,153 [http.get:83]:GET https://embed.gog.com/userData.json
INFO 2022-06-13 17:42:56,365 [installer.prepare_game_files:155]:Getting files for game
INFO 2022-06-13 17:42:56,365 [installer.prepare_game_files:157]:Adding selected extras to downloads
INFO 2022-06-13 17:42:56,365 [gog.get_game_details:292]:Getting game details for 1132393016
DEBUG 2022-06-13 17:42:56,365 [http.get:83]:GET https://api.gog.com/products/1132393016?expand=downloads&locale=de-DE
ERROR 2022-06-13 17:42:56,445 [gog.make_api_request:234]:Failed to request https://api.gog.com/products/1132393016?expand=downloads&locale=de-DE, check your GOG credentials and internet connectivity
WARNING 2022-06-13 17:42:56,446 [gog.get_downloads:320]:Unable to get GOG data for game 1132393016
DEBUG 2022-06-13 17:42:56,446 [installer.prepare_game_files:168]:Unable to get files from service. Setting game to manual.
INFO 2022-06-13 17:42:56,450 [files_box.check_files_ready:72]:Waiting for user to provide files
DEBUG 2022-06-13 17:42:56,453 [interpreter.create_game_folder:181]:Creating destination path /mnt/SSD_4TB/lutris/gog/planescape-torment
DEBUG 2022-06-13 17:43:09,343 [files_box.on_file_available:93]:game is available
DEBUG 2022-06-13 17:43:22,167 [cache.save_to_cache:35]:Cached /mnt/NAS_home/Downloads/gog/Planescape Torment/planescape_torment_enhanced_edition_3_1_4_26532.sh to /mnt/SSD_4TB/lutris/.cache/planescape-torment/game
DEBUG 2022-06-13 17:43:22,169 [downloader.start:65]:⬇ http://lutris.net/files/tools/unzip.tar.gz
DEBUG 2022-06-13 17:43:22,171 [downloader.start:65]:⬇ https://lutris.net/files/runners/gemrb-0.8.1-x64.tar.gz
DEBUG 2022-06-13 17:43:22,430 [downloader.download_cb:125]:Finished downloading https://lutris.net/files/runners/gemrb-0.8.1-x64.tar.gz
DEBUG 2022-06-13 17:43:22,460 [downloader.download_cb:125]:Finished downloading http://lutris.net/files/tools/unzip.tar.gz
INFO 2022-06-13 17:43:22,669 [file_box.on_download_complete:252]:Download completed
INFO 2022-06-13 17:43:22,670 [cache.save_to_cache:28]:Skipping caching of /mnt/SSD_4TB/lutris/.cache/planescape-torment/unzip/unzip.tar.gz, already cached in /mnt/SSD_4TB/lutris/.cache/planescape-torment/unzip
DEBUG 2022-06-13 17:43:22,670 [files_box.on_file_available:93]:unzip is available
INFO 2022-06-13 17:43:22,672 [file_box.on_download_complete:252]:Download completed
INFO 2022-06-13 17:43:22,672 [cache.save_to_cache:28]:Skipping caching of /mnt/SSD_4TB/lutris/.cache/planescape-torment/gemrbengine/gemrb-0.8.1-x64.tar.gz, already cached in /mnt/SSD_4TB/lutris/.cache/planescape-torment/gemrbengine
DEBUG 2022-06-13 17:43:22,673 [files_box.on_file_available:93]:gemrbengine is available
INFO 2022-06-13 17:43:22,673 [files_box.on_file_available:99]:All files available
INFO 2022-06-13 17:43:22,673 [installerwindow.on_files_available:463]:All files are available, continuing install
DEBUG 2022-06-13 17:43:22,674 [interpreter._iter_commands:317]:Installer command: {'input_menu': {'id': 'FOLDER', 'options': [{'Planescape Torment': 'English'}, {'Planescape Torment (German)': 'Deutsch'}, {'Planescape Torment (French)': 'Français'}, {'Planescape Torment (Polish)': 'Polski'}]}}
/usr/lib/python3.10/site-packages/gi/overrides/GObject.py:493: Warning: ../glib/gobject/gsignal.c:2731: instance '0x55e46a429500' has no handler with id '14336'
return func(*args, **kwargs)
DEBUG 2022-06-13 17:43:27,619 [interpreter._iter_commands:317]:Installer command: {'extract': {'dst': '$CACHE', 'file': '$unzip'}}
DEBUG 2022-06-13 17:43:27,621 [commands.extract:193]:Entpacke unzip.tar.gz
DEBUG 2022-06-13 17:43:27,621 [commands.extract:197]:extracting file /mnt/SSD_4TB/lutris/.cache/planescape-torment/unzip/unzip.tar.gz to /home/MYUSERNAME/.cache/lutris/installer/planescape-torment
DEBUG 2022-06-13 17:43:27,631 [extract.extract_archive:123]:Extracting /mnt/SSD_4TB/lutris/.cache/planescape-torment/unzip/unzip.tar.gz to /home/MYUSERNAME/.cache/lutris/installer/planescape-torment
DEBUG 2022-06-13 17:43:27,634 [extract.extract_archive:175]:Finished extracting /mnt/SSD_4TB/lutris/.cache/planescape-torment/unzip/unzip.tar.gz to /home/MYUSERNAME/.cache/lutris/installer/planescape-torment
DEBUG 2022-06-13 17:43:27,634 [commands._killable_process:552]:Process <function extract_archive at 0x7f5c353e0550> returned: ('/mnt/SSD_4TB/lutris/.cache/planescape-torment/unzip/unzip.tar.gz', '/home/MYUSERNAME/.cache/lutris/installer/planescape-torment')
DEBUG 2022-06-13 17:43:27,637 [commands.extract:199]:Extract done
DEBUG 2022-06-13 17:43:27,637 [interpreter._iter_commands:317]:Installer command: {'execute': {'args': '$game -d "$GAMEDIR/tmp" "data/noarch/*"', 'file': '$CACHE/unzip'}}
DEBUG 2022-06-13 17:43:27,639 [command.start:141]:LD_LIBRARY_PATH="/home/MYUSERNAME/.local/share/lutris/runtime/Ubuntu-18.04-i686:/home/MYUSERNAME/.local/share/lutris/runtime/steam/i386/lib/i386-linux-gnu:/home/MYUSERNAME/.local/share/lutris/runtime/steam/i386/lib:/home/MYUSERNAME/.local/share/lutris/runtime/steam/i386/usr/lib/i386-linux-gnu:/home/MYUSERNAME/.local/share/lutris/runtime/steam/i386/usr/lib:/home/MYUSERNAME/.local/share/lutris/runtime/Ubuntu-18.04-x86_64:/home/MYUSERNAME/.local/share/lutris/runtime/steam/amd64/lib/x86_64-linux-gnu:/home/MYUSERNAME/.local/share/lutris/runtime/steam/amd64/lib:/home/MYUSERNAME/.local/share/lutris/runtime/steam/amd64/usr/lib/x86_64-linux-gnu:/home/MYUSERNAME/.local/share/lutris/runtime/steam/amd64/usr/lib"
DEBUG 2022-06-13 17:43:27,639 [command.start:141]:PATH="/home/MYUSERNAME/.local/share/lutris/runtime/network-tools:/home/MYUSERNAME/.local/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/sbin:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl"
DEBUG 2022-06-13 17:43:27,639 [command.start:141]:PYTHONPATH="/usr/lib/lutris:/usr/bin:/usr/lib/python310.zip:/usr/lib/python3.10:/usr/lib/python3.10/lib-dynload:/home/MYUSERNAME/.local/lib/python3.10/site-packages:/usr/lib/python3.10/site-packages"
DEBUG 2022-06-13 17:43:27,639 [command.start:141]:LUTRIS_GAME_UUID="2d24049c-8e65-4006-acfb-331926289551"
Started initial process 312007 from /home/MYUSERNAME/.cache/lutris/installer/planescape-torment/unzip /mnt/NAS_home/Downloads/gog/Planescape Torment/planescape_torment_enhanced_edition_3_1_4_26532.sh -d /mnt/SSD_4TB/lutris/gog/planescape-torment/tmp data/noarch/*
Start monitoring process.
Archive: /mnt/NAS_home/Downloads/gog/Planescape Torment/planescape_torment_enhanced_edition_3_1_4_26532.sh
warning [/mnt/NAS_home/Downloads/gog/Planescape Torment/planescape_torment_enhanced_edition_3_1_4_26532.sh]: 790431 extra bytes at beginning or within zipfile
(attempting to process anyway)
creating: /mnt/SSD_4TB/lutris/gog/planescape-torment/tmp/data/noarch/
creating: /mnt/SSD_4TB/lutris/gog/planescape-torment/tmp/data/noarch/support/
inflating: /mnt/SSD_4TB/lutris/gog/planescape-torment/tmp/data/noarch/support/preuninst.sh
---[Inflating the game files goes here, I had to strip it out because of character limit. There were no errors in extracting the game files]
inflating: /mnt/SSD_4TB/lutris/gog/planescape-torment/tmp/data/noarch/game/Torment64
inflating: /mnt/SSD_4TB/lutris/gog/planescape-torment/tmp/data/noarch/game/Torment
inflating: /mnt/SSD_4TB/lutris/gog/planescape-torment/tmp/data/noarch/start.sh
Monitored process exited.
Initial process has exited (return code: 256)
All processes have quit
Exit with return code 256
DEBUG 2022-06-13 17:43:41,341 [command.on_stop:195]:Process 312001 has terminated with code 256
DEBUG 2022-06-13 17:43:41,647 [commands._monitor_task:449]:Return code: 256
ERROR 2022-06-13 17:43:41,648 [errors.__init__:18]:Befehl beendet mit dem Code 256
None
INFO 2022-06-13 17:45:27,408 [interpreter.revert:374]:Cancelling installation of Planescape: Torment
DEBUG 2022-06-13 17:45:27,408 [system.remove_folder:229]:Removing folder /mnt/SSD_4TB/lutris/gog/planescape-torment
DEBUG 2022-06-13 17:45:27,536 [system.remove_folder:229]:Removing folder /home/MYUSERNAME/.cache/lutris/installer/planescape-torment
DEBUG 2022-06-13 17:45:27,537 [application.on_app_window_destroyed:350]:Removed window InstallerWindow1132393016
INFO 2022-06-13 17:45:35,082 [application.do_shutdown:885]:Shutting down Lutris