You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm creating a collection using the Arweave storage, every once in a while it fails with this error:
uploading file: /mnt/c/Users/user/Documents/nft-assets/images/147.png of format: png
Traceback (most recent call last):
File "cli.py", line 20, in <module>
candy_machine.create()
File "/mnt/c/Dev/AptosNFTMint/script/src/candy_machine.py", line 127, in create
if not util.uploadFolder():
File "/mnt/c/Dev/AptosNFTMint/script/src/util.py", line 300, in uploadFolder
elif _STORAGE_SOLUTION == "arweave": return uploadFolderToArweave()
File "/mnt/c/Dev/AptosNFTMint/script/src/util.py", line 277, in uploadFolderToArweave
tx.sign()
File "/home/user/.local/lib/python3.8/site-packages/arweave/arweave_lib.py", line 192, in sign
data_to_sign = self.get_signature_data()
File "/home/user/.local/lib/python3.8/site-packages/arweave/arweave_lib.py", line 204, in get_signature_data
self.reward = self.get_reward(self.data_size, target_address=self.target if len(self.target) > 0 else None)
File "/home/user/.local/lib/python3.8/site-packages/arweave/arweave_lib.py", line 178, in get_reward
return reward
UnboundLocalError: local variable 'reward' referenced before assignment
The text was updated successfully, but these errors were encountered:
When I'm creating a collection using the Arweave storage, every once in a while it fails with this error:
The text was updated successfully, but these errors were encountered: