Rate This Document
Findability
Accuracy
Completeness
Readability

Unable to Download the Report After Source Code Analysis Is Complete

Symptom

In VS Code, the code analysis task completes successfully for source code porting , but an error message appears indicating that the file source_report-Code_Porting_xxx.zip failed to download. The following error information is displayed in the log file:

Possible Causes

The VS Code plugin version does not match the DevKit version.

Troubleshooting Procedure

  1. Uninstall the installed VS Code plugin.
    1. Open VS Code on your local PC and click the icon in the navigation tree on the left.
    2. In Extensions, click a DevKit plugin.
    3. On the displayed page, click Uninstall to uninstall the DevKit plugin.
  2. Install the VS Code plugin that matches the DevKit version.
    1. Go to the Kunpeng DevKit Download CenterDevKit Download Center.
    2. Click IDE Plugin.
    3. In the VS Code plugin package area, select the plugin package of the corresponding version and click Download Software Package.
    4. Open VS Code on your local PC and click the icon in the navigation tree on the left.
    5. Choose > Install from VSIX. Select the downloaded Kunpeng DevKit plugin package and click Install.
    6. After the installation is complete, click in the navigation tree on the left to start the Kunpeng DevKit plugin.
  3. Log in to the Kunpeng DevKit and download the report again.