protoc fails with Murmur RPC protocol
K900 opened this issue · 2 comments
K900 commented
I'm trying to connect to the Murmur RPC service over gRPC with grpclib, but compiling the .proto file fails with
Traceback (most recent call last):
File "/home/k900/grpc_scratch/venv/bin/protoc-gen-python_grpc", line 11, in <module>
load_entry_point('grpclib==0.3.0', 'console_scripts', 'protoc-gen-python_grpc')()
File "/home/k900/grpc_scratch/venv/lib/python3.7/site-packages/grpclib/plugin/main.py", line 206, in main
request_type=types_map[method.input_type],
KeyError: '.MurmurRPC.Server.Query'
Using Python 3.7,
grpcio==1.23.0
grpcio-tools==1.23.0
grpclib==0.3.0
vmagamedov commented
Looks like a bug, you encountered it because MurmurRPC uses nested message types as arguments, this wasn't expected.
vmagamedov commented
Fix is released in grpclib==0.3.1rc2