[BUG] actor/random fails simple make commands
pgray opened this issue · 2 comments
pgray commented
[2023-04-30T18:10:48Z ERROR wasmbus_rpc::rpc_client] rpc error response error=Guest call failed for method Run: method not handled _.Run - unknown method
{
"error": "rpc: Guest call failed for method Run: method not handled _.Run - unknown method",
"success": false
}
I've been referring to the code in actors/random
for another example I've been trying to write and discovered that the simple make
targets seem to fail. Hopefully there's something obvious I'm missing or is this broken more generally for the runner
interface?
brooksmtownsend commented
@pgray would you mind dropping a few reproduction steps here so I could give it a try? Even if it's just saying which components to build and run, that would help
pgray commented
on main with wash 0.17.2:
❯ pwd
/Users/pgray/wc/examples/actor/random
~/wc/examples/actor/random main*
❯ wash build
Finished release [optimized] target(s) in 0.11s
Actor built and signed and can be found at "/Users/pgray/wc/examples/actor/random/build/example_random_s.wasm"
~/wc/examples/actor/random main*
❯ wash ctl start actor file://$PWD/build/example_random_s.wasm
Actor file:///Users/pgray/wc/examples/actor/random/build/example_random_s.wasm started on host NDQM6C7FZB5BRPLTHZWYSZZOMC2BFUMHE27F3UF4OKBB646DNJ3BAPI6
~/wc/examples/actor/random main*
❯ wash ctl get inventory NDQM6C7FZB5BRPLTHZWYSZZOMC2BFUMHE27F3UF4OKBB646DNJ3BAPI6
Host Inventory (NDQM6C7FZB5BRPLTHZWYSZZOMC2BFUMHE27F3UF4OKBB646DNJ3BAPI6)
hostcore.osfamily unix
hostcore.arch aarch64
hostcore.os macos
Actor ID Name Image Reference
MDG4CMGTEQEZDOPRG53XWM2NJMJEYFUWSDBAF6VB5GUAZCZ7D72Q6LK3 Random NumberGen file:///Users/pgray/wc/examples/actor/random/build/example_random_s.wasm
No providers found
~/wc/examples/actor/random main*
❯ wash call MDG4CMGTEQEZDOPRG53XWM2NJMJEYFUWSDBAF6VB5GUAZCZ7D72Q6LK3 Run "[ok,no]"
expected value at line 1 column 2
~/wc/examples/actor/random main*
❯ make roll-die
[2023-05-02T21:09:10Z ERROR wasmbus_rpc::rpc_client] rpc error response error=Guest call failed for method Run: method not handled _.Run - unknown method
{
"success": false,
"error": "rpc: Guest call failed for method Run: method not handled _.Run - unknown method"
}
~/wc/examples/actor/random main*
❯ make pick-animal
[2023-05-02T21:09:39Z ERROR wasmbus_rpc::rpc_client] rpc error response error=Guest call failed for method Run: method not handled _.Run - unknown method
{
"error": "rpc: Guest call failed for method Run: method not handled _.Run - unknown method",
"success": false
}
~/wc/examples/actor/random main*
❯ make roll-die
[2023-05-02T21:09:43Z ERROR wasmbus_rpc::rpc_client] rpc error response error=Guest call failed for method Run: method not handled _.Run - unknown method
{
"error": "rpc: Guest call failed for method Run: method not handled _.Run - unknown method",
"success": false
}