You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current version compiles, the module can be imported, however when using the module, a invalid argument error appears. Which is most probably due to the wrong use of commands in this simple test case.
Plan: I now want to switch from the simple balance example test case to the actual BEST-Energy calls of the updated dependency.
Addresses: olisystems/BEST-Energy#40
Version 1 (current): Using parse from vec Version 2: Use commands.rs definition to create a Command and insert it as paramter in Cli constructor
Output of Version 1
python run_integritee_cli.py
Run Cli
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { inner: ErrorInner { kind: UnknownArgument, context: [(InvalidArg, String("abc")), (Usage, String("USAGE:\n balanced [OPTIONS] <SUBCOMMAND>"))], message: None, source: None, help_flag: Some("--help"), color_when: Auto, wait_on_exit: false, backtrace: None }, kind: UnknownArgument, info: ["abc"] }', src/lib.rs:18:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
File "run_integritee_cli.py", line 9, in<module>
integritee_cli_py.run_cli(node_url, node_port, worker_url, trusted_worker_port, "balanced")
pyo3_runtime.PanicException: called `Result::unwrap()` on an `Err` value: Error { inner: ErrorInner { kind: UnknownArgument, context: [(InvalidArg, String("abc")), (Usage, String("USAGE:\n balanced [OPTIONS] <SUBCOMMAND>"))], message: None, source: None, help_flag: Some("--help"), color_when: Auto, wait_on_exit: false, backtrace: None }, kind: UnknownArgument, info: ["abc"] }
The text was updated successfully, but these errors were encountered:
The current version compiles, the module can be imported, however when using the module, a invalid argument error appears. Which is most probably due to the wrong use of commands in this simple test case.
Plan: I now want to switch from the simple balance example test case to the actual BEST-Energy calls of the updated dependency.
Addresses: olisystems/BEST-Energy#40
Version 1 (current): Using parse from vec
Version 2: Use commands.rs definition to create a Command and insert it as paramter in Cli constructor
Output of Version 1
The text was updated successfully, but these errors were encountered: