Re: [protobuf] 'RepeatedCompositeFieldContainer' object has no attribute 'extend'

2011-05-02 Thread Pherl Liu
This is probably a wrong version problem. Have you installed previous versions? Could you try: import google.protobuf print google.protobuf.__file__ On Tue, May 3, 2011 at 9:54 AM, William Tu wrote: > Hi, > I just downloaded the protocol buffer 2.4.1 and I followed the foo bar > example for pyt

[protobuf] 'RepeatedCompositeFieldContainer' object has no attribute 'extend'

2011-05-02 Thread William Tu
Hi, I just downloaded the protocol buffer 2.4.1 and I followed the foo bar example for python. http://code.google.com/apis/protocolbuffers/docs/reference/python-generated.html However, I got an error when I call extend (the rest are fine) - foo = Foo() bar = foo.bars.add()

[protobuf] Issue 283 in protobuf: Compilation error: repeated_field.h:304: no matching function for call to basic_string... ::clear()

2011-05-02 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 283 by miry.hel...@harmonicinc.com: Compilation error: repeated_field.h:304: no matching function for call to basic_string... ::clear() http://code.google.com/p/protobuf/issues/detail?id=283 What steps will

[protobuf] Issue 282 in protobuf: Protobuf cross compilation for vxworks requires additional linux files

2011-05-02 Thread protobuf
Status: New Owner: liuj...@google.com Labels: Type-Defect Priority-Medium New issue 282 by miry.hel...@harmonicinc.com: Protobuf cross compilation for vxworks requires additional linux files http://code.google.com/p/protobuf/issues/detail?id=282 What steps will reproduce the problem? My main