{"action":"created","issue":{"url":"https://api.github.com/repos/ownaginatious/fbchat-archive-parser/issues/10","repository_url":"https://api.github.com/repos/ownaginatious/fbchat-archive-parser","labels_url":"https://api.github.com/repos/ownaginatious/fbchat-archive-parser/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ownaginatious/fbchat-archive-parser/issues/10/comments","events_url":"https://api.github.com/repos/ownaginatious/fbchat-archive-parser/issues/10/events","html_url":"https://github.com/ownaginatious/fbchat-archive-parser/issues/10","id":178486048,"number":10,"title":"Issue with CharMap","user":{"login":"LoganWestbury","id":2437782,"avatar_url":"https://avatars.githubusercontent.com/u/2437782?v=3","gravatar_id":"","url":"https://api.github.com/users/LoganWestbury","html_url":"https://github.com/LoganWestbury","followers_url":"https://api.github.com/users/LoganWestbury/followers","following_url":"https://api.github.com/users/LoganWestbury/following{/other_user}","gists_url":"https://api.github.com/users/LoganWestbury/gists{/gist_id}","starred_url":"https://api.github.com/users/LoganWestbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoganWestbury/subscriptions","organizations_url":"https://api.github.com/users/LoganWestbury/orgs","repos_url":"https://api.github.com/users/LoganWestbury/repos","events_url":"https://api.github.com/users/LoganWestbury/events{/privacy}","received_events_url":"https://api.github.com/users/LoganWestbury/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-09-21T23:22:11Z","updated_at":"2016-09-22T20:39:31Z","closed_at":null,"body":"Hi again, I am trying to use a different messages.htm file but it is throwing me this error.\r\n\r\n```\r\nfbcap ./messages.htm -f stats > stats_div.txt\r\nDiscovered chat thread with [*REDACTED*, *REDACTED*l]...\r\nThe streaming parser crashed due to malformed XML. Falling back to the less strict/efficient python html.parser. It may\r\ntake a while before you see output...\r\nTraceback (most recent call last):\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\main.py\", line\r\n76, in fbcap\r\n    fbch = parse_data(parser_call)\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\main.py\", line\r\n98, in parse_data\r\n    return parser_call()\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\parser.py\", lin\r\ne 125, in __init__\r\n    self._parse_content(bs4)\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\parser.py\", lin\r\ne 146, in _parse_content\r\n    parser=XMLParser(encoding=str('UTF-8'))):\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\xml\\etree\\ElementTree.py\", line 1297, in __next__\r\n    for event in self._parser.read_events():\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\xml\\etree\\ElementTree.py\", line 1279, in read_event\r\ns\r\n    raise event\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\xml\\etree\\ElementTree.py\", line 1237, in feed\r\n    self._parser.feed(data)\r\nxml.etree.ElementTree.ParseError: not well-formed (invalid token): line 1752, column 1313\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\Logan\\AppData\\Local\\Programs\\Python\\Python35-32\\Scripts\\fbcap-script.py\", line 9, in <module>\r\n    load_entry_point('fbchat-archive-parser==0.7.post7', 'console_scripts', 'fbcap')()\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\main.py\", line\r\n148, in main\r\n    app.run()\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\clip.py\", line 652, in run\r\n    self.invoke(self.parse(tokens))\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\clip.py\", line 634, in invoke\r\n    self._main.invoke(parsed)\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\clip.py\", line 519, in invoke\r\n    self._callback(**{k: v for k, v in iteritems(parsed) if k not in self._subcommands})\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\main.py\", line\r\n93, in fbcap\r\n    raise e\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\main.py\", line\r\n82, in fbcap\r\n    fbch = parse_data(partial(parser_call, bs4=True))\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\main.py\", line\r\n98, in parse_data\r\n    return parser_call()\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\parser.py\", lin\r\ne 125, in __init__\r\n    self._parse_content(bs4)\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\site-packages\\fbchat_archive_parser\\parser.py\", lin\r\ne 153, in _parse_content\r\n    soup = BeautifulSoup(open(self.stream, 'r').read(), 'html.parser')\r\n  File \"c:\\users\\logan\\appdata\\local\\programs\\python\\python35-32\\lib\\encodings\\cp1252.py\", line 23, in decode\r\n    return codecs.charmap_decode(input,self.errors,decoding_table)[0]\r\nUnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 29414: character maps to <undefined>\r\n```"},"comment":{"url":"https://api.github.com/repos/ownaginatious/fbchat-archive-parser/issues/comments/249021242","html_url":"https://github.com/ownaginatious/fbchat-archive-parser/issues/10#issuecomment-249021242","issue_url":"https://api.github.com/repos/ownaginatious/fbchat-archive-parser/issues/10","id":249021242,"user":{"login":"LoganWestbury","id":2437782,"avatar_url":"https://avatars.githubusercontent.com/u/2437782?v=3","gravatar_id":"","url":"https://api.github.com/users/LoganWestbury","html_url":"https://github.com/LoganWestbury","followers_url":"https://api.github.com/users/LoganWestbury/followers","following_url":"https://api.github.com/users/LoganWestbury/following{/other_user}","gists_url":"https://api.github.com/users/LoganWestbury/gists{/gist_id}","starred_url":"https://api.github.com/users/LoganWestbury/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoganWestbury/subscriptions","organizations_url":"https://api.github.com/users/LoganWestbury/orgs","repos_url":"https://api.github.com/users/LoganWestbury/repos","events_url":"https://api.github.com/users/LoganWestbury/events{/privacy}","received_events_url":"https://api.github.com/users/LoganWestbury/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T20:39:31Z","updated_at":"2016-09-22T20:39:31Z","body":"Hi there, I have tried that now and the script appears to be doing the same thing except the only error message I get this time is:\r\n\r\n`The streaming parser crashed due to malformed XML. Falling back to the less strict/efficient python html.parser. It may\r\ntake a while before you see output...`"}}
{"actor":{"display_login":"LoganWestbury"}}