prototool icon indicating copy to clipboard operation
prototool copied to clipboard

protoc returned a line we do not understand: `libprotobuf WARNING ../../../../../src/google/protobuf/compiler/ruby/ruby_generator.cc:417] ruby_package option should be in the form of: 'A::B::C' and not 'A.B.C'"`

Open izumin5210 opened this issue 6 years ago • 3 comments

2019-07-26T07:11:47.043Z        WARN    protoc returned a line we do not understand, please file this as an issue at https://github.com/uber/prototool/issues/new       {"protocLine": "[libprotobuf WARNING ../../../../../src/google/protobuf/compiler/ruby/ruby_generator.cc:417] ruby_package option should be in the form of: 'A::B::C' and not 'A.B.C'"}
<input>:1:1:[libprotobuf WARNING ../../../../../src/google/protobuf/compiler/ruby/ruby_generator.cc:417] ruby_package option should be in the form of: 'A::B::C' and not 'A.B.C'

It occurred when run grpc_tools_ruby_protoc_plugin.

syntax = "proto3";

package foo.bar;

option ruby_option = 'Bar';

//...

izumin5210 avatar Jul 26 '19 07:07 izumin5210

What is ruby_option in this case? Is this a custom option? Where is it being imported from?

smaye81 avatar Aug 09 '19 02:08 smaye81

sorry, it's a typo 🙈 It is ruby_packge correctly.

izumin5210 avatar Aug 09 '19 02:08 izumin5210

Got it. I'm able to recreate. Thanks.

smaye81 avatar Aug 09 '19 03:08 smaye81