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

TypeError: 'NoneType' object is not subscriptable problem #1

Merged
merged 1 commit into from
Mar 13, 2022

Conversation

ykeremekinci
Copy link
Owner

Starting task...
Traceback (most recent call last):
File "D:\Google Indirilenler\generative-art-nft-master\generative-art-nft-master\nft.py", line 259, in
main()
File "D:\Google Indirilenler\generative-art-nft-master\generative-art-nft-master\nft.py", line 250, in main
rt = generate_images(edition_name, num_avatars)
File "D:\Google Indirilenler\generative-art-nft-master\generative-art-nft-master\nft.py", line 186, in generate_images
if is_dupliacted(rarity_dict, trait_sets, image_index):
File "D:\Google Indirilenler\generative-art-nft-master\generative-art-nft-master\nft.py", line 151, in is_dupliacted
if rarity_dict[CONFIG[idx]['name']][index] != trait[: -1 * len('.png')]:
TypeError: 'NoneType' object is not subscriptable

I got this problem.

@ykeremekinci ykeremekinci merged commit cca1e91 into master Mar 13, 2022
@ykeremekinci ykeremekinci deleted the generative-art-nft-ykeremekinci branch March 13, 2022 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant