rio: thread 'main' panicked at sugarloaf/src/font/mod.rs:565:49:
I’m new to rio, this might be user error, but I wanted to open an issue vs. sitting at my desk in silence hoping it’d self-correct in the future. I was made aware of rio at the tail-end of v0.2.10’s lifetime as being the latest release and when I first cloned the repo to build it, I’d get this after the build completes and I run target/release/rio:
thread 'main' panicked at sugarloaf/src/font/mod.rs:565:49:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
RUST_BACKTRACE=1 and RUST_BACKTRACE=full don’t seem to provide much more info (aside from some reference to __libc_start_main) but I can provide that output if necessary.
So I reset the checkout to 410a9d4967 and built from there. That’s the version I’m using. I saw v0.2.11 was released, so I grabbed the RPM and pulled /usr/bin/rio out of it (for testing if it’d work w/o installing it) but I still get that same problem.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (6 by maintainers)
Thanks will publish a new version today with the fix
Should be fixed in v0.2.12 https://github.com/raphamorim/rio/releases/tag/v0.2.12
can confirm it’s fixed for me, just upgraded
thank you!
Ah everything, make sense now. Thanks folks 🙏 I had actually removed those from
.gitattributebut had to rungit rm --cached <file>to readd the file.Could you folks test with latest main?