You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cultivation is crashing on Linux right after the download, when it's unzipping the downloaded files.
thread 'main' panicked at src/unzip.rs:27:38:
called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
thread 'main' panicked at core/src/panicking.rs:221:5:
panic in a function that cannot unwind
stack backtrace:
0: 0x5a869f4eb4d2 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha76e39dbedb018d2
1: 0x5a869f51a6e3 - core::fmt::write::h701b38b9ee9775ef
2: 0x5a869f4e5e2f - std::io::Write::write_fmt::h53b2c5fa4a3a3284
3: 0x5a869f4eb382 - std::sys::backtrace::BacktraceLock::print::h769c8a52ed7537f5
4: 0x5a869f4ec704 - std::panicking::default_hook::{{closure}}::h831f61a2c70747b0
5: 0x5a869f4ec546 - std::panicking::default_hook::h7b8e28414a5b4d3b
6: 0x5a869f4ecd12 - std::panicking::rust_panic_with_hook::h72b2a7caae76ecf4
7: 0x5a869f4ecb66 - std::panicking::begin_panic_handler::{{closure}}::h89a49b7d16bacd6b
8: 0x5a869f4eb999 - std::sys::backtrace::__rust_end_short_backtrace::h6d8d286deb18c72f
9: 0x5a869f4ec7fc - rust_begin_unwind
10: 0x5a869d68917d - core::panicking::panic_nounwind_fmt::hd90fb2ac4357be91
11: 0x5a869d689212 - core::panicking::panic_nounwind::h1f697e97b53f17d6
12: 0x5a869d6893d6 - core::panicking::panic_cannot_unwind::h6639dbe4572614ab
13: 0x5a869eddb7a7 - ::connect_script_message_received::script_message_received_trampoline::hfe7c825cdc7c96ef
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/webkit2gtk-0.18.2/src/auto/user_content_manager.rs:290:5
14: 0x7b7494ac482a - g_closure_invoke
15: 0x7b7494af5565 -
16: 0x7b7494ae5ca9 -
17: 0x7b7494ae5f32 - g_signal_emit_valist
18: 0x7b7494ae5ff4 - g_signal_emit
19: 0x7b74915a22a3 -
20: 0x7b74910d853e -
21: 0x7b7491427429 -
22: 0x7b7491528d80 -
23: 0x7b749141ad05 -
24: 0x7b749141f97d -
25: 0x7b748f35555b -
26: 0x7b748f355640 -
27: 0x7b748d30d559 -
28: 0x7b748d370257 -
29: 0x7b748d30ca55 - g_main_context_iteration
30: 0x7b748f9e4fef - gtk_main_iteration_do
31: 0x5a869ef883d2 - gtk::auto::functions::main_iteration_do::hd7a48691be1ad3fc
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gtk-0.15.5/src/auto/functions.rs:405:24
32: 0x5a869dacc069 - tao::platform_impl::platform::event_loop::EventLoop::run_return::{{closure}}::h508df8494da67b6b
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.12.2/src/platform_impl/linux/event_loop.rs:1003:11
33: 0x5a869d9e1eab - glib::main_context::::with_thread_default::h6593c4207e3a5bfc
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/glib-0.15.12/src/main_context.rs:156:12
34: 0x5a869dacbcde - tao::platform_impl::platform::event_loop::EventLoop::run_return::hffdd556f1cbc7700
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.12.2/src/platform_impl/linux/event_loop.rs:897:5
35: 0x5a869dacc9fd - tao::platform_impl::platform::event_loop::EventLoop::run::h73f9b64a92dcd091
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.12.2/src/platform_impl/linux/event_loop.rs:853:21
36: 0x5a869deae287 - tao::event_loop::EventLoop::run::hf258a3c693a2bedb
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tao-0.12.2/src/event_loop.rs:177:5
37: 0x5a869db7a507 - <tauri_runtime_wry::Wry as tauri_runtime::Runtime>::run::hbbaab2b38b4d2272
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-runtime-wry-0.10.3/src/lib.rs:2059:5
38: 0x5a869dcc0b83 - tauri::app::App::run::hb4628aca1ec8a33a
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.0.9/src/app.rs:732:5
39: 0x5a869dcc0fea - tauri::app::Builder::run::ha3d0eec501f15420
at /home/visetine/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-1.0.9/src/app.rs:1585:5
40: 0x5a869daee04d - cultivation::main::hb2db32196b080eec
at /home/visetine/Git/Cultivation/src-tauri/src/main.rs:199:5
41: 0x5a869da1fe22 - core::ops::function::FnOnce::call_once::h1530dfb327c2578b
at /usr/src/debug/rust/rustc-1.83.0-src/library/core/src/ops/function.rs:250:5
42: 0x5a869d9c3705 - std::sys::backtrace::__rust_begin_short_backtrace::hfea2f3887102e302
at /usr/src/debug/rust/rustc-1.83.0-src/library/std/src/sys/backtrace.rs:154:18
43: 0x5a869d81eaa6 - std::rt::lang_start::{{closure}}::h91653f8ff87ed4e2
at /usr/src/debug/rust/rustc-1.83.0-src/library/std/src/rt.rs:195:18
44: 0x5a869f4ddbce - std::rt::lang_start_internal::hb8cd172289ce6724
45: 0x5a869d81ea7a - std::rt::lang_start::he252e90710af7eca
at /usr/src/debug/rust/rustc-1.83.0-src/library/std/src/rt.rs:194:17
46: 0x5a869daef5ae - main
47: 0x7b748c945e08 -
48: 0x7b748c945ecc - __libc_start_main
49: 0x5a869d689d25 - _start
50: 0x0 -
thread caused non-unwinding panic. aborting
I found out that the filenames in src/ui/components/menu/Downloads.tsx are using backslashes (line 156, for example), so it will only work on Windows.
I tried using normal slashes, and it's working fine now.
The text was updated successfully, but these errors were encountered:
No, it's not launching yet. There are still some paths with Windows format and other bugs. I'll try to fix everything to get the game running. If I manage to do it, I'll make a pull request.
Cultivation is crashing on Linux right after the download, when it's unzipping the downloaded files.
I found out that the filenames in src/ui/components/menu/Downloads.tsx are using backslashes (line 156, for example), so it will only work on Windows.
I tried using normal slashes, and it's working fine now.
The text was updated successfully, but these errors were encountered: