Closed stocktonellis closed 2 years ago
Please upload your configuration
Looks like the PDF cuts it off.
Please zip your project and email it to me, so I can debug it. Thanks!
Will do later tonight.
Sounds good, thank you!
{
"name": "Mouth",
"values": ["Closed", "Frown", "Golden-Teeth", "Grumpy", "Smile", "Snorkle", "Tounge-Out", "Mouth-none"],
"trait_path": "./trait-layers/Mouth",
"filename": ["blue", "orange", "purple", "red", "yellow"],
"weights": [10,15,4,3.9,20,.1,14,33]
},
Lines 120-126. Looks like the Values don't match the filenames, which would cause the error you showed.
Oh my goodness. I'm an idiot. Thanks so much!
When I try to run the program with my attributes, I keep getting this error: Not sure why? I did add more traits and values than the original. Any ideas?
% python3 index.py
Traceback (most recent call last): File "/Users/NAME/Desktop/nft-generator/index.py", line 83, in
generate_unique_images(8888, {
File "/Users/NAME/Desktop/nft-generator/index.py", line 28, in generate_unique_images
trait_files[trait["name"]][key] = trait["filename"][x];
IndexError: list index out of range