[omemo] Descriptors cannot not be created directly.
When running from the command-line, I see the following error:
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).
More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates
I'm using the 2nd workaround, but is there a way to regenerate this protobuf code myself? And when it says downgrade the package, are they talking the Python package, or the underlining Protobuf C library? Is 3.20.x even compatible with this plugin?
Versions
- OS: Ubuntu Jammy
- Gajim version: 1.5.4
- Plugin version: 2.8.17
- GTK version: 3.24.33
- Python-nbxmpp version: 3.2.5