Coder Social home page Coder Social logo

Comments (7)

jhump avatar jhump commented on September 23, 2024

This was certainly introduced by this change.

It was changed in the hopes of behaving more like protoc, so that an invocation of proto include paths and source files that works with protoc would also work with grpcurl. But protoc behaves correctly/intuitively for this particular case and grpcurl fails. So this is definitely a bug.

from grpcurl.

horacimacias avatar horacimacias commented on September 23, 2024

thanks for the fast response.

I see the fix/change is in protoreflect but no changes apparently in grpcurl; is there a new version planned for grpc or how can I get the latest to test this?
I just tried go get/install-ing this again after deleting old files but it seems to be pulling the same grpcurl files

from grpcurl.

jhump avatar jhump commented on September 23, 2024

Sorry - I didn't mean to close this issue. Github did that automatically due to my comment in the protoreflect PR.

I still need to build a release of protoreflect and then update grpcurl to use that new release. (I'll then also need a new release of grpcurl.)

If you want to try it out before I get everything release, you'd have to do so w/out Go modules, so that you can just go get -u github.com/jhump/protoreflect and let the grpcurl build use that. (If you are using Go modules, the grpcurl build will always use the version pinned in its go.mod file. To make that work, you'd have to hack up its go.mod a bit...)

from grpcurl.

iamatulsingh avatar iamatulsingh commented on September 23, 2024

I tried grpcurl 1.8.7 and grpcurl dev build <no version set> and it still throwing this error. Any solution yet?

from grpcurl.

jhump avatar jhump commented on September 23, 2024

@iamatulsingh, a fix was released three years ago. If you are seeing this error message, it is likely due to misuse of the -proto and -import-path flags. Please open a new issue with more details of what you are doing, including the command-line flags you are using and the directory layout of sources you are trying to use.

from grpcurl.

iamatulsingh avatar iamatulsingh commented on September 23, 2024

I'll open new issue regarding this. Thank you @jhump

from grpcurl.

tvprasad avatar tvprasad commented on September 23, 2024

I encountered the same issue on Windows, and here’s a workaround:

  1. Download and extract the files from this link to a local folder.
  2. Add the extracted folder to your system's PATH variable: go to System Advanced EnvironmentSystem VariablesPath, and include the path to the extracted folder.

Hope it helps.

from grpcurl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.