Skip to content

[BUG] Install Script Error (Elemental Warrior) #56

Description

@RexOdonata

Does an issue for this already exist?

  • I have searched the existing issues
  • I have ensured my environment (operating system, app launcher, etc) is up to date

Operating System and Version

Majaro 25.0.7

Launcher

Lutris (Recommended)

Launcher Installation

Flatpak (Recommended)

Other Install

No response

Wine Version

ElementalWarrior (Recommended)

Affinity Version

2

Desktop Environment

xfce4

Description

On running the Elemental Warrior install script 'Affinity-ew.yaml' an error occurs, see logs.

Steps to reproduce

  1. Install Lutris via flatpak
  2. Create 'wine' directory in '~/.var/app/net.lutris.Lutris/data/lutris/runners/'
  3. Download Elemental Warrior tar, extract to above directory
  4. Download Affinity-ew.yaml for Elemental Warrior
  5. Follow instructions in guide step 4 'Add Affinity to Lutris'

Expected behaviour

Complete Install Script and proceed to executable selection

Screenshots

See Logs

Logs

mapping values are not allowed here
  in "<unicode string>", line 35, column 28:
          --tab-size-preference: 4;
                               ^

Traceback (most recent call last):

  File "/app/lib/python3.11/site-packages/lutris/exception_backstops.py", line 79, in error_wrapper
    return handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/lutris/gui/addgameswindow.py", line 449, in on_continue_install_from_script_clicked
    installers = get_installers(installer_file=path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/lutris/installer/__init__.py", line 37, in get_installers
    return [normalize_installer(i) for i in read_script(installer_file)]
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/lutris/installer/__init__.py", line 26, in read_script
    script = yaml.safe_load(local_file.read())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/__init__.py", line 125, in safe_load
    return load(stream, SafeLoader)
           ^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/__init__.py", line 81, in load
    return loader.get_single_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
           ^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
               ^^^^^^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/composer.py", line 58, in compose_document
    self.get_event()

  File "/app/lib/python3.11/site-packages/yaml/parser.py", line 118, in get_event
    self.current_event = self.state()
                         ^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/parser.py", line 193, in parse_document_end
    token = self.peek_token()
            ^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 129, in peek_token
    self.fetch_more_tokens()

  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 223, in fetch_more_tokens
    return self.fetch_value()
           ^^^^^^^^^^^^^^^^^^

  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 577, in fetch_value
    raise ScannerError(None, None,

yaml.scanner.ScannerError: mapping values are not allowed here
  in "<unicode string>", line 35, column 28:
          --tab-size-preference: 4;
                               ^

Lutris log:
[INFO:2025-09-14 15:08:31,802:application]: Starting Lutris 0.5.19
[INFO:2025-09-14 15:08:31,843:__init__]: Running migration: mess_to_mame
[INFO:2025-09-14 15:08:31,844:__init__]: Running migration: migrate_hidden_ids
[INFO:2025-09-14 15:08:31,845:__init__]: Running migration: migrate_steam_appids
[INFO:2025-09-14 15:08:31,845:__init__]: Running migration: retrieve_discord_appids
[INFO:2025-09-14 15:08:31,846:retrieve_discord_appids]: Updating Games Discord APP ID's
[INFO:2025-09-14 15:08:31,847:__init__]: Running migration: migrate_sortname
[INFO:2025-09-14 15:08:31,847:migrate_sortname]: Adding blank sortname field to database
[INFO:2025-09-14 15:08:31,848:__init__]: Running migration: migrate_hidden_category
[INFO:2025-09-14 15:08:31,848:migrate_hidden_category]: Moving hidden games to the '.hidden' category
[INFO:2025-09-14 15:08:31,848:__init__]: Running migration: migrate_ge_proton
[INFO:2025-09-14 15:08:31,894:startup]: "card1" is Intel Graphics (8086:7d67 1458:d000 i915) Driver None
[INFO:2025-09-14 15:08:32,381:startup]: "card2" is NVIDIA GeForce RTX 3050 (10de:2584 10de:2584 nvidia) Driver 575.64.05
[WARNING:2025-09-14 15:08:34,907:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/umu-games
[WARNING:2025-09-14 15:08:35,518:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/umu
[WARNING:2025-09-14 15:08:41,602:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/winetricks
[WARNING:2025-09-14 15:08:43,042:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/battleye_runtime
[WARNING:2025-09-14 15:08:43,458:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/eac_runtime
[WARNING:2025-09-14 15:08:44,802:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/innoextract-1.9-linux
[WARNING:2025-09-14 15:08:45,365:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/p7zip
[WARNING:2025-09-14 15:08:45,923:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/gamecontrollerdb
[WARNING:2025-09-14 15:08:46,424:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/network-tools
[WARNING:2025-09-14 15:08:47,591:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/Ubuntu-18.04-i686
[WARNING:2025-09-14 15:08:48,440:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/Ubuntu-18.04-x86_64
[WARNING:2025-09-14 15:08:48,894:system]: Non existent path: /home/user/.var/app/net.lutris.Lutris/data/lutris/runtime/dxvk-cache-tool
[ERROR:2025-09-14 15:12:45,872:exception_backstops]: Error handling signal 'clicked': mapping values are not allowed here
  in "<unicode string>", line 35, column 28:
          --tab-size-preference: 4;
                               ^
Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/lutris/exception_backstops.py", line 79, in error_wrapper
    return handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/gui/addgameswindow.py", line 449, in on_continue_install_from_script_clicked
    installers = get_installers(installer_file=path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/installer/__init__.py", line 37, in get_installers
    return [normalize_installer(i) for i in read_script(installer_file)]
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/installer/__init__.py", line 26, in read_script
    script = yaml.safe_load(local_file.read())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/__init__.py", line 125, in safe_load
    return load(stream, SafeLoader)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/__init__.py", line 81, in load
    return loader.get_single_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/composer.py", line 58, in compose_document
    self.get_event()
  File "/app/lib/python3.11/site-packages/yaml/parser.py", line 118, in get_event
    self.current_event = self.state()
                         ^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/parser.py", line 193, in parse_document_end
    token = self.peek_token()
            ^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 129, in peek_token
    self.fetch_more_tokens()
  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 223, in fetch_more_tokens
    return self.fetch_value()
           ^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 577, in fetch_value
    raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
  in "<unicode string>", line 35, column 28:
          --tab-size-preference: 4;
                               ^
[ERROR:2025-09-14 15:17:27,492:exception_backstops]: Error handling signal 'clicked': mapping values are not allowed here
  in "<unicode string>", line 35, column 28:
          --tab-size-preference: 4;
                               ^
Traceback (most recent call last):
  File "/app/lib/python3.11/site-packages/lutris/exception_backstops.py", line 79, in error_wrapper
    return handler(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/gui/addgameswindow.py", line 449, in on_continue_install_from_script_clicked
    installers = get_installers(installer_file=path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/installer/__init__.py", line 37, in get_installers
    return [normalize_installer(i) for i in read_script(installer_file)]
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/lutris/installer/__init__.py", line 26, in read_script
    script = yaml.safe_load(local_file.read())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/__init__.py", line 125, in safe_load
    return load(stream, SafeLoader)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/__init__.py", line 81, in load
    return loader.get_single_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/composer.py", line 58, in compose_document
    self.get_event()
  File "/app/lib/python3.11/site-packages/yaml/parser.py", line 118, in get_event
    self.current_event = self.state()
                         ^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/parser.py", line 193, in parse_document_end
    token = self.peek_token()
            ^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 129, in peek_token
    self.fetch_more_tokens()
  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 223, in fetch_more_tokens
    return self.fetch_value()
           ^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/yaml/scanner.py", line 577, in fetch_value
    raise ScannerError(None, None,
yaml.scanner.ScannerError: mapping values are not allowed here
  in "<unicode string>", line 35, column 28:
          --tab-size-preference: 4;
                               ^

Config

No response

Self-service

  • I'd be willing to fix this issue myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SolvedA found resolutionbugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions