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 when create data #99
Comments
Same problem here |
any workaround? |
Same problem |
@mirkhayot1998, @xReapex @sandhunter66 can you provide anymore information about your setup? What version of BMNFTs are you using? Have you uninstalled all previous versions and tried a fresh download? What is the recommended limit for your collection? Is this the first time you've seen this error? |
im using blender 3.0 using fresh installation. |
recommended limit of my collection is 46000 |
yes it is the first time i see this error.. i really hope this plugin works because i can see it is very useful for many people |
I'm getting the same problem trying now.. I opened my own issues comment prior to seeing this sorry. I have screen shots I feel like I've still done something wrong... |
It looks like this might be an issue with the naming of an Attribute or Variant collection. I would recommend reading https://github.com/torrinworx/Blend_My_NFTs#blender-file-organization-and-structure and check over your scene one more time. |
hi.. thank you for the addon.. but im facing a problem when trying to create data and generate nft.. This is the problem
Error: Python: Traceback (most recent call last):
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main_init_.py", line 352, in execute
DNA_Generator.send_To_Record_JSON(collectionSize, nftsPerBatch, save_path, enableRarity, enableLogic, logicFile, Blend_My_NFTs_Output)
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main\main\DNA_Generator.py", line 278, in send_To_Record_JSON
create_nft_data()
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main\main\DNA_Generator.py", line 235, in create_nft_data
DataDictionary = generateNFT_DNA(collectionSize, logicFile, enableRarity, enableLogic)
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main\main\DNA_Generator.py", line 192, in generateNFT_DNA
DNAList = create_DNAList()
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main\main\DNA_Generator.py", line 186, in create_DNAList
DNASetReturn |= {''.join([dnaPushToList()]) for _ in range(collectionSize - len(DNASetReturn))}
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main\main\DNA_Generator.py", line 186, in
DNASetReturn |= {''.join([dnaPushToList()]) for _ in range(collectionSize - len(DNASetReturn))}
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main\main\DNA_Generator.py", line 167, in singleCompleteDNA
singleDNA = createDNArandom()
File "C:\Users\RYZEN 5\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\Blend_My_NFTs-main\main\DNA_Generator.py", line 151, in createDNArandom
randomVariantNum = random.choices(i, k=1)
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\random.py", line 486, in choices
return [population[floor(random() * n)] for i in _repeat(None, k)]
File "C:\Program Files\Blender Foundation\Blender 3.0\3.0\python\lib\random.py", line 486, in
return [population[floor(random() * n)] for i in _repeat(None, k)]
IndexError: list index out of range
location: :-1
The text was updated successfully, but these errors were encountered: