2

Cargo command seems to be failed while the error below appears. Can you help me out ?

thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', permanode/main.rs:140:28 enter image description here

2
  • 1
    can you run with RUST_BACKTRACE=1? That may give an insight what file is not found.
    – mihi
    Commented Oct 10, 2020 at 11:54
  • Also, I assume you have already verified that $CONFIGPATH/config.tom resolves to a file that actually exists?
    – mihi
    Commented Oct 10, 2020 at 11:57

1 Answer 1

3

i think you just lost the last char of the toml file extension: "L"

Try:

cargo run --release --features ”mainnet“ --example permanode $CONFIGPATH/config.toml

and ensure that the path to your config file is correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.