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

Error on Thumbs.db #7

Closed
crhall opened this issue Nov 18, 2021 · 1 comment
Closed

Error on Thumbs.db #7

crhall opened this issue Nov 18, 2021 · 1 comment

Comments

@crhall
Copy link

crhall commented Nov 18, 2021

I have hidden files turned on and cannot see Thumbs.db, but the script throws errors for various folders and Thumbs.db.
Any clue how to get it to ignore it?

Starting task...
0% (0 of 4200) | | Elapsed Time: 0:00:00 ETA: --:--:--Traceback (most recent call last):
File "nft.py", line 237, in
main()
File "nft.py", line 228, in main
rt = generate_images(edition_name, num_avatars)
File "nft.py", line 172, in generate_images
generate_single_image(trait_paths, os.path.join(op_path, image_name))
File "nft.py", line 72, in generate_single_image
img = Image.open(os.path.join('assets', filepath))
File "C:\Python37\lib\site-packages\PIL\Image.py", line 2896, in open
"cannot identify image file %r" % (filename if filename else fp)
PIL.UnidentifiedImageError: cannot identify image file 'assets\Body\Thumbs.db'

@rounakbanik
Copy link
Owner

This issue has been fixed courtesy @biranchi2018

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

2 participants