Holochain Forum

Hc chain --list

when I try
hc chain --list
command. It gives following error.
Please specify an instance ID to view its chain.
Available instances for ‘TODO’:

thread ‘main’ panicked at ‘called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: “No such file or directory” }’, src/libcore/result.rs:1187:5
stack backtrace:
0: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
1: core::fmt::write
2: std::io::Write::write_fmt
3: std::panicking::default_hook::{{closure}}
4: std::panicking::rust_panic_with_hook
5: std::panicking::continue_panic_fmt
6: rust_begin_unwind
7: core::panicking::panic_fmt
8: core::result::unwrap_failed
9: hc::run
10: hc::main
11: std::rt::lang_start::{{closure}}
12: main
13: __libc_start_main
14: _start
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

What is this?

@ogu83 hc chain --list will list all the DNA instances that you’ve specified in your conductor. You’ll need to pass it your conductor’s source chain storage path, and if you don’t, it’s supposed to use the system default — but as you found out, it defaults to TODO instead :frowning:

Are you using Mac, Linux, or Windows, and what’s your goal with using this command? Maybe we can work out an alternate way to accomplish it.

Hi, I am using linux, ubuntu 18 LTS