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

help error(dont have coding idea) #17

Open
dev-adalz opened this issue Feb 9, 2022 · 1 comment
Open

help error(dont have coding idea) #17

dev-adalz opened this issue Feb 9, 2022 · 1 comment

Comments

@dev-adalz
Copy link

THE MEANING OF THIS IS: YOUR 0.json THAT SHOULD BE NFT #0, CAN BE THE NFT #1234 AND SO ON.

Cleaning output folder... Done.
Obtainig attributes list and order of layers... Done.
Obtaining Bg items and creating the tombola... Traceback (most recent call last):
  File "C:\Users\adalz\solseum-nft-generator\main.py", line 28, in <module>
    nfts = NftCreator(numberNFTs, folderPaths, testRarities, randomizedOutput)
  File "C:\Users\adalz\solseum-nft-generator\includes\nft_creator.py", line 19, in __init__
    self.items, self.itemsPath, self.itemsTombola, self.maxPossibilities 
= self.GetItemsList(self.orderedLayersPath,self.attributes)
  File "C:\Users\adalz\solseum-nft-generator\includes\nft_creator.py", line 93, in GetItemsList
    item, itemPath, itemTombola = self.GetItemsPerAttribute(attributesPath[i], attributes[i])
  File "C:\Users\adalz\solseum-nft-generator\includes\nft_creator.py", line 116, in GetItemsPerAttribute
    item.append(file[1].replace('.png', '').replace('_', ' ').title())   
IndexError: list index out of range```
@Solseum
Copy link
Owner

Solseum commented Feb 9, 2022

You dont have the correct format in ur images! Some of ur Bg or more doesnt meet the number-name.png

For example 5-cyan.png

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