Closed Lawliet-Chan closed 2 years ago
hi, I use this library in my code https://github.com/Lawliet-Chan/ipse-miner/blob/master/src/storage/ipfs.rs#L22 But it is always panic when I call this function add(). The panic is as following:
add()
I just run my ipfs client on my host and the file is correctly (here I print it) AND I try the 'example add_file', it is all right. But when I run my project code, it is panic. Can you help me, please?
I'm not sure why it crash. Can you try ipfs-api = "0.7.2" instead of the new version.
I tried it but does not work yet.
Did you try running with RUST_BACKTRACE=1?
RUST_BACKTRACE=1
hi, I use this library in my code https://github.com/Lawliet-Chan/ipse-miner/blob/master/src/storage/ipfs.rs#L22 But it is always panic when I call this function
add()
. The panic is as following:I just run my ipfs client on my host and the file is correctly (here I print it) AND I try the 'example add_file', it is all right.
But when I run my project code, it is panic. Can you help me, please?