{"action":"opened","issue":{"url":"https://api.github.com/repos/google/rekall/issues/168","repository_url":"https://api.github.com/repos/google/rekall","labels_url":"https://api.github.com/repos/google/rekall/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/google/rekall/issues/168/comments","events_url":"https://api.github.com/repos/google/rekall/issues/168/events","html_url":"https://github.com/google/rekall/issues/168","id":169797160,"number":168,"title":"layout_tool fails to create a profile","user":{"login":"veyesecurity","id":16190843,"avatar_url":"https://avatars.githubusercontent.com/u/16190843?v=3","gravatar_id":"","url":"https://api.github.com/users/veyesecurity","html_url":"https://github.com/veyesecurity","followers_url":"https://api.github.com/users/veyesecurity/followers","following_url":"https://api.github.com/users/veyesecurity/following{/other_user}","gists_url":"https://api.github.com/users/veyesecurity/gists{/gist_id}","starred_url":"https://api.github.com/users/veyesecurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/veyesecurity/subscriptions","organizations_url":"https://api.github.com/users/veyesecurity/orgs","repos_url":"https://api.github.com/users/veyesecurity/repos","events_url":"https://api.github.com/users/veyesecurity/events{/privacy}","received_events_url":"https://api.github.com/users/veyesecurity/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-07T13:49:03Z","updated_at":"2016-08-07T13:49:03Z","closed_at":null,"body":"Hi,\r\nI'm trying to create a profile for Debian running machine.\r\n\r\n\r\nPre_AST stage completed successfully:\r\n\r\n`layout_tool build_pre_ast --source_file_path rekall/tools/linux/module.c --linux_repository_path /usr/src/linux-headers-3.16.0-4-amd64/ ~/pre_ast_debian.json`\r\n\r\n> 2016-08-07 08:43:45,896 INFO     LOADING PREPROCESSOR AST FROM: /home/[user]/pre_ast_debian.json\r\n> 2016-08-07` 08:43:46,040 INFO     DONE\r\n> 2016-08-07 08:43:46,041 INFO     LINKING INCLUDES\r\n> 2016-08-07 08:43:46,053 INFO     LINKED\r\n> 2016-08-07 08:43:46,053 INFO     EXTRACTING CONFIG FLAGS\r\n> 2016-08-07 08:43:46,093 INFO     EXTRACTED\r\n\r\nbut the next stage `make_profile` fails:\r\n\r\n`layout_tool make_profile --config_file_path /boot/config-3.16.0-4-amd64 --system /boot/System.map-3.16.0-4-amd64 ~/pre_ast_debian.json profile.json`\r\n\r\n> 2016-08-07 08:43:45,896 INFO     LOADING PREPROCESSOR AST FROM: /home/[user]/pre_ast_debian.json\r\n> 2016-08-07 08:43:46,040 INFO     DONE\r\n> 2016-08-07 08:43:46,041 INFO     LINKING INCLUDES\r\n> 2016-08-07 08:43:46,053 INFO     LINKED\r\n> 2016-08-07 08:43:46,053 INFO     EXTRACTING CONFIG FLAGS\r\n> 2016-08-07 08:43:46,093 INFO     EXTRACTED\r\n>  File \"/home/[user]/linmem/bin/layout_tool\", line 11, in <module>\r\n>     sys.exit(main())\r\n>   File \"/home/[user]/linmem/bin/layout_tool.py\", line 201, in main\r\n>     _args.action(_args)\r\n>   File \"/home/[user]/linmem/bin/layout_tool.py\", line 71, in _make_profile\r\n>     profile = manager.create_profile(args.layouts_to_compute)\r\n>   File \"/home/[user]/linmem/local/lib/python2.7/site-packages/layout_expert/lib/layout_manager.py\", line 416, in create_profile\r\n>     desc=\"preprocessing pre-ast\")\r\n>   File \"/home/[user]/linmem/local/lib/python2.7/site-packages/layout_expert/parsers/util.py\", line 121, in run\r\n>     result = cb(*args)\r\n>   File \"/home/[user]/linmem/local/lib/python2.7/site-packages/layout_expert/lib/layout_manager.py\", line 359, in _preprocess_pre_ast\r\n>     macros, progress_cb=self.progress_cb)\r\n>   File \"/home/[user]/linmem/local/lib/python2.7/site-packages/layout_expert/preprocessing_visitors/preprocessing_visitor.py\", line 48, in __init__\r\n>     self._expression_parser = expression_parser.ExpressionParser()\r\n>   File \"/home/[user]/linmem/local/lib/python2.7/site-packages/layout_expert/parsers/expression_parser.py\", line 99, in __init__\r\n>     self.parser = self.expression_parser()\r\n>   File \"/home/[user]/linmem/local/lib/python2.7/site-packages/layout_expert/parsers/expression_parser.py\", line 202, in expression_parser\r\n>     opList=precedence,\r\n>   File \"/home/[user]/linmem/local/lib/python2.7/site-packages/pyparsing.py\", line 3761, in infixNotation\r\n>     termName = \"%s term\" % opExpr if arity < 3 else \"%s%s term\" % opExpr\r\n> TypeError: not enough arguments for format string\r\n> "}}
{"actor":{"display_login":"veyesecurity"}}