Closed Neurologist closed 2 years ago
This error of skipping failed uploads when uploading image and animation files continues even after the most recent update v1.0
Sugar Launch
cache.json
generated will not contain animation_url
links to arweave files, it will totally skip them
[2/5] 🖥 Initializing upload
▪▪▪▪▪ Connected
Funding address:
-> pubkey: DeBtJy88jrnheD8F3HEAqiQztykXksgMyvmcByHC5RGv
-> lamports: 126601662 (◎ 0.126601662)
Signature: 5wr1vED5oVYSoqAu9Q9sLoMW9UN14dUeeHY2af78ziLV492PuA4h1KSCYakQ7CbsaMgyLoyGJKfSa8p3G2T5uEyd
[3/5] 📤 Uploading image files
Sending data: (Ctrl+C to abort)
[00:21:40] Upload failed ███████████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 126/421
[4/5] 📤 Uploading animation files
Sending data: (Ctrl+C to abort)
[00:18:45] ██████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 24/421
This would be a nightmare to handle if each NFT were unique and randomized among data set I hope someone can help recreate the error and fix ! Thank you
Issue description
Steps to reproduce with:
image
+ MP4animation_url
usingSugar Launch
commandBUG: If the NFT is comprised of
animation_url
(MP4's) andimage
(GIFs) or (PNG) Then the sugar upload does not persistently check for completed metadata, it will skipanimation_url
(Mp4) failed uploads and move on to image and may or may not complete it before forcefully deploying candy machine.Candy Machine v2 would persistently check the upload and before deploying one could be sure that both were fully uploaded correctly before allowing candy machine from being deployed
Attempt #2 There is an issue with sugar allowing "failed uploads" to proceed and even deploy the candy machine.
Example 1: Uploading image and video NFTs A. Video Upload fails at 300/600 uploads -- sugar proceeds to Upload Images B. All images upload C. Candy Machine is deployed, NFTs are missing data -- so videos are not present, but images are
Proposing adding a check or to persistently request these uploads.
I've had to use
metaboss
to update theanimation_url
-- I've recreated this many times on Windows on different machinesBelow you can see that it allows deployment of Candy Machine despite having failed uploads. This error is happening again and again across different machines and networks
Relevant log output
Priority this issue should have
Low (slightly annoying)