-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to parse message in lua when proto file imports another proto file #20
Comments
Is it a bug? or I missed something when compiling proto files? |
This project does have some bugs,most in encrypting messages in lua.You may post your proto file here,or we can help you to figure it out |
did this bug is fixed? |
I got this error message either... [error] 16634#0: *331110815 lua entry thread aborted: runtime error: lua/protobuf/containers.lua:27: attempt to index field '_message_descriptor' (a nil value) |
@a652 I recommend you use starwing/lua-protobuf instead. |
Failed to parse message in lua, when the message contains embedded field which is defined in another proto file.
the error message and stack:
[LUA-print] LUA ERROR: [string "pb/containers.lua"]:27: attempt to index field '_message_descriptor' (a nil value)
[LUA-print] stack traceback:
[string ".\script/main.lua"]:53: in function <[string ".\script/main.lua"]:50>
[string "pb/containers.lua"]:27: in function 'add'
[string "pb/decoder.lua"]:249: in function 'field_decoder'
[string "pb/protobuf.lua"]:684: in function '_InternalParse'
[string "pb/decoder.lua"]:271: in function 'field_decoder'
[string "pb/protobuf.lua"]:684: in function '_internal_parse'
[string "pb/protobuf.lua"]:693: in function 'merge_from_string'
[string "pb/protobuf.lua"]:702: in function 'ParseFromString'
The text was updated successfully, but these errors were encountered: