[Pkg-protobuf-devel] Bug#835271: python-protobuf returns " TypeError: Descriptors should not be created directly, but only retrieved from their parent" message

Antonio Ospite ao2 at ao2.it
Thu Aug 25 10:16:56 UTC 2016


On Thu, 25 Aug 2016 10:10:02 +0200
Antonio Ospite <ao2 at ao2.it> wrote:

[...]
> Basically newer protobuf version (when NOT using PyPy) check that the
> generated protocol files still have the _pb2 suffix, in the case of
> axolotl these are the files generated from axolotl/protobuf/*.proto,
> namely axolotl/protocol/whisperprotos.py and
> axolotl/state/storageprotos.py; renaming these to keep the _pb2
> suffix fixes the issue.
> 
> See the attached patch, it's against
> https://github.com/tgalal/python-axolotl.git and after applying it the
> tests pass again.
> 
> I am going to submit a bug report to upstream python-axolotl as soon as
> you confirm that the fix works for you too.
> 

Well, I went ahead and submitted the bug report upstream:
https://github.com/tgalal/python-axolotl/issues/14

Maybe the Debian bug can be reassigned to python-axolotl if you agree
with my analysis.

Ciao,
   Antonio

-- 
Antonio Ospite
http://ao2.it

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?



More information about the Pkg-protobuf-devel mailing list