-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Your setup
Version: 1.2.0
Operating System: macOS
IDE: Zed and odoo-zed
Describe the bug
I kind of randomly get stuck on "Odoo: Indexing", when I look at the logs I find the traceback I put in Screenshots. I have to restart the ls to get it to work again which is a pain because it has to index all files again.
To Reproduce
I suspect it happens everytime I git switch between odoo versions (right now between saas-19.2 and master) because in the logs before the traceback theres a million lines of deleting file and creating file.
Expected behavior
To not get a traceback and keep working normally.
Screenshots
thread 'main' (11478574) panicked at src/server.rs:373:33:
called `Result::unwrap()` on an `Err` value: Any { .. }
stack backtrace:
0: 0x100e74c14 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h8c5ab870ebd4c242
1: 0x100e83ee0 - core::fmt::write::h64810b21425781ec
2: 0x100e4d3f8 - std::io::Write::write_fmt::h947344a43c638468
3: 0x100e59d20 - std::panicking::default_hook::{{closure}}::ha0993a93f6e4994d
4: 0x100e59c20 - std::panicking::default_hook::h7aae5c8c53b8a669
5: 0x100e5a118 - std::panicking::panic_with_hook::hb885411bb59bebf4
6: 0x100e59dcc - std::panicking::panic_handler::{{closure}}::hb04320f9e43192c5
7: 0x100e55c70 - std::sys::backtrace::__rust_end_short_backtrace::ha3c55a1c4767eecf
8: 0x100e457e4 - __rustc[d131491b17107b07]::rust_begin_unwind
9: 0x100eb129c - core::panicking::panic_fmt::h6f8816b337451651
10: 0x100eb101c - core::result::unwrap_failed::h1f9c817951eee5c5
11: 0x100be7e64 - odoo_ls_server::server::Server::run::h898663979c925839
12: 0x1009b6800 - odoo_ls_server::main::h7d449a0d27923cc1
13: 0x1009b8bb4 - std::sys::backtrace::__rust_begin_short_backtrace::h7218fa0223aa0723
14: 0x1009be6a8 - std::rt::lang_start::{{closure}}::h7fa534eb20c5c610
15: 0x100e4e984 - std::rt::lang_start_internal::h0662b076b027b010
16: 0x1009b89ac - _main
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels