Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage fails to launch - spring failed with code 127; ubuntu 22.04 #2021

Closed
vcavallo opened this issue Aug 10, 2023 · 3 comments
Closed

AppImage fails to launch - spring failed with code 127; ubuntu 22.04 #2021

vcavallo opened this issue Aug 10, 2023 · 3 comments

Comments

@vcavallo
Copy link

I downloaded the AppImage, allowed the launcher to install and then clicked "Start". I got the following error text: Spring failed with code: 127 For support please [upload log](special:log-upload-ask) and share it with us on [Discord](https://discord.gg/beyond-all-reason). and the log below (also uploaded through the launcher).

A quick skim through the logs indicates that I may need but not have libsdl2. I'll attempt to install that now and report back.

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Begin log

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Log file: /home/vcavallo/.local/state/Beyond All Reason/launcher-logs/spring-launcher-20230810T115432.log

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Beyond-All-Reason - 1.2470.0

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] App path: /tmp/.mount_BeyondQouu82/resources/app.asar

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] pr-downloader path: /tmp/.mount_BeyondQouu82/bin/pr-downloader

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Write path: /home/vcavallo/.local/state/Beyond All Reason

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Launcher configs:
[
    {
        "package": {
            "platform": "linux",
            "portable": false,
            "display": "Alpha",
            "id": "manual-linux"
        },
        "isolation": true,
        "auto_download": true,
        "auto_start": false,
        "no_downloads": false,
        "no_start_script": true,
        "load_dev_exts": false,
        "route_prd_to_nextgen": false,
        "log_upload_url": null,
        "config_url": "https://launcher-config.beyondallreason.dev/config.json",
        "silent": true,
        "error_suffix": "For support please <a href=\"special:log-upload-ask\">upload log</a> and share it with us on <a href=\"https://discord.gg/beyond-all-reason\">Discord</a>.",
        "disable_win_ascii_install_path_check": false,
        "env_variables": {
            "PRD_HTTP_SEARCH_URL": "https://files-cdn.beyondallreason.dev/find",
            "PRD_RAPID_USE_STREAMER": "false",
            "PRD_RAPID_REPO_MASTER": "https://repos-cdn.beyondallreason.dev/repos.gz"
        },
        "downloads": {
            "games": [
                "byar:test",
                "byar-chobby:test"
            ],
            "maps": [],
            "engines": [],
            "resources": [
                {
                    "url": "https://pool-init.beyondallreason.dev/data.7z",
                    "destination": "pool",
                    "extract": true,
                    "optional": true
                },
                {
                    "url": "https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-1821-gaca6f20/spring_bar_.BAR105.105.1.1-1821-gaca6f20_linux-64-minimal-portable.7z",
                    "destination": "engine/105.1.1-1821-gaca6f20 bar",
                    "extract": true
                }
            ],
            "nextgen": []
        },
        "launch": {
            "start_args": [
                "--menu",
                "rapid://byar-chobby:test"
            ],
            "springsettings": {
                "RapidTagResolutionOrder": "repos-cdn.beyondallreason.dev;repos.beyondallreason.dev"
            },
            "engine": "105.1.1-1821-gaca6f20 bar"
        },
        "logs_s3_bucket": "bar-infologs",
        "title": "Beyond All Reason"
    },
    {
        "package": {
            "platform": "linux",
            "portable": false,
            "display": "Alpha (no CDN)",
            "id": "manual-linux-no-cdn"
        },
        "isolation": true,
        "auto_download": true,
        "auto_start": false,
        "no_downloads": false,
        "no_start_script": true,
        "load_dev_exts": false,
        "route_prd_to_nextgen": false,
        "log_upload_url": null,
        "config_url": "https://launcher-config.beyondallreason.dev/config.json",
        "silent": true,
        "error_suffix": "For support please <a href=\"special:log-upload-ask\">upload log</a> and share it with us on <a href=\"https://discord.gg/beyond-all-reason\">Discord</a>.",
        "disable_win_ascii_install_path_check": false,
        "env_variables": {
            "PRD_RAPID_REPO_MASTER": "https://repos.beyondallreason.dev/repos.gz"
        },
        "downloads": {
            "games": [
                "byar:test",
                "byar-chobby:test"
            ],
            "maps": [],
            "engines": [],
            "resources": [
                {
                    "url": "https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-1821-gaca6f20/spring_bar_.BAR105.105.1.1-1821-gaca6f20_linux-64-minimal-portable.7z",
                    "destination": "engine/105.1.1-1821-gaca6f20 bar",
                    "extract": true
                }
            ],
            "nextgen": []
        },
        "launch": {
            "start_args": [
                "--menu",
                "rapid://byar-chobby:test"
            ],
            "springsettings": {
                "RapidTagResolutionOrder": "repos.beyondallreason.dev"
            },
            "engine": "105.1.1-1821-gaca6f20 bar"
        },
        "logs_s3_bucket": "bar-infologs",
        "title": "Beyond All Reason"
    },
    {
        "package": {
            "platform": "linux",
            "portable": false,
            "display": "Engine Test",
            "id": "manual-linux-test-engine"
        },
        "isolation": true,
        "auto_download": true,
        "auto_start": false,
        "no_downloads": false,
        "no_start_script": true,
        "load_dev_exts": false,
        "route_prd_to_nextgen": false,
        "log_upload_url": null,
        "config_url": "https://launcher-config.beyondallreason.dev/config.json",
        "silent": true,
        "error_suffix": "For support please <a href=\"special:log-upload-ask\">upload log</a> and share it with us on <a href=\"https://discord.gg/beyond-all-reason\">Discord</a>.",
        "disable_win_ascii_install_path_check": false,
        "env_variables": {
            "PRD_HTTP_SEARCH_URL": "https://files-cdn.beyondallreason.dev/find",
            "PRD_RAPID_USE_STREAMER": "false",
            "PRD_RAPID_REPO_MASTER": "https://repos-cdn.beyondallreason.dev/repos.gz"
        },
        "downloads": {
            "games": [
                "byar:test",
                "byar-chobby:test"
            ],
            "maps": [],
            "engines": [],
            "resources": [
                {
                    "url": "https://pool-init.beyondallreason.dev/data.7z",
                    "destination": "pool",
                    "extract": true,
                    "optional": true
                },
                {
                    "url": "https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-1821-gaca6f20/spring_bar_.BAR105.105.1.1-1821-gaca6f20_linux-64-minimal-portable.7z",
                    "destination": "engine/105.1.1-1821-gaca6f20 bar",
                    "extract": true
                }
            ],
            "nextgen": []
        },
        "launch": {
            "start_args": [
                "--menu",
                "rapid://byar-chobby:test"
            ],
            "springsettings": {
                "RapidTagResolutionOrder": "repos-cdn.beyondallreason.dev;repos.beyondallreason.dev"
            },
            "engine": "105.1.1-1821-gaca6f20 bar"
        },
        "logs_s3_bucket": "bar-infologs",
        "title": "Beyond All Reason"
    },
    {
        "package": {
            "platform": "linux",
            "portable": false,
            "display": "Dev Lobby",
            "id": "dev-lobby-linux"
        },
        "isolation": true,
        "auto_download": false,
        "auto_start": false,
        "no_downloads": true,
        "no_start_script": true,
        "load_dev_exts": false,
        "route_prd_to_nextgen": false,
        "log_upload_url": null,
        "config_url": null,
        "silent": true,
        "error_suffix": "For support please <a href=\"special:log-upload-ask\">upload log</a> and share it with us on <a href=\"https://discord.gg/beyond-all-reason\">Discord</a>.",
        "disable_win_ascii_install_path_check": false,
        "env_variables": {},
        "downloads": {
            "games": [],
            "maps": [],
            "engines": [],
            "resources": [
                {
                    "url": "https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-1821-gaca6f20/spring_bar_.BAR105.105.1.1-1821-gaca6f20_linux-64-minimal-portable.7z",
                    "destination": "engine/105.1.1-1821-gaca6f20 bar",
                    "extract": true
                }
            ],
            "nextgen": []
        },
        "launch": {
            "start_args": [
                "--menu",
                "BYAR Chobby $VERSION"
            ],
            "springsettings": {},
            "engine": "105.1.1-1821-gaca6f20 bar"
        },
        "logs_s3_bucket": "bar-infologs",
        "title": "Beyond All Reason"
    }
]

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Default config:
{
    "package": {
        "platform": "linux",
        "portable": false,
        "display": "Alpha",
        "id": "manual-linux"
    },
    "isolation": true,
    "auto_download": true,
    "auto_start": false,
    "no_downloads": false,
    "no_start_script": true,
    "load_dev_exts": false,
    "route_prd_to_nextgen": false,
    "log_upload_url": null,
    "config_url": "https://launcher-config.beyondallreason.dev/config.json",
    "silent": true,
    "error_suffix": "For support please <a href=\"special:log-upload-ask\">upload log</a> and share it with us on <a href=\"https://discord.gg/beyond-all-reason\">Discord</a>.",
    "disable_win_ascii_install_path_check": false,
    "env_variables": {
        "PRD_HTTP_SEARCH_URL": "https://files-cdn.beyondallreason.dev/find",
        "PRD_RAPID_USE_STREAMER": "false",
        "PRD_RAPID_REPO_MASTER": "https://repos-cdn.beyondallreason.dev/repos.gz"
    },
    "downloads": {
        "games": [
            "byar:test",
            "byar-chobby:test"
        ],
        "maps": [],
        "engines": [],
        "resources": [
            {
                "url": "https://pool-init.beyondallreason.dev/data.7z",
                "destination": "pool",
                "extract": true,
                "optional": true
            },
            {
                "url": "https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-1821-gaca6f20/spring_bar_.BAR105.105.1.1-1821-gaca6f20_linux-64-minimal-portable.7z",
                "destination": "engine/105.1.1-1821-gaca6f20 bar",
                "extract": true
            }
        ],
        "nextgen": []
    },
    "launch": {
        "start_args": [
            "--menu",
            "rapid://byar-chobby:test"
        ],
        "springsettings": {
            "RapidTagResolutionOrder": "repos-cdn.beyondallreason.dev;repos.beyondallreason.dev"
        },
        "engine": "105.1.1-1821-gaca6f20 bar"
    },
    "logs_s3_bucket": "bar-infologs",
    "title": "Beyond All Reason"
}

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] bridge: listening on port: 127.0.0.1:40173

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/bridge_download.js...

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/dev_extension_loader.js...

[Thu Aug 10 2023 07:54:32 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/map_parser.js...

[Thu Aug 10 2023 07:54:33 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/open_file.js...

[Thu Aug 10 2023 07:54:33 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/replay_handler.js...

[Thu Aug 10 2023 07:54:33 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/start_new_spring_handler.js...

[Thu Aug 10 2023 07:54:33 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/track_files.js...

[Thu Aug 10 2023 07:54:33 GMT-0400 (Eastern Daylight Time) info] Including extension: ./exts/upload_log.js...

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Checking for update

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Step: {
    "name": "resource",
    "item": {
        "url": "https://pool-init.beyondallreason.dev/data.7z",
        "destination": "pool",
        "extract": true,
        "optional": true
    }
}

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Download finished: pool

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Step: {
    "name": "resource",
    "item": {
        "url": "https://github.com/beyond-all-reason/spring/releases/download/spring_bar_%7BBAR105%7D105.1.1-1821-gaca6f20/spring_bar_.BAR105.105.1.1-1821-gaca6f20_linux-64-minimal-portable.7z",
        "destination": "engine/105.1.1-1821-gaca6f20 bar",
        "extract": true
    }
}

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Download finished: engine/105.1.1-1821-gaca6f20 bar

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Step: {
    "name": "games",
    "item": "byar:test, byar-chobby:test"
}

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Download started: byar:test, byar-chobby:test

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Skipping /home/vcavallo/.local/state/Beyond All Reason/engine/105.1.1-1821-gaca6f20 bar: already exists.

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] Skipping /home/vcavallo/.local/state/Beyond All Reason/pool: already exists.

[Thu Aug 10 2023 07:54:34 GMT-0400 (Eastern Daylight Time) info] pr-downloader 0.7-752-g613ba1d (linux64)

[Thu Aug 10 2023 07:54:40 GMT-0400 (Eastern Daylight Time) info] [Info] /spring/tools/pr-downloader/src/FileSystem/FileSystem.cpp:202:setWritePath():Using filesystem-writepath: /home/vcavallo/.local/state/Beyond All Reason
[Info] /spring/tools/pr-downloader/src/pr-downloader.cpp:187:DownloadSetConfig():Free disk space: 433818 MB
[Info] /spring/tools/pr-downloader/src/Downloader/CurlWrapper.cpp:31:DumpVersion():libcurl 7.86.0 OpenSSL/1.1.1s
[Info] /spring/tools/pr-downloader/src/Downloader/CurlWrapper.cpp:79:ConfigureCertificates():CURLOPT_CAINFO is /etc/ssl/certs/ca-certificates.crt (can be overriden by PRD_SSL_CERT_FILE env variable)
[Info] /spring/tools/pr-downloader/src/Downloader/CurlWrapper.cpp:81:ConfigureCertificates():CURLOPT_CAPATH is /etc/ssl/certs (can be overriden by PRD_SSL_CERT_DIR env variable)
[Info] /spring/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:254:ParseFD():Found 4 repos in /home/vcavallo/.local/state/Beyond All Reason/rapid/repos-cdn.beyondallreason.dev/repos.gz
[Progress]  50% [===============               ] 1/2 
[Progress] 100% [==============================] 2/2 

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] [Info] /spring/tools/pr-downloader/src/Downloader/Http/HttpDownloader.cpp:727:download():Download: num files: 2, protocol: HTTP/2, to first byte: [max: 8030.864ms 95%: 8030.864ms median: 2662.302ms mean: 5346.583ms], transfer: [max: 8031.000ms 95%: 8031.000ms median: 8030.893ms mean: 8030.947ms], num retried errors: 0
[Info] /spring/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:78:download_name():[Download] Beyond All Reason test-23843-eebb926
[Info] /spring/tools/pr-downloader/src/Downloader/Rapid/RapidDownloader.cpp:78:download_name():[Download] BYAR Chobby test-2471-9419a14
[Info] /spring/tools/pr-downloader/src/main.cpp:185:main():Download complete!

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Download finished: byar:test, byar-chobby:test

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Step: {
    "name": "config update"
}

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Checking for config update from: https://launcher-config.beyondallreason.dev/config.json...

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Config files are identical

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Step: {
    "name": "launcher_update"
}

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Checking for launcher update

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Update for version 1.2470.0 is not available (latest version: 1.2470.0, downgrade is disallowed).

[Thu Aug 10 2023 07:54:42 GMT-0400 (Eastern Daylight Time) info] Step: {
    "name": "start"
}

[Thu Aug 10 2023 07:59:30 GMT-0400 (Eastern Daylight Time) info] Step: {
    "name": "start"
}

[Thu Aug 10 2023 07:59:30 GMT-0400 (Eastern Daylight Time) info] Starting Spring from: /home/vcavallo/.local/state/Beyond All Reason/engine/105.1.1-1821-gaca6f20 bar/spring

[Thu Aug 10 2023 07:59:30 GMT-0400 (Eastern Daylight Time) info] Launching Spring with command: /home/vcavallo/.local/state/Beyond All Reason/engine/105.1.1-1821-gaca6f20 bar/spring --write-dir /home/vcavallo/.local/state/Beyond All Reason --isolation --menu rapid://byar-chobby:test

[Thu Aug 10 2023 07:59:30 GMT-0400 (Eastern Daylight Time) info] Loading dev extensions: false

[Thu Aug 10 2023 07:59:30 GMT-0400 (Eastern Daylight Time) warn] /home/vcavallo/.local/state/Beyond All Reason/engine/105.1.1-1821-gaca6f20 bar/spring: error while loading shared libraries: libSDL2-2.0.so.0: cannot open shared object file: No such file or directory

[Thu Aug 10 2023 07:59:30 GMT-0400 (Eastern Daylight Time) error] Spring failed with code: 127
@vcavallo
Copy link
Author

Happy Update:

I had to manually install two dependencies:

apt install libsdl2-2.0-0
apt install libopenal1

After which the game launches.

@p2004a
Copy link
Collaborator

p2004a commented Sep 3, 2023

Asked website maintainer to integrated something like this in the install instructions https://gist.github.com/p2004a/365c263fb9b0f3a3b555ea14456284f7

@p2004a
Copy link
Collaborator

p2004a commented Sep 17, 2023

Instructions are now on website

@p2004a p2004a closed this as completed Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants