Giter VIP home page Giter VIP logo

Comments (4)

dinowernli avatar dinowernli commented on August 18, 2024 1

Closing due to inactivity, please reopen if this is still a problem.

from polyglot.

dinowernli avatar dinowernli commented on August 18, 2024

from polyglot.

peteboothroyd avatar peteboothroyd commented on August 18, 2024

I also just came across this:

[main] INFO me.dinowernli.grpc.polyglot.Main - Polyglot version: 1.2.0+dev
[main] INFO me.dinowernli.grpc.polyglot.Main - Loaded configuration:: File not found.
[main] WARN me.dinowernli.grpc.polyglot.protobuf.ProtocInvoker - Protoc invocation failed with 
status: 1 [main] WARN me.dinowernli.grpc.polyglot.protobuf.ProtocInvoker - [Protoc log] protoc-jar: protoc version: 300, detected platform: mac os x/x86_64 
[main] WARN me.dinowernli.grpc.polyglot.protobuf.ProtocInvoker - [Protoc log] protoc-jar: executing:
 [/var/folders/72/s0g349cd50g5_xsmq00y690r0000gn/T/protoc926860206650272613.exe, /Users/peterboothroyd/Desktop/testservice.proto, -I/Users/peterboothroyd/Desktop/testservice.proto, 
--descriptor_set_out=/var/folders/72/s0g349cd50g5_xsmq00y690r0000gn/T/descriptor1501911332820679395.pb.bin, --include_imports]

Exception in thread "main" java.lang.RuntimeException: Failed to invoke the protoc binary at 
me.dinowernli.grpc.polyglot.Main.getFileDescriptorSet(Main.java:97) at 
me.dinowernli.grpc.polyglot.Main.main(Main.java:52) Caused by: 
me.dinowernli.grpc.polyglot.protobuf.ProtocInvoker$ProtocInvocationException: Got exit code [1] 
from protoc with args [[/Users/peterboothroyd/Desktop/testservice.proto,
 -I/Users/peterboothroyd/Desktop/testservice.proto, 
--descriptor_set_out=/var/folders/72/s0g349cd50g5_xsmq00y690r0000gn/T/descriptor1501911332820679395.pb.bin, --include_imports]] at 
me.dinowernli.grpc.polyglot.protobuf.ProtocInvoker.invokeBinary(ProtocInvoker.java:132) at 
me.dinowernli.grpc.polyglot.protobuf.ProtocInvoker.invoke(ProtocInvoker.java:82) at 
me.dinowernli.grpc.polyglot.Main.getFileDescriptorSet(Main.java:95) ... 1 more

/var/folders/72/s0g349cd50g5_xsmq00y690r0000gn/T/protoc926860206650272613.exe does not exist, and is this correct anyway as I'm running on a mac?

Running: protoc -I=/Users/peterboothroyd/Desktop --java_out=/Users/peterboothroyd/Desktop /Users/peterboothroyd/Desktop/testservice.proto functions as expected.

from polyglot.

ruippeixotog avatar ruippeixotog commented on August 18, 2024

I'm also having the same problem as @peteboothroyd. Running protoc manually with the arguments in the log message works fine.

from polyglot.

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.