Comments (3)
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.
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.
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)
- Add minimal documentation HOT 1
- Can't run the parser HOT 6
- CLI to parse into csv files HOT 8
- Examples for Natural Language Processing HOT 3
- Add unit test for Command Line Interface HOT 3
- Adding in ReadMe to use double backslashes or raw string for FILEPATH HOT 2
- Any Other language translated README HOT 4
- CLI for visualisation HOT 2
- Inferring dates fails for text containing [] and - leading to a ValueError on line 186 of chatparsers.py HOT 1
- Graphs for each person in conversation HOT 4
- ValueError(f"Invalid date format: {line}") HOT 1
- Wordcloud also displays non printable characters (Workaround) HOT 5
- ValueError: Unknown projection 'radar'
- TypeError: isinstance is missing 1 argument in the chatparser HOT 1
- Matrix support
- Group chat Support HOT 2
- ValueError: not enough values to unpack (expected 2, got 1) HOT 7
- Single graph instead of two HOT 2
- Refactor telegram parser HOT 3
- Refactor dataframe wrangling in calendar heat map
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chat-miner.