{"action":"created","issue":{"url":"https://api.github.com/repos/terryyin/lizard/issues/116","repository_url":"https://api.github.com/repos/terryyin/lizard","labels_url":"https://api.github.com/repos/terryyin/lizard/issues/116/labels{/name}","comments_url":"https://api.github.com/repos/terryyin/lizard/issues/116/comments","events_url":"https://api.github.com/repos/terryyin/lizard/issues/116/events","html_url":"https://github.com/terryyin/lizard/issues/116","id":151046140,"number":116,"title":"Reopen for support utf-8 with BOM #115","user":{"login":"bzquan","id":10257936,"avatar_url":"https://avatars.githubusercontent.com/u/10257936?v=3","gravatar_id":"","url":"https://api.github.com/users/bzquan","html_url":"https://github.com/bzquan","followers_url":"https://api.github.com/users/bzquan/followers","following_url":"https://api.github.com/users/bzquan/following{/other_user}","gists_url":"https://api.github.com/users/bzquan/gists{/gist_id}","starred_url":"https://api.github.com/users/bzquan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzquan/subscriptions","organizations_url":"https://api.github.com/users/bzquan/orgs","repos_url":"https://api.github.com/users/bzquan/repos","events_url":"https://api.github.com/users/bzquan/events{/privacy}","received_events_url":"https://api.github.com/users/bzquan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T05:40:18Z","updated_at":"2016-04-26T05:41:39Z","closed_at":null,"body":"It still could not manage utf-8 without BOM.\r\n\r\nI had followings error messges for utf-08 cpp file WITHOUT BOM.\r\n Traceback (most recent call last):\r\n File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard.py\", line 870, in \r\n lizard_main(sys.argv)\r\n File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard.py\", line 864, in lizard_main\r\n warning_count = printer(result, options, OutputScheme(options.extensions))\r\n File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard_ext__init__.py\", line 10, in print_xml\r\n print(xml_output(list(results), options.verbose))\r\n File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard_ext\\xmloutput.py\", line 21, in xml_output\r\n root.appendChild(_create_function_measure(doc, result, verbose))\r\n File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard_ext\\xmloutput.py\", line 37, in _create_function_measure\r\n file_name = source_file.filename\r\n AttributeError: 'NoneType' object has no attribute 'filename'"},"comment":{"url":"https://api.github.com/repos/terryyin/lizard/issues/comments/214621590","html_url":"https://github.com/terryyin/lizard/issues/116#issuecomment-214621590","issue_url":"https://api.github.com/repos/terryyin/lizard/issues/116","id":214621590,"user":{"login":"terryyin","id":788834,"avatar_url":"https://avatars.githubusercontent.com/u/788834?v=3","gravatar_id":"","url":"https://api.github.com/users/terryyin","html_url":"https://github.com/terryyin","followers_url":"https://api.github.com/users/terryyin/followers","following_url":"https://api.github.com/users/terryyin/following{/other_user}","gists_url":"https://api.github.com/users/terryyin/gists{/gist_id}","starred_url":"https://api.github.com/users/terryyin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terryyin/subscriptions","organizations_url":"https://api.github.com/users/terryyin/orgs","repos_url":"https://api.github.com/users/terryyin/repos","events_url":"https://api.github.com/users/terryyin/events{/privacy}","received_events_url":"https://api.github.com/users/terryyin/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T05:41:39Z","updated_at":"2016-04-26T05:41:39Z","body":"Oops, see. I will look at it tonight my time.\n\n> On 26 Apr 2016, at 1:40 PM, bzquan <notifications@github.com> wrote:\n> \n> It still could not manage utf-8 without BOM.\n> \n> I had followings error messges for utf-08 cpp file WITHOUT BOM.\n> Traceback (most recent call last):\n> File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard.py\", line 870, in \n> lizard_main(sys.argv)\n> File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard.py\", line 864, in lizard_main\n> warning_count = printer(result, options, OutputScheme(options.extensions))\n> File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard_ext__init__.py\", line 10, in print_xml\n> print(xml_output(list(results), options.verbose))\n> File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard_ext\\xmloutput.py\", line 21, in xml_output\n> root.appendChild(_create_function_measure(doc, result, verbose))\n> File \"C:\\Work\\BDDTools\\QTestRunner\\lizard\\lizard_ext\\xmloutput.py\", line 37, in _create_function_measure\n> file_name = source_file.filename\n> AttributeError: 'NoneType' object has no attribute 'filename'\n> \n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub <https://github.com/terryyin/lizard/issues/116>\n\n"}}