BryceStevenWilley / visioning_texts

A D3 project that locally visualizes your messages from Signal or Whatsapp
GNU General Public License v3.0
37 stars 6 forks source link

[BUG] Everything is broken with whatsapp chat log #24

Closed lukeeexd closed 4 years ago

lukeeexd commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

Nothing displays after uploading whatsapp chat log

Expected behavior Everything not to be fucked

Screenshots If applicable, add screenshots to help explain your problem. https://i.tws.gg/oTBJQJnVg3.png

Desktop (please complete the following information):

Additional context If it's a text format, what does a typical line of your message file look like? (If it's CSV, please include the first line as well).

BryceStevenWilley commented 4 years ago

What's a typical line in your chat log look like?

lukeeexd commented 4 years ago

The contact has an emoji in their name so it comes out all funny in the log. Maybe thats why?

BryceStevenWilley commented 4 years ago

Shouldn't be the case, I've been testing with a contact with an emoji in their name as well. This is likely a date parsing issue, i.e. the first part of each line isn't what the site expects. Can you show what that looks like for you?

lukeeexd commented 4 years ago

[31/12/2019, 2:14:40 a.m.]

BryceStevenWilley commented 4 years ago

Ohh, I haven't seen a.m. yet, just AM. Adding that to the test suite, thanks!

lukeeexd commented 4 years ago

pm is the same p.m.

lukeeexd commented 4 years ago

Just tested it by replacing the a.m. and p.m. with AM and PM and it works. Except this https://i.tws.gg/hDlIAPQArT.png lol

BryceStevenWilley commented 4 years ago

@lukeeexd, you should be able to have things work without manually changing the data now. The too-large emoji's are still an issue though, being tracked in #27.

BryceStevenWilley commented 4 years ago

The a.m./p.m. parsing should be okay now. Feel free to reopen if you still have issues.