[protobuf] Re: Parsing sub message not working with certain message

2013-10-25 Thread Jesse Carter
Please anyone? :s I really can't understand what's wrong...

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [protobuf] Re: Parsing sub message not working with certain message

2013-10-25 Thread Jesse Carter
It is reflected, it just cannot find that message for some odd reason

On Friday, October 25, 2013 12:38:19 PM UTC-7, Ilia Mirkin wrote:

 Well, fundamentally, it should all work fine. So you're doing 
 something wrong. Your best bet for getting further help would be 
 supplying a full repro, i.e. the full proto spec + data being parsed. 
 The fact that it says 9 {} and not details {} means that it doesn't 
 seem to know about the details field at all. Try changing test = 1 
 to testasdf = 1 and see if that is reflected in the output... 



 On Fri, Oct 25, 2013 at 3:28 PM, Jesse Carter 
 jc48...@gmail.comjavascript: 
 wrote: 
  Please anyone? :s I really can't understand what's wrong... 
  
  -- 
  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 protobuf+u...@googlegroups.com javascript:. 
  To post to this group, send email to prot...@googlegroups.comjavascript:. 

  Visit this group at http://groups.google.com/group/protobuf. 
  For more options, visit https://groups.google.com/groups/opt_out. 


-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.


[protobuf] Re: Parsing sub message not working with certain message

2013-10-25 Thread Jesse Carter
And now I'm also getting the same issue on one of my other messsages sub 
message

seems to always be the last sub message that won't parse

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.


[protobuf] Parsing sub message not working with certain message

2013-10-24 Thread Jesse Carter
Hey guys I'm having a really weird issue with parsing a certain sub message 
that has the same index as it's parent.


Here are the two messages

message Nine {- parent message
required int32 test = 5;  - This parses fine
optional Details details = 9;  - won't parse throws error if required

message Details {
required fixed64 test1 = 10;
required int32 test2 = 12;}
}

Here is the .toString() output of the parsed protobuf

one {
  two {
four {
  nine { -- this the parent message
test: 1  
9 { -- this is the message that won't parse
  10: 0x37d0e1c7c8eb012b
  11: 1
  12: 5110
}
13: 1
  }


Thanks for the help guys


-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.