ParseFloatError for --memory on FreeBSD 11
thread 'main' panicked at 'called Result::unwrap() on an Err value: ParseFloatError { kind: Invalid }', src/libcore/result.rs:1188:5
@jhgit I'm going to need more information. Can you provide a full stack trace?
Here's a stack trace:
0: 0x12bc771 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h05146c7bfe21bbae 1: 0x12dc181 - core::fmt::write::h82d13afc417a9bde 2: 0x12b8f13 - std::io::Write::write_fmt::h395243169ed670f6 3: 0x12bd3ed - std::panicking::default_hook::{{closure}}::hee744f9a30e36987 4: 0x12bd03a - std::panicking::default_hook::h2fef865575c0dff6 5: 0x12bdb22 - std::panicking::rust_panic_with_hook::h91420ec0e36870a6 6: 0x12bd686 - rust_begin_unwind 7: 0x12df9cd - core::panicking::panic_fmt::h183969e0712b01dc 8: 0x12db1af - core::result::unwrap_failed::h8014dad8fe3f3ee4 9: 0x1055fa6 - rsfetch::memory::RAMInfo::get::hdc2138008f14a002 10: 0x1039dc6 - rsfetch::main::h5408b6c13847bd8a 11: 0x103afa5 - std::rt::lang_start::{{closure}}::h621753956d4bd8dc 12: 0x12bc8d4 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha723cd4e55a6dc80 13: 0x12bd4f0 - std::panicking::try::do_call::h807b2887bbe14903 14: 0x12c0963 - __rust_maybe_catch_panic 15: 0x12abf55 - std::rt::lang_start_internal::h9d160e723c57416f 16: 0x103ae43 - main
@kiedtl - Sorry, I did not mean to close this after submitting the stack trace. Thanks for reopening it.
@kiedtl - Sorry, I did not mean to close this after submitting the stack trace. Thanks for reopening it.
Are you compiling rsfetch from ports on FreeBSD? If so, a commit was pushed not so long ago addressing this issue (see: https://svnweb.freebsd.org/ports?view=revision&revision=528635) and subsequently fixes the error. We simply import #79, as no further releases have been pushed as of yet.