Plugin output is unparseable
See original GitHub issueHello,
I’m hitting a problem with my plugin when the generated code gets larger than a certain amount. I’m getting the following error:
Plugin output is unparseable: \020\001z\266\302\036\n\020service.twirp.tsz\240\302\036
{content_removed}
you can reproduce this simply by trying and returning a large string in the content of a file
"hello".repeat(100000)
I suspect it is something to do with the max buffer size, but so far I haven’t found anything to increase that. Any idea?
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
protoc-gen-go: plugin output is unparseable #1054 - GitHub
I'm experiencing the same "Plugin output is unparseable" on mac, however, with "protoc-gen-dart". I think a solution to this issue would be ...
Read more >Flutter/dart Protobuf - Plugin output is unparseable
I get similar issue with golang on windows, protoc not work properly with error "Plugin output is unparseable" and ...
Read more >protoc plugin generator using Java - Google Groups
--my_out: protoc-gen-my: Plugin output is unparseable. Redirecting the output of 'protoc-gen-my' script to a file and then
Read more >php_out:protoc-gen-php:plugin output is unparseable.
Background. The business needs to communicate with Protobuffer. client:php. Server:c++.
Read more >protoc-gen-php: Plugin output is unparseable. - brookin - 博客园
背景业务需要用protobuffer 进行通讯。client: phpserver: c++在github 上找到Protobuf-PHP(https://github.com/drslump/Pro.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for investigating this 🙏
I’d say the workaround belongs into plugin-base, even if it needs some dirty casts. PR is most welcome!
Do you know how to reproduce?
This works for me: