Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

HTTP error 500 when uploading twitter archive #263

Closed
ghost opened this issue Sep 12, 2019 · 1 comment
Closed

HTTP error 500 when uploading twitter archive #263

ghost opened this issue Sep 12, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Sep 12, 2019

Hello,

you can search logs for twitter-2019-09-03-e8e262c23c29034d93e33705d9283f85db6574afa2b9487caa474c0b98357944.zip file, it's about 300Mb. I've got this after uploading:

500 Internal server error

(psycopg2.errors.InternalError_) invalid memory alloc request size 1073741824

[SQL: INSERT INTO twitter_archives (account_id, body, chunks) VALUES (%(account_id)s, %(body)s, %(chunks)s) RETURNING twitter_archives.id]
[parameters: {'account_id': 'twitter:1063429539060203520', 'body': <psycopg2.extensions.Binary object at 0x7f7ea8efe148>, 'chunks': None}]
(Background on this error at: http://sqlalche.me/e/2j85)

How can we fix it?

codl added a commit that referenced this issue Sep 13, 2019
it has come to my attention while investigating #263 that tweet archives
as forget supports them are no longer a thing. this commit disables all
front-facing archive support and puts a banner above the form
@codl codl mentioned this issue Sep 13, 2019
@codl
Copy link
Owner

codl commented Sep 13, 2019

the tweet archive format that forget supported has been phased out by twitter. the new format will be supported soon, please subscribe to #64 for updates

@codl codl closed this as completed Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant