Hi,

I am trying to update python code to use a newer protobuf version: 6.33.2. 

I replaced GetPrototype with GetMessageClass.

I get this error.
AttributeError: 'MessageFactory' object has no attribute 'GetMessageClass'

I believe that GetMessageClass is supposed to be defined in message factory 
since version 4. I am confused about why I get this error.

What else could be causing this error? What should I look into?

Also, the protobuf files were made with an older version of protobuf. Would 
there be problems with trying to use a newer version of protobuf to read 
protobuf files made by an older version of protobuf? 

protoc version: libprotoc 33.1
python version: 3.10.12
protobuf version: 6.33.2. 

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/protobuf/e754951a-9f7b-4338-9a53-68c178282f59n%40googlegroups.com.

Reply via email to