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

Python-plugin example issue #245

Open
robostoneDK opened this issue Mar 23, 2023 · 0 comments
Open

Python-plugin example issue #245

robostoneDK opened this issue Mar 23, 2023 · 0 comments

Comments

@robostoneDK
Copy link

Hi
Is there a practical reason why the python-plugin example does not work?
This issue has been raised a couple of times since 2020 (#143 and #157), and the exact same issue exists today.
Just wondering if it is a dead-end, or if it actually works with a little tweaking?

This is the error that I get:

root@11e242d71727:/go-plugin/examples/grpc# ./kv put hello world
2023-03-23T13:41:54.318Z [DEBUG] plugin: starting plugin: path=/bin/sh args=[sh, -c, "python3 plugin-python/plugin.py"]
2023-03-23T13:41:54.318Z [DEBUG] plugin: plugin started: path=/bin/sh pid=3465
2023-03-23T13:41:54.318Z [DEBUG] plugin: waiting for RPC address: path=/bin/sh
2023-03-23T13:41:54.375Z [DEBUG] plugin: using plugin: version=1
2023-03-23T13:41:54.375Z [TRACE] plugin.stdio: waiting for stdio data
2023-03-23T13:41:54.375Z [DEBUG] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = Method not found!"
root@11e242d71727:/go-plugin/examples/grpc# cat kv_hello
b'world'

root@11e242d71727:/go-plugin/examples/grpc#
root@11e242d71727:/go-plugin/examples/grpc# ./kv get hello
2023-03-23T13:51:46.314Z [DEBUG] plugin: starting plugin: path=/bin/sh args=[sh, -c, "python3 plugin-python/plugin.py"]
2023-03-23T13:51:46.314Z [DEBUG] plugin: plugin started: path=/bin/sh pid=3501
2023-03-23T13:51:46.314Z [DEBUG] plugin: waiting for RPC address: path=/bin/sh
2023-03-23T13:51:46.372Z [DEBUG] plugin: using plugin: version=1
2023-03-23T13:51:46.372Z [TRACE] plugin.stdio: waiting for stdio data
2023-03-23T13:51:46.372Z [DEBUG] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = Method not found!"
b'world'

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

No branches or pull requests

1 participant