(helloworld) a1@yinbiaodeMacBook-Pro helloworld % python ./greeter_client.py
Will try to greet world ...
Traceback (most recent call last):
File
"/Users/a1/Documents/source/grpc/examples/python/helloworld/./greeter_client.py",
line 38, in <module>
run()
~~~^^
File
"/Users/a1/Documents/source/grpc/examples/python/helloworld/./greeter_client.py",
line 32, in run
response = stub.SayHello(helloworld_pb2.HelloRequest(name="you"))
File
"/Users/a1/Documents/source/grpc/examples/python/helloworld/.venv/lib/python3.13/site-packages/grpc/_channel.py",
line 1166, in __call__
return _end_unary_response_blocking(state, call, False, None)
File
"/Users/a1/Documents/source/grpc/examples/python/helloworld/.venv/lib/python3.13/site-packages/grpc/_channel.py",
line 996, in _end_unary_response_blocking
raise _InactiveRpcError(state) # pytype: disable=not-instantiable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated
with:
status = StatusCode.UNIMPLEMENTED
details = "Method not found!"
debug_error_string = "UNKNOWN:Error received from peer
{grpc_status:12, grpc_message:"Method not found!"}"
I didn’t modify any files, and I’ve checked that the pb2 files do contain
this method. I’ve tried both Python 3.10 and 3.13.
--
You received this message because you are subscribed to the Google Groups
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/grpc-io/5f27d358-2d57-4d07-bf49-559358cd90b4n%40googlegroups.com.