Skip to content

Protobuf Issue #18

Description

@rpr5x

Hello. When I try to execute your shared_counter example as your tutorial describes, I get the following message:

libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "StaticInfoProto" because it is missing required fields: inst[605].image_id, inst[605].offset

Here is the full stack trace that follows:

[MAPLE] === profile iteration 1 done === (0.203951) (/home/ruslan/maple-master/example/shared_counter)
Traceback (most recent call last):
File "/home/ruslan/maple-master/script/maple/idiom/main.py", line 1207, in
main(sys.argv[1:])
File "/home/ruslan/maple-master/script/maple/idiom/main.py", line 1202, in main
eval('_command%s(argv[1:])' % command)
File "", line 1, in
File "/home/ruslan/maple-master/script/maple/idiom/main.py", line 768, in __command_default
idiom_testcase.run()
File "/home/ruslan/maple-master/script/maple/core/testing.py", line 226, in run
self.body()
File "/home/ruslan/maple-master/script/maple/idiom/testing.py", line 185, in body
self.profile_testcase.run()
File "/home/ruslan/maple-master/script/maple/core/testing.py", line 226, in run
self.body()
File "/home/ruslan/maple-master/script/maple/core/testing.py", line 258, in body
self.after_each_test()
File "/home/ruslan/maple-master/script/maple/idiom/testing.py", line 132, in after_each_test
log_coverage(self.profiler, used_time)
File "/home/ruslan/maple-master/script/maple/idiom/testing.py", line 61, in log_coverage
f.write('%-6d ' % int(exposed[0]))
IndexError: list index out of range

I was hoping for some assistance since I'm not terribly familiar with protobuf myself.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions