question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fbchat_archive_parser.parser.FacebookDataError

See original GitHub issue

Getting error at a time of parsing the message.htm file Related files are Attached parse_file.zip

fbcap ./messages.htm > fbMessages.txt

Traceback (most recent call last):

File "/Users/coddict/anaconda/bin/fbcap", line 11, in <module>
  load_entry_point('fbchat-archive-parser==1.0.post1', 'console_scripts', 'fbcap')()
File "/Users/coddict/anaconda/lib/python3.6/site-packages/click/core.py", line 722, in __call__
  return self.main(*args, **kwargs)
File "/Users/coddict/anaconda/lib/python3.6/site-packages/click/core.py", line 697, in main
  rv = self.invoke(ctx)
File "/Users/coddict/anaconda/lib/python3.6/site-packages/click/core.py", line 895, in invoke
  return ctx.invoke(self.callback, **ctx.params)
File "/Users/coddict/anaconda/lib/python3.6/site-packages/click/core.py", line 535, in invoke
  return callback(*args, **kwargs)
File "/Users/coddict/anaconda/lib/python3.6/site-packages/fbchat_archive_parser/main.py", line 118, in fbcap
  fbch = parser.parse()
File "/Users/coddict/anaconda/lib/python3.6/site-packages/fbchat_archive_parser/parser.py", line 92, in parse
  self._parse_content()
File "/Users/coddict/anaconda/lib/python3.6/site-packages/fbchat_archive_parser/parser.py", line 117, in _parse_content
  self._process_element(pos, element)
File "/Users/coddict/anaconda/lib/python3.6/site-packages/fbchat_archive_parser/parser.py", line 250, in _process_element

“An unrecoverable parsing error has occurred (missing timestamp data)” fbchat_archive_parser.parser.FacebookDataError: An unrecoverable parsing error has occurred (missing timestamp data)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ckshitijcommented, Oct 16, 2017

@ownaginatious Thank you so much, it’s working now. 😃

1reaction
arnaudsmcommented, Oct 14, 2017

Same problem here ! It seems that Facebook changed the archive structure recently.
Now the messages.htm file is only a few KB, and all the threads are in separate .html files in a /messages/ folder ! The whole parser is broken now…

Read more comments on GitHub >

github_iconTop Results From Across the Web

fbchat_archive_parser · PyPI
A small tool and library for parsing chat history from a Facebook data archive into more usable formats. ## What is a "Facebook...
Read more >
Full API — fbchat 1.9.7 documentation
A client for the Facebook Chat (Messenger). ... Initialize and log in the client. ... Called when an error was encountered while parsing...
Read more >
I'm seeing a problem with how Facebook appears on my web ...
You may be able to fix this issue by clearing your cache and temporary data. You can do this from your web browser's...
Read more >
fbchat Documentation - Read the Docs
This project was inspired by facebook-chat-api. ... Called when an error was encountered while parsing recieved data. Parameters.
Read more >
Unable to access user info object property - facebook chat api
Is it here you are having the error? api.sendMessage(`FB Pager v1.0.\nHi ${user.name}!Your message was forwarded with an email to ${currentUser.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found