[RPC] Some built-in methods error #5451
Labels
Category: RPC/ZMQ methods
Changing or adding RPC methods to cogs/core commands
Status: In Progress
There's a PR open to deal with this, or an org member is working on this internally
Type: Bug
Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
What Red version are you using?
3.4.14
What were you trying to do?
Use the built-in
CORE__LOAD
RPC method to load a cog via RPC.What did you expect to happen?
The cog to load and some form of output through RPC confirming it succeeded (which looking at the code would be a tuple)
What actually happened?
The RPC server tried to serialize a tuple (which was returned from
CoreLogic._load
) but it can't serialize it.Bot error:
RPC client error:
How can we reproduce this error?
--rpc
CORE__LOAD
function with any argumentsAnything else?
Reproduction code, using the RPC library Red uses:
CORE__RELOAD
is broken in the same way asCORE__LOAD
I would expect
CORE_UNLOAD
to also be broken but instead it does this:The text was updated successfully, but these errors were encountered: