Downloader-for-Apple-Developers
Downloader-for-Apple-Developers copied to clipboard
The archive is Xcode_12_beta.xip is damaged and can't be expanded
If we leave the laptop for downloading, The downloader says its downloaded but getting error while unarchive
The archive is Xcode_12_beta.xip is damaged and can't be expanded
Hi @kksuthar321 ,
I'm not able reproduce this issue. Can you please provide the logs. You can see the logs generated by Downloader in File>Logs>Show in Finder or just press ⌘+F.
2020/06/26 13:22:37:318 Output Stream - #913896 3.8GiB/9.0GiB(42%) CN:10 DL:0B
2020/06/26 13:22:38:329 Output Stream - #913896 3.8GiB/9.0GiB(42%) CN:10 DL:0B
2020/06/26 13:22:39:335 Output Stream - #913896 3.8GiB/9.0GiB(42%) CN:10 DL:0B
2020/06/26 13:22:40:337 Output Stream - #913896 3.8GiB/9.0GiB(42%) CN:10 DL:0B
2020/06/26 13:22:40:340 Output Stream - 06/26 13:22:40 [[1;31mERROR[0m] CUID#11 - Download aborted. URI=http://download.developer.apple.com/Developer_Tools/Xcode_12_beta/Xcode_12_beta.xip
Exception: [../../../src/AbstractCommand.cc:340] errorCode=2 Timeout.
06/26 13:22:40 [[1;31mERROR[0m] CUID#14 - Download aborted. URI=http://download.developer.apple.com/Developer_Tools/Xcode_12_beta/Xcode_12_beta.xip
Exception: [../../../src/AbstractCommand.cc:340] errorCode=2 Timeout.
06/26 13:22:40 [[1;31mERROR[0m] CUID#15 - Download aborted. URI=http://download.developer.apple.com/Developer_Tools/Xcode_12_beta/Xcode_12_beta.xip
Exception: [../../../src/AbstractCommand.cc:340] errorCode=2 Timeout.
06/26 13:22:40 [[1;31mERROR[0m] CUID#16 - Download aborted. URI=http://download.developer.apple.com/Developer_Tools/Xcode_12_beta/Xcode_12_beta.xip
Exception: [../../../src/AbstractCommand.cc:340] errorCode=2 Timeout.
06/26 13:22:40 [[1;31mERROR[0m] CUID#17 - Download aborted. URI=http://download.developer.apple.com/Developer_Tools/Xcode_12_beta/Xcode_12_beta.xip
Exception: [../../../src/AbstractCommand.cc:340] errorCode=2 Timeout.
2020/06/26 13:22:41:345 Output Stream - #913896 3.8GiB/9.0GiB(42%) CN:4 DL:0B
2020/06/26 13:22:41:348 Output Stream -
2020/06/26 13:22:41:348 Download Finish - http://download.developer.apple.com/Developer_Tools/Xcode_12_beta/Xcode_12_beta.xip
2020/06/28 13:45:57:877 Downloader Terminated.
Thanks for the log @kksuthar321. I'm finally able to reproduce this issue. In the next release, I'll provide proper error when download get aborted. However, if you try to download same file again your download will start again from the same point.
The same happened to me but the download appears as completed, and I can't restart/resume the download. What I'm trying now is to removed the downloaded .xip file from my disk and all folders with the name co.di.Downloader from ~/Library to start the download from the beginning but it always appears as a completed download on the Downloader app.
hi @rraallvv ,
I'm really sorry about that. Also, if you want to restart the download from the same position then don't delete .xip file. Also, please check downloaded logs File>Logs>Show in Finder or just press ⌘+F.
Thanks @vineetchoudhary, I'm afraid I deleted the downloaded .xip and also removed the folders in ~/Library that had the logs. I also couldn't find where all the meta data is stored, because I can't remove the file from the list of downloaded items.
I think I got problem related to this issue. It's not about damaged, I think it's about aria2 downloader not resuming the download and the Downloader app just immediate say the download completed. The damaged file occurred because of the aria2 still not finished download the file.
Here's the file in my Download folder
Spoiler warning
But in the Downloader app it show completed
Spoiler warning
In the log itself it say download not completed
Spoiler warning
the same
2021/12/14 05:11:18:558 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.3MiB ETA:1m49s -
2021/12/14 05:11:19:552 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.3MiB ETA:1m47s -
2021/12/14 05:11:20:543 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.4MiB ETA:1m45s -
2021/12/14 05:11:21:533 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.4MiB ETA:1m44s -
2021/12/14 05:11:22:527 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.3MiB ETA:1m44s -
2021/12/14 05:11:23:520 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.4MiB ETA:1m42s -
2021/12/14 05:11:24:512 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.4MiB ETA:1m40s -
2021/12/14 05:11:25:504 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.5MiB ETA:1m39s -
2021/12/14 05:11:26:500 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.5MiB ETA:1m36s -
2021/12/14 05:11:27:489 Output Stream - #1e9c9d 9.4GiB/10GiB(94%) CN:16 DL:5.6MiB ETA:1m35s -
2021/12/14 05:11:27:667 Output Stream - /Applications/Downloader.app/Contents/Resources/AppleMoreDownload.sh: line 14: 43593 Killed: 9 $1 --header 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' --header 'Upgrade-Insecure-Requests: 1' --header 'Cookie: ADCDownloadAuth='$3'' --header 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15' --header 'Accept-Language: en-us\' -x 16 -s 16 $2 -d ~/Downloads --summary-interval=1 -
2021/12/14 05:11:27:673 Download Finish - http://download.developer.apple.com/Developer_Tools/Xcode_13.2/Xcode_13.2.xip
2021/12/14 05:13:53:918 Decided download for extension = - xip
2021/12/14 05:13:55:997 Decided download for extension = - xip
2021/12/14 05:13:56:181 Decided download for extension = - xip
2021/12/14 05:13:56:349 Decided download for extension = - xip
2021/12/14 05:14:00:767 Downloader Terminated.