You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, as I followed in mafintosh/hrpc#1, there needs to be a hrpc.proto file present in the root of this repostory when generating the schema.proto services and stubs or otherwise a lot of errors appear:
(.venv) ➜ rpc (master) ✗ python -m grpc_tools.protoc --purerpc_out=. --python_out=. -I. schema.proto
hrpc.proto: File not found.
schema.proto:4:1: Import "hrpc.proto" was not found or had errors.
schema.proto:224:15: "hrpc.Void" is not defined.
schema.proto:234:35: "hrpc.Void" is not defined.
schema.proto:243:39: "hrpc.Void" is not defined.
schema.proto:246:39: "hrpc.Void" is not defined.
schema.proto:247:43: "hrpc.Void" is not defined.
schema.proto:249:47: "hrpc.Void" is not defined.
schema.proto:250:37: "hrpc.Void" is not defined.
schema.proto:251:61: "hrpc.Void" is not defined.
schema.proto:252:65: "hrpc.Void" is not defined.
schema.proto:253:49: "hrpc.Void" is not defined.
schema.proto:255:42: "hrpc.Void" is not defined.
schema.proto:256:42: "hrpc.Void" is not defined.
schema.proto:259:39: "hrpc.Void" is not defined.
schema.proto:260:37: "hrpc.Void" is not defined.
schema.proto:261:39: "hrpc.Void" is not defined.
schema.proto:262:41: "hrpc.Void" is not defined.
schema.proto:263:47: "hrpc.Void" is not defined.
schema.proto:264:35: "hrpc.Void" is not defined.
schema.proto:271:13: "hrpc.Void" is not defined.
schema.proto:274:20: "hrpc.Void" is not defined.
schema.proto:275:61: "hrpc.Void" is not defined.
schema.proto:276:65: "hrpc.Void" is not defined.
schema.proto:277:49: "hrpc.Void" is not defined.
schema.proto:280:38: "hrpc.Void" is not defined.
schema.proto:281:41: "hrpc.Void" is not defined.
schema.proto:282:47: "hrpc.Void" is not defined.
But by adding the hrpc.proto, it all generates nicely. I guess we need to add that in here or?
The text was updated successfully, but these errors were encountered:
So, as I followed in mafintosh/hrpc#1, there needs to be a
hrpc.proto
file present in the root of this repostory when generating theschema.proto
services and stubs or otherwise a lot of errors appear:But by adding the
hrpc.proto
, it all generates nicely. I guess we need to add that in here or?The text was updated successfully, but these errors were encountered: