❯ ../ant file download 304b74b76536e89910262ade48020a4ab2724bdaf353f3b42de625fee2477228 .
Logging to directory: "/home/daniel/.local/share/autonomi/client/logs/log_2025-02-15_13-52-26"
🔗 Connected to the Network
Error:
0: Failed to fetch data from address
1: Failed to deserialize
2: invalid value: integer `73`, expected variant index 0 <= i < 1
Location:
ant-cli/src/actions/download.rs:94
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Also, I’m not being charged for uploads. I uploaded 420Mb and didn’t get charged at all.
Every time I upload anything with -p flag, it says “Uploading public archive referencing 1 files”.
And when uploading wihtout -p, it says “Uploading private archive referencing 1 files.”
What is this archive? New name for datamap? And a wild guess: Could it be that the public datamap has somehow vanished from the network, but you have local copy of it with your AntTP?
Just an example of the output when I upload something with -p:
toivo@toivo-HP-ProBook-450-G5:~$ time ant file upload -p Jokukuva_crop_2.JPG
Logging to directory: "/home/toivo/.local/share/autonomi/client/logs/log_2025-02-15_21-38-23"
🔗 Connected to the Network Enter password to decrypt wallet:
Uploading data to network...
Encrypting file: "Jokukuva_crop_2.JPG"..
Successfully encrypted file: "Jokukuva_crop_2.JPG"
Paying for 4 chunks..
Uploading file: Jokukuva_crop_2.JPG (4 chunks)..
Successfully uploaded Jokukuva_crop_2.JPG (4 chunks) to: f0012e4ec0be24372766c8394a26ab5ac5526eba9c637ac1a4b3a9a1dbdc3890
Upload of 1 files completed in 27.772250661s
Uploading public archive referencing 1 files
Successfully uploaded: Jokukuva_crop_2.JPG
At address: 91bf4ce535af2346729bb5326a5b8717301a4b3d2952bae26acc178568176bac
Number of chunks uploaded: 1
Number of chunks already paid/uploaded: 7
Total cost: 16766722680 AttoTokens
real 1m18.572s
user 0m24.579s
sys 0m10.220s
For AntTP, it just detects whether the address is an archive or a file, but the CLI may be expecting an archive in all cases.
Indeed, plugging in the archive XOR works fine for me:
paul@mini-vader:/tmp$ ant file download a0f6fa2b08e868060fe6e57018e3f73294821feaf3fdcf9cd636ac3d11e7e2ac .
Logging to directory: "/home/paul/.local/share/autonomi/client/logs/log_2025-02-15_19-53-34"
🔗 Connected to the Network Fetching file: "BegBlag.mp3"...
Successfully downloaded data at: a0f6fa2b08e868060fe6e57018e3f73294821feaf3fdcf9cd636ac3d11e7e2ac
So, it just looks like the CLI is expecting archive addresses, not file addresses.
And phew… I was so close to scream about data loss.
So, I guess @aatonnomicc has published the archive address in one place, and file address in another? Otherwise I don’t see how I could have first managed to download it several times, and then not? (Not trying to blame him about anything, of course, just trying to track down the situation.)
The upload process began normally, including encryption and chunk payment:
Logging to directory: "/home/daniel/.local/share/autonomi/client/logs/log_2025-02-15_22-34-05"
🔗 Connected to the Network Uploading data to network...
Encrypting file: "/home/daniel/Downloads/cricket-bowling-150fps-1200.avi"..
Successfully encrypted file: "/home/daniel/Downloads/cricket-bowling-150fps-1200.avi"
Paying for 98 chunks..
Uploading file: /home/daniel/Downloads/cricket-bowling-150fps-1200.avi (98 chunks)..
After 28 minutes (~1,709 seconds), the process completed with the following error:
Upload of 1 files completed in 1709.35344964s
Error uploading file /home/daniel/Downloads/cricket-bowling-150fps-1200.avi: PutError(Network(FailedToVerifyChunkProof(NetworkAddress::RecordKey("504d56bcf8110f0ba764a909eebbfb8a2ec211751039e9c71df2bcd0c63537e5" - 5d11326a8c9022d056e7c99d000afb4a25af4de0168c756ae30eb63febe47372))))
Error:
0: Failed to upload file
1: Failed to upload file
2: A network error occurred.
3: Failed to verify the ChunkProof with the provided quorum