Generating protobuf sources

74 views
Skip to first unread message

Daniel McKenna

unread,
Aug 27, 2020, 6:45:58 PM8/27/20
to Rust for TensorFlow
I've been trying to figure this out but wracking my brains slightly, I'm trying to add a new proto to the project for a PR. But when I run the proto code gen binary I get:

```
Error: Custom { kind: Other, error: "protoc (\"/usr/bin/protoc\" \"-I/home/xd009642/code/rust/tensorflow/target/tensorflow/tensorflow\" \"--descriptor_set_out=/tmp/protoc-rustSWZtMd/descriptor.pbbin\" \"--include_imports\" \"/home/xd009642/code/rust/tensorflow/target/tensorflow/tensorflow/tensorflow/core/framework/attr_value.proto\" 
...
\"/home/xd009642/code/rust/tensorflow/target/tensorflow/tensorflow/tensorflow/core/framework/versions.proto\" \"/home/xd009642/code/rust/tensorflow/target/tensorflow/tensorflow/tensorflow/core/protobuf/meta_graph.proto\" \"/home/xd009642/code/rust/tensorflow/target/tensorflow/tensorflow/tensorflow/core/protobuf/saver.proto\") exited with non-zero exit code" }
```

I've cut out some of the lines for brevity, but there doesn't seem to be any useful diagnostics

Daniel McKenna

unread,
Aug 27, 2020, 7:01:06 PM8/27/20
to Rust for TensorFlow, Daniel McKenna
Also using protoc 3.6.1. I'll update tomorrow and see if that solves it

Daniel McKenna

unread,
Aug 29, 2020, 10:06:51 AM8/29/20
to Rust for TensorFlow, Daniel McKenna
Yeah proto version did it. All good now
Reply all
Reply to author
Forward
0 new messages