Giter VIP home page Giter VIP logo

Comments (3)

joweich avatar joweich commented on June 7, 2024

Is this the full error message?
Unfortunately, I could not reproduce the issue with the information provided.
I tested successfully with this chat log:

7.9.2020, 11:23 - Author A: Message A
7.9.2020, 11:24 - Author B: Message B

from chat-miner.

bloodyburger avatar bloodyburger commented on June 7, 2024

here it is

WARNING:chatminer.chatparsers.WhatsAppParser.2215361640912:Can't infer dateformat.                 No message with day > 12. Assuming day first.
Traceback (most recent call last):
  File "c:/Users/Documents/Projects/chat-miner/analyze.py", line 4, in <module>
    parser.parse_file_into_df()
  File "c:\Users\Documents\Projects\chat-miner\chatminer\chatparsers.py", line 28, in parse_file_into_df
    parsed_mess = self._parse_message(mess)
  File "c:\Users\Documents\Projects\chat-miner\chatminer\chatparsers.py", line 88, in _parse_message
    datetime = datetimeparser.parse(mess.split('-', 1)[0],
  File "C:\Users\AppData\Local\Programs\Python\Python38\lib\site-packages\dateutil\parser\_parser.py", line 1374, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "C:\Users\AppData\Local\Programs\Python\Python38\lib\site-packages\dateutil\parser\_parser.py", line 649, in parse
    raise ParserError("Unknown string format: %s", timestr)
dateutil.parser._parser.ParserError: Unknown string format: 7.9.2020 AAAA

from chat-miner.

joweich avatar joweich commented on June 7, 2024

Would you mind copy-pasting 2-3 anonymized lines from your chat logfile?
I can't infer the formatting of your messages from the error message unfortunately.

from chat-miner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.