Rexit
Rexit copied to clipboard
"No such file or directory" on image download attempt
Bug description
Hello again, @MPult ! Looks like we got ourselves another bug here 🐞 Running with image downloads, getting fatal error like this:
Rexit git:(main) /Users/***/.cargo/bin/rexit messages --images --redact --formats csv,json,txt
2024-02-07 17:49 - INFO: Getting image: [REDACTED]
thread 'main' panicked at src/ReAPI/images.rs:66:68:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
stack backtrace:
0: 0x1005b5a60 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hb1669d376cd16fb9
1: 0x1005c3f30 - core::fmt::write::hfb70cbdb2260ac51
2: 0x1005aaf30 - std::io::Write::write_fmt::h70ee144642a582c5
3: 0x1005b589c - std::sys_common::backtrace::print::h404168d6289bebbe
4: 0x1005a1c90 - std::panicking::default_hook::{{closure}}::hcad9841f2663dad9
5: 0x1005a19e8 - std::panicking::default_hook::he7ca7c46dc216a28
6: 0x1005a2154 - std::panicking::rust_panic_with_hook::h501076dcf33dacb0
7: 0x1005b5f28 - std::panicking::begin_panic_handler::{{closure}}::h0665b0808da4d87c
8: 0x1005b5c68 - std::sys_common::backtrace::__rust_end_short_backtrace::h6d7b13146df55e47
9: 0x1005a1eec - _rust_begin_unwind
10: 0x1005e8408 - core::panicking::panic_fmt::h5de4b603c189570c
11: 0x1005e8750 - core::result::unwrap_failed::h6c2edae44e6d47ca
12: 0x100289810 - rexit::ReAPI::images::get_image::{{closure}}::h71ed81371e6bd8e5
13: 0x10028d634 - rexit::ReAPI::rooms::download_rooms::{{closure}}::hc29a397cde86e3d3
14: 0x100290164 - rexit::main::{{closure}}::h5ce55bb2c365ebb1
15: 0x100287928 - tokio::runtime::park::CachedParkThread::block_on::hf8573b3dd26c461a
16: 0x1002ecfa8 - tokio::runtime::context::runtime::enter_runtime::he2113a63a4b0b715
17: 0x1002d6ac8 - tokio::runtime::runtime::Runtime::block_on::h51c10d5419defe39
18: 0x1002cbd94 - rexit::main::h22180b121616fe83
19: 0x1002e8068 - std::sys_common::backtrace::__rust_begin_short_backtrace::h38bfbb5c4b2d170f
20: 0x1002e56a4 - std::rt::lang_start::{{closure}}::h675f2af4ce139a66
21: 0x1005a1ddc - std::panicking::try::h8fbeda15452e3045
22: 0x100598700 - std::rt::lang_start_internal::h74e1b60c5b4153f8
23: 0x1002cbe94 - _main
- Would you like to work on a fix? [y/n]
To Reproduce
Steps to reproduce the behavior:
- ...
- ...
- ...
- ...
this is on the main branch, with RUST_BACKTRACE=full
Expected behavior
Should finish normally
Screenshots
Environment
- OS: MacOS Sonoma 14.3
- {{project-name}} version: [e.g. 0.1.0]
Additional context
Would greatly appreciate a fix!
Hey I didn't forget about this issue but i'm currently quite busy.