MATLAB Answers

SoC Blockset Support Package for Xilinx Devices Installation Error

4 views (last 30 days)
Hi all,
I'm not able to install SoC Blockset Support Package for Xilinx Devices. The log file records are below. It has wrong number of bytes error. Can you please help me solve the issue?
Thanks in advance
(Mar 05, 2020 10:47:30) Initializing session 932e311d-93a1-4082-895a-6ad69d2833cf
(Mar 05, 2020 10:47:30) isDesktopSupported: true
(Mar 05, 2020 10:47:30) In cacheParameters()
(Mar 05, 2020 10:47:30) QueryParams{inputfile='', matlabroot='C:\Program Files\MATLAB\R2019b', workflowType='ADDONSINSTALL', downloadfolder='', installfolder='C:\ProgramData\MATLAB\SupportPackages\R2019b', basecode=[XILINX_BLOCKSET], entryPoint='toolstrip', entryPointKey='2ef3f24d-2531-464a-b68c-a9121c296319', archiveLocation=''}
(Mar 05, 2020 10:47:30) MATLAB root: C:\Program Files\MATLAB\R2019b
(Mar 05, 2020 10:47:30) Download folder: C:\Users\bacif\AppData\Local\Temp\SupportPackages_R2019b687313862719881531
(Mar 05, 2020 10:47:30) Installation folder: C:\ProgramData\MATLAB\SupportPackages\R2019b
(Mar 05, 2020 10:47:30) Current widget = MAIN, Next widget = VALIDATION
(Mar 05, 2020 10:47:30) Assembling product list...
(Mar 05, 2020 10:47:30) Starting local product/component search in download directory
(Mar 05, 2020 10:47:30) Searching for archives...
(Mar 05, 2020 10:47:30) C:\Users\bacif\AppData\Local\Temp\ssi_dws_6821464126565800860\archives doesn't exist ... skipping.
(Mar 05, 2020 10:47:30) Reading C:\Users\bacif\AppData\Local\Temp\ssi_dws_6821464126565800860
(Mar 05, 2020 10:47:30) 0 files found in C:\Users\bacif\AppData\Local\Temp\ssi_dws_6821464126565800860
(Mar 05, 2020 10:47:30) Archive search complete. 0 total files found.
(Mar 05, 2020 10:47:30) Completed local product/component search
(Mar 05, 2020 10:47:31) Retrieving product data
(Mar 05, 2020 10:47:31) Preparing for installation
(Mar 05, 2020 10:47:32) Completed local product/component search
(Mar 05, 2020 10:47:32) Completed local product/component search
(Mar 05, 2020 10:47:32) Completed local product/component search
(Mar 05, 2020 10:47:32) Completed local product/component search
(Mar 05, 2020 10:47:33) Completed local product/component search
(Mar 05, 2020 10:47:33) Completed local product/component search
(Mar 05, 2020 10:47:33) Completed local product/component search
(Mar 05, 2020 10:47:33) Completed local product/component search
(Mar 05, 2020 10:47:33) Completed local product/component search
(Mar 05, 2020 10:47:34) Exiting with status 0
(Mar 05, 2020 10:47:34) End - Successful.
(Mar 05, 2020 10:47:34) Current widget = VALIDATION, Next widget = CONFIRMATION
(Mar 05, 2020 10:47:34) Current widget = CONFIRMATION, Next widget = LICENSE_AGREEMENTS
(Mar 05, 2020 10:47:39) Current widget = LICENSE_AGREEMENTS, Next widget = THIRDPARTY
(Mar 05, 2020 10:47:39) Current widget = THIRDPARTY, Next widget = PROGRESS
(Mar 05, 2020 10:47:40) Assembling product list...
(Mar 05, 2020 10:47:40) Starting local product/component search in download directory
(Mar 05, 2020 10:47:40) Searching for archives...
(Mar 05, 2020 10:47:40) C:\Users\bacif\AppData\Local\Temp\SupportPackages_R2019b687313862719881531\archives doesn't exist ... skipping.
(Mar 05, 2020 10:47:40) Archive search complete. 0 total files found.
(Mar 05, 2020 10:47:40) Completed local product/component search
(Mar 05, 2020 10:47:40) Retrieving product data
(Mar 05, 2020 10:47:40) Preparing for installation
(Mar 05, 2020 10:47:41) Completed local product/component search
(Mar 05, 2020 10:47:41) Completed local product/component search
(Mar 05, 2020 10:47:41) Completed local product/component search
(Mar 05, 2020 10:47:42) Completed local product/component search
(Mar 05, 2020 10:47:42) Completed local product/component search
(Mar 05, 2020 10:47:42) Completed local product/component search
(Mar 05, 2020 10:47:42) Completed local product/component search
(Mar 05, 2020 10:47:42) Completed local product/component search
(Mar 05, 2020 10:47:42) Completed local product/component search
(Mar 05, 2020 10:47:43) Download thread pool size = 4
(Mar 05, 2020 10:47:43) Starting Download: SoC Blockset Support Package for Xilinx Devices 19.2.3 : 21,611,865 bytes
(Mar 05, 2020 10:47:43) Wrong number of bytes: Expected 3303, got 4122
(Mar 05, 2020 10:47:45) Wrong number of bytes: Expected 3370, got 4374
(Mar 05, 2020 10:47:46) com.mathworks.install_impl.input.InvalidFileSizeException: Wrong number of bytes: Expected 3303, got 4122
at com.mathworks.install_impl.input.ComponentDownloader.download(Unknown Source)
at com.mathworks.install_impl.InstallableComponentImpl.download(Unknown Source)
at com.mathworks.install_impl.InstallableComponentImpl.downloadAndShowError(Unknown Source)
at com.mathworks.install_impl.MultiThreadedDownloadPool.downloadAndWait(Unknown Source)
at com.mathworks.install_impl.ProductDownloaderImpl.downloadProducts(Unknown Source)
at com.mathworks.install_impl.DownloaderImpl.download(Unknown Source)
at com.mathworks.installwizard.model.DownloadTask.execute(DownloadTask.java:42)
at com.mathworks.install_task.AbstractInstallTask.call(AbstractInstallTask.java:50)
at com.mathworks.install_task.AbstractInstallTask.call(AbstractInstallTask.java:18)
at com.mathworks.wizard.worker.WorkerImpl.doInBackground(WorkerImpl.java:24)
at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at javax.swing.SwingWorker.run(SwingWorker.java:334)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
(Mar 05, 2020 10:47:46) The following error was detected while downloading hardwaresupportpkgs/soc/xilinxsoc_tptools_glnxa64_1564176654.zip:
Wrong number of bytes: Expected 3303, got 4122
Would you like to retry downloading hardwaresupportpkgs/soc/xilinxsoc_tptools_glnxa64_1564176654.zip? If you press No, the installer will exit without completing the installation.
(Mar 05, 2020 10:47:46) Exiting with status -1
(Mar 05, 2020 10:47:46) End - Unsuccessful.
(Mar 05, 2020 10:47:46) Download Error: There was a problem downloading the support package. To resolve this issue, see this MATLAB Answer
at com.mathworks.supportsoftwareinstaller.api.DownloadAPI.downloadSP(DownloadAPI.java:129)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.downloadSupportPackage(SSIDownloadAndInstallServiceBridgeImpl.java:149)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.downloadAndInstallSupportPackage(SSIDownloadAndInstallServiceBridgeImpl.java:141)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.downloadAndInstallSPEntryPointWithOverrides(SSIDownloadAndInstallServiceBridgeImpl.java:89)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.startDownloadAndInstall(SSIDownloadAndInstallServiceBridgeImpl.java:46)
at com.mathworks.supportsoftwareinstaller.services.DownloadAndInstallService.downloadAndInstallSPEntryPoint(DownloadAndInstallService.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:24)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:10)
at com.mathworks.connector.cosg.impl.CosgServiceProvider.deliver(CosgServiceProvider.java:76)
at com.mathworks.connector.impl.ConnectorImpl.handle(ConnectorImpl.java:64)
at com.mathworks.connector.impl.ContextImpl.handle(ContextImpl.java:182)
at com.mathworks.connector.native_bridge.impl.NativeBridgeImpl.handle(NativeBridgeImpl.java:25)
at com.mathworks.connector.native_bridge.NativeBridge.fromNative(NativeBridge.java:23)
Caused by: java.lang.Exception: MW content: Wrong number of bytes: Expected 3303, got 4122null
... 17 more
(Mar 05, 2020 10:47:46) SSI downloadAndInstallSP Response: {"exception": {"cause":"MW content: Wrong number of bytes: Expected 3303, got 4122null","title":"Download Error","message":"There was a problem downloading the support package. To resolve this issue, see this MATLAB Answer","type":"ERROR"}}

  0 Comments

Sign in to comment.

Accepted Answer

Kiran Kintali
Kiran Kintali on 1 Nov 2020
If you cotinue to have this issue, please reach out to install support team support@mathworks.com

  1 Comment

Baris Ciftci
Baris Ciftci on 1 Nov 2020
Thanks for the advice. I guess I managed to install the package, but do not remember now how, it was long time ago.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by