SPT-Linux-Guide icon indicating copy to clipboard operation
SPT-Linux-Guide copied to clipboard

Issue with install script

Open suited-1 opened this issue 1 year ago • 3 comments

Issue Report

Distro: Ubuntu Server

Install method: Installer, Following the guide

EFT Version: NA

Mod Version: NA

Description

Run into this error when attempting to install via install script. Ran into the issue on both arch and Ubuntu

Attachments

2025-01-24 04:18:23,459: mapping values are not allowed here
  in "<unicode string>", line 206, column 75:
     ... age-responsive" style="word-wrap: break-word;">
                                         ^
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lutris/exceptions.py", line 67, in wrapper
    return function(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lutris/gui/addgameswindow.py", line 590, in on_continue_install_from_script_clicked
    installers = get_installers(installer_file=path)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lutris/installer/__init__.py", line 36, in get_installers
    return [normalize_installer(i) for i in read_script(installer_file)]
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/lutris/installer/__init__.py", line 25, in read_script
    script = yaml.safe_load(local_file.read())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 125, in safe_load
    return load(stream, SafeLoader)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yaml/__init__.py", line 81, in load
    return loader.get_single_data()
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yaml/constructor.py", line 49, in get_single_data
    node = self.get_single_node()
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yaml/composer.py", line 36, in get_single_node
    document = self.compose_document()
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yaml/composer.py", line 58, in compose_document
    self.get_event()
  File "/usr/lib/python3/dist-packages/yaml/parser.py", line 118, in get_event
    self.current_event = self.state()
                         ^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yaml/parser.py", line 193, in parse_document_end
    token = self.peek_token()
            ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/yaml/scanner.py", line 129, in peek_token
    self.fetch_more_tokens()
  File "/usr/lib/python3/dist-packages/yaml/scanner.py", line 223, in fetch_more_tokens
    return self.fetch_value()
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-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 206, column 75:
     ... age-responsive" style="word-wrap: break-word;">

suited-1 avatar Jan 24 '25 04:01 suited-1

Which installer? At which step does it fail? Ubuntu Server sounds ominous too. Whatever that error is, it's probably not an issue of the installer script itself.

Edit: If you just want to run the server, you wouldn't need to do a full install of the game. Just using the SPT mod files would be enough.. no idea why you'd use Ubuntu Server otherwise.

MadByteDE avatar Jan 24 '25 07:01 MadByteDE

Yeah i'm just trying to run the server. couldn't find any guides or anything on just running the server. it fails after i select the yml file and hit install. i ran into this same issue on arch with KDE as well as my headless server (im passing the x server through to my windows pc)

edit: step 3 referencing the guide

suited-1 avatar Jan 24 '25 08:01 suited-1

There's not the guide, there's a bunch of different ones.. I'd need to know which one you used. Anyway, the setup is not supported here anyway.. just use the server standalone and go to the fika discord for help :)

MadByteDE avatar Jan 24 '25 09:01 MadByteDE