timhutton / twitter-archive-parser

Python code to parse a Twitter archive and output in various ways

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'tweet_media' and 'tweets_media' folders

adikeinan opened this issue · comments

Hello there! I've been having this issue with the script: when I run it, after a couple of seconds it throws this error message:
Error: no folders matching ['tweet_media', 'tweets_media'] in .\data
I do have a 'tweets_media' folder under ‘data’, but not ‘tweet_media'.
Could you please advise? Thanks!

Hi! You probably called the script from another folder. You have to be inside the archive folder and call the script from there.

(The script should give a more helpful error message in that case, which will be fixed by the PR @flauschzelle just made.)

commented

I just did a pull request on the readme to add an additional 'change into the unzipped directory' step to the process, just to make it easier to spot that.

commented

(But it may not be needed if there's an error message fix on the way!)

@mialondon I think it doesn't hurt to also make it clearer in the readme, even when there is a better error message again. Especially because you've already done the work and it just needs merging :)

Hi! You probably called the script from another folder. You have to be inside the archive folder and call the script from there.

(The script should give a more helpful error message in that case, which will be fixed by the PR @flauschzelle just made.)

Thank you! That worked.