Assignment not allowed to composite field "%s" in protocol message object.
Package:
protobuf
50437

Exception Class:
AttributeError
Raise code
return field_value
getter.__module__ = None
getter.__doc__ = 'Getter for %s.' % proto_field_name
# We define a setter just so we can throw an exception with a more
# helpful error message.
def setter(self, new_value):
raise AttributeError('Assignment not allowed to composite field '
'"%s" in protocol message object.' % proto_field_name)
# Add a property to encapsulate the getter.
doc = 'Magic attribute generated for "%s" proto field.' % proto_field_name
setattr(cls, property_name, _FieldProperty(field, getter, setter, doc=doc))
def
Links to the raise (1)
https://github.com/protocolbuffers/protobuf/blob/96ccf402fe8e62649f2be48a05944d552701aa5f/python/google/protobuf/internal/python_message.py#L777NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Please authorize to post fix