rusty-slider icon indicating copy to clipboard operation
rusty-slider copied to clipboard

Macroquad panic in text loading

Open kvark opened this issue 3 years ago • 3 comments

thread 'main' panicked at 'called Result::unwrap() on an Err value: FileError { kind: IOError(Os { code: 2, kind: NotFound, message: "No such file or directory" }), path: "" }', /Users/kvark/.cargo/registry/src/github.com-1ecc6299db9ec823/macroquad-0.3.6/src/text.rs:239:52 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

kvark avatar Feb 11 '22 19:02 kvark

This is when a file is not found, right? It just needs to print a better error message.

ollej avatar Feb 12 '22 16:02 ollej

Yes, I just used an older config with the newer rusty-slider. It's just about the path here.

kvark avatar Feb 13 '22 04:02 kvark

Sounds like the config should be made backwards compatible as well then.

The panic is caused upstream, I will look into fixing it.

ollej avatar Feb 13 '22 12:02 ollej