Local ledger error following tutorial

Hi guys!
I’m trying to install the local ledger in my dapp following the guide (Internet Computer Loading), but i’m not able to continue and go over the first step because of this error when I use this command in my linux Os dfx canister --network ic call ryjl3-tyaaa-aaaaa-aaaba-cai __get_candid_interface_tmp_hack ‘()’ --query | sed -i ‘s/\n/\n/g’
:

sed: nessun file in ingresso (itranslation from Italian to English: no file in entry)
thread ‘main’ panicked at ‘failed printing to stdout: Broken pipe (os error 32)’, library/std/src/io/stdio.rs:1193:9
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Can you help me please?

What happens if you run only dfx canister --network ic call ryjl3-tyaaa-aaaaa-aaaba-cai __get_candid_interface_tmp_hack ‘()’ --query?

I have the same issue

failing on the basics

when entering only this:

dfx canister --network ic call ryjl3-tyaaa-aaaaa-aaaba-cai __get_candid_interface_tmp_hack “()” --query

it gave the following output. but is it the one I should expect?

also the link for downloading the archive is not working. I think rosetta changed the ledger dirs…

curl -o ledger_archive.did “https://raw.githubusercontent.com/dfinity/ic/dd3a710b03bd3ae10368a91b255571d012d1ec2f/rs/rosetta-api/icp_ledger/ledger_archive.did

→ 404: Not Found

This works fine if you use a newer commit like e.g. the latest release: https://raw.githubusercontent.com/dfinity/ic/5eb2810653d4c72c7afc48a0450e2ad01378dfc7/rs/rosetta-api/icp_ledger/ledger_archive.did

1 Like