Dataproofer icon indicating copy to clipboard operation
Dataproofer copied to clipboard

Large files throw error: `toString failed`

Open Vanuan opened this issue 8 years ago • 2 comments

Summary

400 MiB file results in throw new Error('toString failed');

Steps to reproduce

Open a large csv file

Expected behavior

What was supposed to happen? What happened instead?

Relevant logs and/or screenshots

controller.js:571 ["Uncaught Error: toString failed", "buffer.js", 378, 5, Error: toString failed
at Buffer.toString

Possible fixes?

Buffer doesn't support large files? It's strange

Related issues/pull requests?

Using it first time

Vanuan avatar Apr 21 '16 06:04 Vanuan

Hey @Vanuan. Thanks for letting us know, and could you share that large file so we can check it out? We built Dataproofer as a prototype with a Knight Foundation Prototype grant, and now we want to make it more robust. Happy to look into this.

newsroomdev avatar Apr 21 '16 18:04 newsroomdev

It's here: http://old.minjust.gov.ua/downloads/15-UFOP.zip

Vanuan avatar Apr 22 '16 10:04 Vanuan