-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Unexpected end of JSON input #1
Comments
Hm, interesting. How big was the file? Possibly experiencing a memory overflow issue similar to theopolisme/location-history-visualizer#16. |
The JSON file is about 340 MB. |
Yeah, unfortunately it's a known issue that the browser can't load JSON files over 256 MB. I worked on a fix for a desktop version of the Location History Visualizer tool but have yet to port it to web - involves streaming the file for processing rather than loading it all into memory at once. Open to a pull request, but otherwise might take a while... check out the jsonstream module on npm if you're interested! |
Ah, I see. I might not be the right person for a pull request, but thanks for looking into this! Bummer, but this seems like a neat tool all the same! |
As a temporary workaround you could always truncate the file to less than 256 MB (i.e. just remove some of the older data), then try uploading that. I'll keep you posted on this issue when I do get around to implementing a fix! |
When uploading the JSON file from a Google Hangouts Takeout archive today, I get the following error, "Unexpected end of JSON input".
The text was updated successfully, but these errors were encountered: