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

Missing protoc-gen-go-grpc #23

Open
nicodmf opened this issue Dec 8, 2020 · 1 comment
Open

Missing protoc-gen-go-grpc #23

nicodmf opened this issue Dec 8, 2020 · 1 comment

Comments

@nicodmf
Copy link

nicodmf commented Dec 8, 2020

Summary

Always works fine with other language but go demand protoc-gen-go-grpc to generate proper files

docker run --rm -u ${UID} -v${PWD}:${PWD} -w${PWD} jaegertracing/protobuf:latest --go_out=grpc/go/grpc --proto_path=${PWD} --go-grpc_out=. --go-grpc_opt=paths=source_relative helloworld.proto
protoc-gen-go-grpc: program not found or is not executable
--go-grpc_out: protoc-gen-go-grpc: Plugin failed with status code 1.

Steps to Reproduce

  1. download https://raw.githubusercontent.com/grpc/grpc-go/master/examples/helloworld/helloworld/helloworld.proto
  2. launch command docker run --rm -u ${UID} -v${PWD}:${PWD} -w${PWD} jaegertracing/protobuf:latest --go_out=grpc/go/grpc --proto_path=${PWD} --go-grpc_out=. --go-grpc_opt=paths=source_relative helloworld.proto

What do you see now?

protoc-gen-go-grpc: program not found or is not executable
--go-grpc_out: protoc-gen-go-grpc: Plugin failed with status code 1.

What do you want to see instead?

command end without error

Environment

Linux

...

How do you propose to implement this?

not shure

Can you do this yourself and submit a Pull Request?

not without propositions

@yurishkuro
Copy link
Member

I think because it is primarily designed to work with gogoproto, not the default go-grpc plugin.

See https://github.com/jaegertracing/jaeger/blob/master/Makefile#L500

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

2 participants