{"action":"created","issue":{"url":"https://api.github.com/repos/wbond/pybars3/issues/23","repository_url":"https://api.github.com/repos/wbond/pybars3","labels_url":"https://api.github.com/repos/wbond/pybars3/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/wbond/pybars3/issues/23/comments","events_url":"https://api.github.com/repos/wbond/pybars3/issues/23/events","html_url":"https://github.com/wbond/pybars3/issues/23","id":115615686,"number":23,"title":"OMeta parse errors get ignored by pybars3","user":{"login":"isaacdd","id":7524964,"avatar_url":"https://avatars.githubusercontent.com/u/7524964?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacdd","html_url":"https://github.com/isaacdd","followers_url":"https://api.github.com/users/isaacdd/followers","following_url":"https://api.github.com/users/isaacdd/following{/other_user}","gists_url":"https://api.github.com/users/isaacdd/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacdd/subscriptions","organizations_url":"https://api.github.com/users/isaacdd/orgs","repos_url":"https://api.github.com/users/isaacdd/repos","events_url":"https://api.github.com/users/isaacdd/events{/privacy}","received_events_url":"https://api.github.com/users/isaacdd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-11-07T00:05:41Z","updated_at":"2016-09-18T19:49:03Z","closed_at":"2016-09-18T19:49:03Z","body":"To reproduce:\r\n\r\n```\r\n>> from pybars import Compiler\r\n>> compiler = Compiler()\r\n>> text = \"{{#test}}a{{/#test}}\"\r\n>> compiler.compile(unicode(text))\r\n<function render at 0x275f2a8>  # no error reported here\r\n```\r\nAfter inspecting the parse error, it seems that OMeta only reports the position, but `None` for the error.\r\n```\r\n>> tree, error = compiler._handlebars(text).apply('template')\r\n>>> error\r\nParseError(13, None)\r\n```\r\nI think a parse error should be raised whenever the parse position is less than the length of the string."},"comment":{"url":"https://api.github.com/repos/wbond/pybars3/issues/comments/247870392","html_url":"https://github.com/wbond/pybars3/issues/23#issuecomment-247870392","issue_url":"https://api.github.com/repos/wbond/pybars3/issues/23","id":247870392,"user":{"login":"isaacdd","id":7524964,"avatar_url":"https://avatars.githubusercontent.com/u/7524964?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacdd","html_url":"https://github.com/isaacdd","followers_url":"https://api.github.com/users/isaacdd/followers","following_url":"https://api.github.com/users/isaacdd/following{/other_user}","gists_url":"https://api.github.com/users/isaacdd/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacdd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacdd/subscriptions","organizations_url":"https://api.github.com/users/isaacdd/orgs","repos_url":"https://api.github.com/users/isaacdd/repos","events_url":"https://api.github.com/users/isaacdd/events{/privacy}","received_events_url":"https://api.github.com/users/isaacdd/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T19:49:03Z","updated_at":"2016-09-18T19:49:03Z","body":"Fixed with 0.9.2."}}
{"actor":{"display_login":"isaacdd"}}