Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add python stdio implement #204

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

whybeyoung
Copy link

fix: #143 and #157

@hashicorp-cla
Copy link

hashicorp-cla commented Jul 20, 2022

CLA assistant check
All committers have signed the CLA.

@SSSOCPaulCote
Copy link

@berlinsaint I'm running into the same Method not found! with your fix.

$ go build -o kv
export KV_PLUGIN="python plugin-python/plugin.py"
./kv put hello world
2022-09-08T04:41:00.394Z [DEBUG] plugin: starting plugin: path=/bin/sh args=[sh, -c, "python plugin-python/plugin.py"]
2022-09-08T04:41:00.399Z [DEBUG] plugin: plugin started: path=/bin/sh pid=21908
2022-09-08T04:41:00.402Z [DEBUG] plugin: waiting for RPC address: path=/bin/sh
2022-09-08T04:41:00.564Z [DEBUG] plugin: using plugin: version=1
2022-09-08T04:41:00.567Z [TRACE] plugin.stdio: waiting for stdio data
2022-09-08T04:41:00.569Z [DEBUG] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = Method not found!"
Error: rpc error: code = Unimplemented desc = Method not found!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Help debug message: "received EOF, stopping recv loop"
3 participants