an-anime-team / sleepy-launcher

Sleepy game launcher for Linux with telemetry disabling
https://discord.gg/ck37X6UWBp
GNU General Public License v3.0
87 stars 1 forks source link

Errors during installation #15

Open amatsagu opened 1 month ago

amatsagu commented 1 month ago

latest-screenshot

Debian 13 (Trixie, testing channel) Kernel 6.9.7-amd64 Sway v1.9 (with enabled xwayland) Sleepy launcher installed using flatpak

I have around 60mbps in download on speedtests, can easily watch 4k videos on YT, etc. but Sleepy launcher fails every time when I want to download any Wine (trying to download recommended version on screenshot).

amatsagu commented 1 month ago

I've tried to download Wine-GE-Proton 8-26, instantly received popup about timeout error and it generated more logs:

2024-07-12T19:39:39.698030Z  INFO sleepy_launcher: Starting application (1.0.1)
    at src/main.rs:192

  2024-07-12T19:39:40.013504Z DEBUG anime_launcher_sdk::config: Reading config data from file
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/config/mod.rs:41

  2024-07-12T19:39:40.013721Z  INFO sleepy_launcher: Set UI language to en-US
    at src/main.rs:213

  2024-07-12T19:39:40.019529Z  INFO sleepy_launcher::ui::first_run::main: Initializing first run window
    at src/ui/first_run/main.rs:115

  2024-07-12T19:39:40.029616Z  INFO sleepy_launcher::ui::first_run::main: First run window initialized. App is ready
    at src/ui/first_run/main.rs:159

  2024-07-12T19:39:41.735358Z TRACE anime_launcher_sdk: Checking package availability
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/lib.rs:50
    in anime_launcher_sdk::is_available with binary: "git"
    in relm4::component::r#async::builder::update_with_view with input: Continue, component: "sleepy_launcher::ui::first_run::welcome::WelcomeApp", id: "0x7ffcfff486c0"

  2024-07-12T19:39:41.735875Z TRACE anime_launcher_sdk: return: true
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/lib.rs:48
    in anime_launcher_sdk::is_available with binary: "git"
    in relm4::component::r#async::builder::update_with_view with input: Continue, component: "sleepy_launcher::ui::first_run::welcome::WelcomeApp", id: "0x7ffcfff486c0"

  2024-07-12T19:39:41.735893Z TRACE anime_launcher_sdk: Checking package availability
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/lib.rs:50
    in anime_launcher_sdk::is_available with binary: "dwebp"
    in relm4::component::r#async::builder::update_with_view with input: Continue, component: "sleepy_launcher::ui::first_run::welcome::WelcomeApp", id: "0x7ffcfff486c0"

  2024-07-12T19:39:41.736256Z TRACE anime_launcher_sdk: return: true
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/lib.rs:48
    in anime_launcher_sdk::is_available with binary: "dwebp"
    in relm4::component::r#async::builder::update_with_view with input: Continue, component: "sleepy_launcher::ui::first_run::welcome::WelcomeApp", id: "0x7ffcfff486c0"

  2024-07-12T19:39:41.736272Z TRACE anime_launcher_sdk: Checking package availability
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/lib.rs:50
    in anime_launcher_sdk::is_available with binary: "7z"
    in relm4::component::r#async::builder::update_with_view with input: Continue, component: "sleepy_launcher::ui::first_run::welcome::WelcomeApp", id: "0x7ffcfff486c0"

  2024-07-12T19:39:41.736666Z TRACE anime_launcher_sdk: return: true
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/lib.rs:48
    in anime_launcher_sdk::is_available with binary: "7z"
    in relm4::component::r#async::builder::update_with_view with input: Continue, component: "sleepy_launcher::ui::first_run::welcome::WelcomeApp", id: "0x7ffcfff486c0"

  2024-07-12T19:39:41.736744Z DEBUG sleepy_launcher::ui::first_run::main: Called first run window event: ScrollToDefaultPaths
    at src/ui/first_run/main.rs:165
    in relm4::component::sync::builder::update_with_view with input: ScrollToDefaultPaths, component: "sleepy_launcher::ui::first_run::main::FirstRunApp", id: "0x7ffcfff47fb0"

  2024-07-12T19:39:44.033795Z DEBUG anime_launcher_sdk::config: Updating config data
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/config/mod.rs:66
    in relm4::component::r#async::builder::update_with_view with input: Continue, component: "sleepy_launcher::ui::first_run::default_paths::DefaultPathsApp", id: "0x7ffcfff46578"

  2024-07-12T19:39:44.034094Z DEBUG sleepy_launcher::ui::first_run::main: Called first run window event: ScrollToDownloadComponents
    at src/ui/first_run/main.rs:165
    in relm4::component::sync::builder::update_with_view with input: ScrollToDownloadComponents, component: "sleepy_launcher::ui::first_run::main::FirstRunApp", id: "0x7ffcfff47fb0"

  2024-07-12T19:39:44.034306Z TRACE anime_game_core::traits::git_sync: Checking local repository sync state: "/home/amatsagu/.var/app/moe.launcher.sleepy-launcher/data/sleepy-launcher/components"
    at /run/build/sleepy/cargo/vendor/anime-game-core/src/traits/git_sync.rs:21

  2024-07-12T19:39:44.034368Z TRACE anime_game_core::traits::git_sync: Checking local repository sync state. Folder: "/home/amatsagu/.var/app/moe.launcher.sleepy-launcher/data/sleepy-launcher/components". Remote: https://github.com/an-anime-team/components
    at /run/build/sleepy/cargo/vendor/anime-game-core/src/traits/git_sync.rs:40

  2024-07-12T19:39:44.034424Z DEBUG sleepy_launcher::ui::first_run::main: Called first run window event: SetLoadingStatus(Some(Some("Updating components index")))
    at src/ui/first_run/main.rs:165
    in relm4::component::sync::builder::update_with_view with input: SetLoadingStatus(Some(Some("Updating components index"))), component: "sleepy_launcher::ui::first_run::main::FirstRunApp", id: "0x7ffcfff47fb0"

  2024-07-12T19:39:49.717116Z DEBUG anime_launcher_sdk::components::loader: Getting wine versions
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/components/loader.rs:12
    in anime_launcher_sdk::components::loader::get_wine_versions with index: "/home/amatsagu/.var/app/moe.launcher.sleepy-launcher/data/sleepy-launcher/components"
    in anime_launcher_sdk::components::loader::get_wine_versions with self: ComponentsLoader { folder: "/home/amatsagu/.var/app/moe.launcher.sleepy-launcher/data/sleepy-launcher/components" }
    in relm4::component::r#async::builder::update_with_view with input: UpdateVersionsLists, component: "sleepy_launcher::ui::first_run::download_components::DownloadComponentsApp", id: "0x7ffcfff47ad0"

  2024-07-12T19:39:49.718110Z DEBUG anime_launcher_sdk::components::loader: Getting dxvk versions
    at /run/build/sleepy/cargo/vendor/anime-launcher-sdk/src/components/loader.rs:83
    in anime_launcher_sdk::components::loader::get_dxvk_versions with index: "/home/amatsagu/.var/app/moe.launcher.sleepy-launcher/data/sleepy-launcher/components"
    in anime_launcher_sdk::components::loader::get_dxvk_versions with self: ComponentsLoader { folder: "/home/amatsagu/.var/app/moe.launcher.sleepy-launcher/data/sleepy-launcher/components" }
    in relm4::component::r#async::builder::update_with_view with input: UpdateVersionsLists, component: "sleepy_launcher::ui::first_run::download_components::DownloadComponentsApp", id: "0x7ffcfff47ad0"

  2024-07-12T19:39:49.722207Z DEBUG sleepy_launcher::ui::first_run::main: Called first run window event: SetLoadingStatus(None)
    at src/ui/first_run/main.rs:165
    in relm4::component::sync::builder::update_with_view with input: SetLoadingStatus(None), component: "sleepy_launcher::ui::first_run::main::FirstRunApp", id: "0x7ffcfff47fb0"

  2024-07-12T19:40:01.060568Z  INFO sleepy_launcher::ui::first_run::download_components: Installing wine: lutris-GE-Proton8-26-x86_64
    at src/ui/first_run/download_components.rs:371

  2024-07-12T19:40:01.061203Z TRACE minreq::connection: Setting up TLS parameters for github.com.
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:171

  2024-07-12T19:40:01.063028Z TRACE minreq::connection: Establishing TCP connection to github.com.
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:179

  2024-07-12T19:40:06.148575Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(2.912096579s))
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:158

  2024-07-12T19:40:06.178419Z TRACE minreq::connection: Establishing TLS session to github.com.
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:183

  2024-07-12T19:40:06.178473Z TRACE minreq::connection: Writing HTTPS request to github.com.
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:185

  2024-07-12T19:40:06.178483Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(2.882176397s))
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:158

  2024-07-12T19:40:06.294609Z TRACE minreq::connection: Reading HTTPS response from github.com.
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:190

  2024-07-12T19:40:06.688558Z DEBUG minreq::connection: Redirecting (302) to: https://objects.githubusercontent.com/github-production-release-asset-2e65be/223100333/df0ad471-e17c-484d-b4ab-f9994dba7497?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240712%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240712T194006Z&X-Amz-Expires=300&X-Amz-Signature=a6f6bc92d58b9d43351e09e52f6c8d9040b2139b3195014a88f7c303e89ca1ac&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=223100333&response-content-disposition=attachment%3B%20filename%3Dwine-lutris-GE-Proton8-26-x86_64.tar.xz&response-content-type=application%2Foctet-stream
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:371

  2024-07-12T19:40:06.688953Z TRACE minreq::connection: Setting up TLS parameters for objects.githubusercontent.com.
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:171

  2024-07-12T19:40:06.689137Z TRACE minreq::connection: Establishing TCP connection to objects.githubusercontent.com.
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:179

  2024-07-12T19:40:09.060844Z ERROR sleepy_launcher::ui::first_run::download_components: Failed to initialize wine installer: the timeout of the request was reached
    at src/ui/first_run/download_components.rs:428

  2024-07-12T19:40:09.061415Z DEBUG sleepy_launcher::ui::first_run::main: Called first run window event: Toast { title: "Failed to install wine", description: Some("the timeout of the request was reached") }
    at src/ui/first_run/main.rs:165
    in relm4::component::sync::builder::update_with_view with input: Toast { title: "Failed to install wine", description: Some("the timeout of the request was reached") }, component: "sleepy_launcher::ui::first_run::main::FirstRunApp", id: "0x7ffcfff47fb0"

  2024-07-12T19:40:11.757578Z TRACE minreq::connection: Timeout requested, it is currently: Err(Custom { kind: TimedOut, error: "the timeout of the request was reached" })
    at /run/build/sleepy/cargo/vendor/minreq-2.11.2/src/connection.rs:158
amatsagu commented 1 month ago

Update: For some reason, it has higher problem when I used wifi or internet from SIM card, it worked just fine once I connected with ethernet cable straight to router. I still see it as a bug tho

Mar0xy commented 4 weeks ago

I use internet provided by a SIM Card at home mainly and never had any issues with installation.

Did you try manually opening the url it shows in the log after it timed out to see if it is maybe github or the SIM provider doing some jank.

amatsagu commented 4 weeks ago

Yeah and in browser - it downloads instantly. This is also the only case I had any problem with my wwan connection.