-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
protoc > 3.19
support
#2
Comments
Is the error caused by protoc or by some other circumstances? Please attach details(For example, the command to execute protoc and the protobuf file, or code) |
seems like that you need to generate protos in |
Thanks for your feedback, I realized it was a problem with different protobuf versions reading files |
Is your feature request related to a problem? Please describe.
I got an error when using the plugin, I was on latest
protoc
at the time:TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are: 1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
Describe the solution you'd like
protoc > 3.19
supportDescribe alternatives you've considered
Downgrade.
The text was updated successfully, but these errors were encountered: