-
Notifications
You must be signed in to change notification settings - Fork 450
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
Is the documentation for making non-go plugins outdated? #212
Comments
Hi, @SSSOCPaulCote
No, this is not required, please see the PR which Adds a Connection Broker for GRPC plugins. These are listed as optional for plugins implemented in other languages. I was able to run the python plugin in the examples directory successfully. Notice the log lines you posted are TRACE and DEBUG:
These are not reported by go-plugin as errors. Can you try the following commands and see if you are able to
|
@fairclothjm You're right, the issue is actually in my Python plugin, I'm somehow not implementing the interface on my project. I'll have to figure that one out. Could you point me in the right direction to how your stub EDIT: I figured it out, I had different invoke paths between my Go and Python stubs. Also, my VM is acting weird and using different versions of the plugin file I made every time I run the example. Doing this on main OS has consistent results |
I'm using this library in a project and I tried making a python plugin following the instructions in the
docs
folder and I keep getting this error:I then cloned this repo and tried running the python plugin example and get the same error. While looking at the source code, I noticed that golang plugins register many gRPC services that are not present for the python equivalent:
grpc_server.go
The gRPC client at the least seems to interact with Stdio and Broker services:
grpc_client.go
What I'm asking is, should there be gRPC Broker and Stdio implementations in python for python plugins to work?
The text was updated successfully, but these errors were encountered: