-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
priority-lowLow priority "nice to have"Low priority "nice to have"
Description
Trying to run litebox_runner_linux_userland echo yay on a stock desktop Ubuntu installation causes the following panic:
thread 'main' (41447) panicked at litebox_runner_linux_userland/src/lib.rs:118:48:
called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
Referring to this line:
| let metadata = path.metadata().unwrap(); |
The function it's contained in has this comment:
litebox/litebox_runner_linux_userland/src/lib.rs
Lines 97 to 99 in 86e26df
| /// Can panic if any particulars of the environment are not set up as expected. Ideally, would not | |
| /// panic. If it does actually panic, then ping the authors of LiteBox, and likely a better error | |
| /// message could be thrown instead. |
I could not find any documentation on the expected environment setup, so adding that and/or a better error message would be very welcome.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
priority-lowLow priority "nice to have"Low priority "nice to have"