add file error
Lawliet-Chan opened this issue · 3 comments
Lawliet-Chan commented
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?
SionoiS commented
I'm not sure why it crash. Can you try ipfs-api = "0.7.2" instead of the new version.
Lawliet-Chan commented
I tried it but does not work yet.
ferristseng commented
Did you try running with RUST_BACKTRACE=1
?