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

Uncaught RangeError: Maximum call stack size exceeded #18

Closed Tuteav closed 4 years ago

Tuteav commented 4 years ago

Im getting the folowing error when trying to get my data from my 3 years old conversation with my GF:

graphs.js:73 Uncaught RangeError: Maximum call stack size exceeded at set_graph_0_whisk (graphs.js:73) at set_graph_0 (graphs.js:149) at FileReader. (graphs.js:490) set_graph_0_whisk @ graphs.js:73 set_graph_0 @ graphs.js:149 (anonymous) @ graphs.js:490 load (async) trigger_process @ graphs.js:476 onclick @ (index):57

The chat has over 160000 messages so that might be a problem. Tried the program on a 10k messages chat with the same properties (Emoji on the contact name, same datee and time format, etc) and it worked

BryceStevenWilley commented 4 years ago

That's interesting. I guess JS just straight up puts the whole array on the stack. I'll try to fix that this week, will ping here when I think it's fixed. Thanks for the report!

BryceStevenWilley commented 4 years ago

Thanks to htcodes, this has been fixed! @Tuteav, feel free to give this another try!

Tuteav commented 4 years ago

Yes, It has been fixed ! I have other issues now lol but gonna report them on another issues.