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] (whatsapp) visualization doesn't load #34

Open vmokzt opened 4 years ago

vmokzt commented 4 years ago

couldn't find a raised issue (open/closed) with the same console ouput that i got, apologies if i just didn't look hard enough!!

Describe the bug Nothing happens after clicking "show data"

To Reproduce

  1. Steps to reproduce the behavior, mostly what you did to get your messages in a text format.
    • exported chat, unzipped folder to access chat .txt file
  2. If you are on a desktop browser, go to your developer tools (F12 in chrome, the console tab) and provide any logs that are in the console. Untitled

Expected behavior my chat data to appear in a pretty visualization :(

Screenshots If applicable, add screenshots to help explain your problem.

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? [3/1/19, 13:35:24] van: have you seen this!

and file size is less than 2.5mb

udnkm commented 4 years ago

Describe the bug Nothing happens after clicking "show data"

To Reproduce

I exported chat then unzipped folder to access chat .txt file image

Expected behavior my chat data to appear in a pretty visualization :(

Screenshots image

Desktop:

OS: Windows 10 Browser: Chrome Version: 79.0.3945.130 (Build oficial) (64 bits)

Additional context a typical line of my message file looks like this: [10/23/14, 18:50:40] Brix 👽: VOS ESTAS VIENDO ESO

.txt file is bigger than 2.5mb. It's 10.1mb

I think I know what the problem is. I've been trying to test this with and old backup of the same chat that I did when i had android. Now I have iphone. The difference between those .txt files is that android export your chat like this: 11/27/18, 3:06 AM - Brix 👽: Mal

And Iphone export your chat like this: [10/23/14, 18:50:40] Brix 👽: VOS ESTAS VIENDO ESO

you see the difference? it's not the date. It's the brackets [ ] It doesnt recognize them. I tried to see my data with my old backup from android and it worked perfectly but with iphone and the date in brackets doesnt work even when i reduce the file size to less than 2.5 mb. Hope you can fix it and thank you. I would like to use this

BryceStevenWilley commented 4 years ago

Hey vmokzt, udnkm, I'll try to take a look into this. I thought I had covered these message formats in the test data (generated by scripts/generate_tests.py). I'll double check that's the case some time this week, but I'm not sure what else it could be.

BryceStevenWilley commented 4 years ago

Hey @vmokzt, @udnkm, bbf3908f2525e7d8edcd91c96f49c36bf31bcacf, which if it doesn't fix the problem for y'all, should at least give some better errors. Let me know if it works for y'all this time!

vmokzt commented 4 years ago

image

Hey @BryceStevenWilley, here's the new console log :)

udnkm commented 4 years ago

@BryceStevenWilley image new logs here