Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: FacebookChatHistory instance has no attribute 'chat_threads' #14

Closed
nomeata opened this issue Oct 25, 2016 · 1 comment

Comments

@nomeata
Copy link

nomeata commented Oct 25, 2016

Printing the chat as text works, but running stats fails:

Traceback (most recent call last):
  File "/home/jojo/.bin/fbcap", line 11, in <module>
    sys.exit(main())
  File "/home/jojo/.local/lib/python2.7/site-packages/fbchat_archive_parser/main.py", line 154, in main
    app.run()
  File "/home/jojo/.local/lib/python2.7/site-packages/clip.py", line 652, in run
    self.invoke(self.parse(tokens))
  File "/home/jojo/.local/lib/python2.7/site-packages/clip.py", line 634, in invoke
    self._main.invoke(parsed)
  File "/home/jojo/.local/lib/python2.7/site-packages/clip.py", line 519, in invoke
    self._callback(**{k: v for k, v in iteritems(parsed) if k not in self._subcommands})
  File "/home/jojo/.local/lib/python2.7/site-packages/fbchat_archive_parser/main.py", line 96, in fbcap
    generate_stats(fbch, sys.stdout)
  File "/home/jojo/.local/lib/python2.7/site-packages/fbchat_archive_parser/main.py", line 134, in generate_stats
    threads = tuple(fbch.chat_threads[k] for k in fbch.chat_threads.keys())
AttributeError: FacebookChatHistory instance has no attribute 'chat_threads'
@ownaginatious
Copy link
Owner

Whoops, consequence of incredibly lacking tests on my part :/ Should be fixed now (0.7.post16).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants