-
Notifications
You must be signed in to change notification settings - Fork 5
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
protoc is failing due to inability to find extensions.proto #312
Comments
So, first place to look:
Then, to understand how that works you can refer to the relevant part of the spec for the feature that isn't working as you expect:
Looking at your proto, you can see that it is referring to a path directly at the root of an import tree:
However your invocation is:
protoc looks for |
I experienced the same and did not see the error after changing the
I am not sure how we were developing before though. The MakeFile also needs to be updated in that case. For me a bunch of methods also changed from |
So @pgautier404 and I verified the diff on the proto generated files and it is doing the right thing. The MakeFile was updated with the updated commands to |
cachepubsub.proto
is importingextensions.proto
, but for some reasonprotoc
is unable to find that file, despite the fact that it's in the same directory as the others. Here's the relevant output from runningmake protos
in the golang SDK root:I had a similar issue trying to run protoc in the web SDK, and in that case I was able to resolve the error by adding
extensions.proto
as the first proto file in an explicit list of files to compile. However, that approach doesn't work with golang, and the error is returned regardless of whether or not I compileextensions.proto
beforecachepubsub.proto
.The text was updated successfully, but these errors were encountered: