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

Error with running chatstats #11

Open
giatrakosg opened this issue Oct 6, 2022 · 0 comments
Open

Error with running chatstats #11

giatrakosg opened this issue Oct 6, 2022 · 0 comments

Comments

@giatrakosg
Copy link

Hello,

after forking and installing the dependencies I run into the following error.

Plotting graphs... This may take a minute.
/home/ggiatrakos/Downloads/messages/inbox/[redacted]/message_1.json
/home/ggiatrakos/Programs/chatstats/chatstats.py:67: UserWarning: This pattern is interpreted as a regular expression, and has match groups. To actually get the groups, use str.extract.
  data['game'] = data['content'].str.contains(chatstats_constants.GAME_REGEX, na=False)
Traceback (most recent call last):
  File "/home/ggiatrakos/Programs/chatstats/chatstats.py", line 225, in <module>
    main(sys.argv)
  File "/home/ggiatrakos/Programs/chatstats/chatstats.py", line 212, in main
    words, bigrams, trigrams = word_data(messages)
  File "/home/ggiatrakos/Programs/chatstats/chatstats.py", line 117, in word_data
    elif word in emoji.UNICODE_EMOJI:
AttributeError: module 'emoji' has no attribute 'UNICODE_EMOJI'

There seems to be an issue with the emoji library.

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

1 participant