Skip to content
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

Issues running the script #13

Open
cynwulfvan opened this issue Jul 27, 2023 · 0 comments
Open

Issues running the script #13

cynwulfvan opened this issue Jul 27, 2023 · 0 comments

Comments

@cynwulfvan
Copy link

cynwulfvan commented Jul 27, 2023

I'm having issues getting this script working on my terminal. It's possible I'm missing something really basic with my use of Terminal/Python3/Github, and I could use some help.

me@M1Air twitter-123 % python3 twitter-export-image-fill.py

Twitter export image fill 1.10
by Marcin Wichary (aresluna.org) and others
use --help to see options

Traceback (most recent call last):
  File "/Users/me/Downloads/twitter-123/twitter-export-image-fill.py", line 427, in <module>
    make_directory_if_needed("img/avatars")
  File "/Users/me/Downloads/twitter-123/twitter-export-image-fill.py", line 114, in make_directory_if_needed
    os.mkdir(directory_path)
FileNotFoundError: [Errno 2] No such file or directory: 'img/avatars'

Or when I skip-avatars to bypass that error:

me@M1Air twitter-2023-07-25-123 % python3 twitter-export-image-fill.py --skip-avatars

Twitter export image fill 1.10
by Marcin Wichary (aresluna.org) and others
use --help to see options

Could not open the data file!
Please run this script from your tweet archive directory
(the one with index.html file).

I couldn't find index.html anywhere, so I tried running the script from several locations within the archive just in case, with no success. Have I placed twitter-export-image-fill.py in the right location? If so, what can I do to find the problem?

@cynwulfvan cynwulfvan changed the title Could not open the data file Issues running the script Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant