le.tomer@gmail.com - Tom Light
==============
What steps will reproduce the problem?
1. Create the lua protobuf files with
https://developers.google.com/ad-exchange/rtb/downloads/realtime-bidding-proto.t
xt
2. run the following program on an protobuf data string
realtime = require 'realtime_bidding_pb'
bid_req = realtime.BidRequest()
bid_req:ParseFromString(content)
What is the expected output? What do you see instead?
The expected output is: an object parsed
The current output is:
lua: ./decoder.lua:319: Truncated message.
stack traceback:
[C]: in function 'error'
./decoder.lua:319: in function <./decoder.lua:314>
(tail call): ?
./protobuf.lua:694: in function '_InternalParse'
./decoder.lua:273: in function 'field_decoder'
./protobuf.lua:701: in function '_internal_parse'
./protobuf.lua:710: in function 'merge_from_string'
./protobuf.lua:719: in function 'ParseFromString'
a.lua:32: in main chunk
[C]: ?
What version of the product are you using? On what operating system?
Linux CentOS
Lua 5.1.4
latest protobuf-net clone
Thanks for the help
Original issue reported on code.google.com by le.to...@gmail.com on 23 Jun 2013 at 11:17
Original issue reported on code.google.com by
le.to...@gmail.com
on 23 Jun 2013 at 11:17