[protobuf] Re: python parsing failure, related either to repeated embedded message or enum-type therein

2010-06-16 Thread DFlo
Entirely possible, but given that the expected number of bytes arrive on the read-end of the pipe and get accumulated into a buffer, the problem for this particular case would seem to occur within ParseFromString/MergeFromString. I'm not aware of zero-valued bytes causing problems in any other

[protobuf] Re: python parsing failure, related either to repeated embedded message or enum-type therein

2010-06-16 Thread DFlo
Wow, don't I feel like an idiot ... on the sending side, strncpy != memcpy. Even though I allocated a big enough buffer, I didn't copy everything into it. I think I've embarrassed myself sufficiently for one day... hang-dog_expression / As you were DFlo On Jun 16, 4:35 pm, DFlo