I am trying to upload the results of bugfinder analysis downloaded from server to the Polyspace Access. But I keep getting this error
5 ビュー (過去 30 日間)
古いコメントを表示
C:\RTC\Athapa_ws1\vcm_app\Polyspace\Polyspace launch files>polyspace-access -host usdc-ppoly1 -protocol http -login loginName -encrypted-password Password -create-project myTestProject Connecting to http://usdc-ppoly1:9443 Connecting as loginName PROJECT_EXISTS myTestProject Command Completed
C:\RTC\Athapa_ws1\vcm_app\Polyspace\Polyspace launch files>polyspace-access -host usdc-ppoly1 -protocol http -login loginName -encrypted-password Password -upload ./Bug_finder_results -project myTestProject Error: Results generated with the desktop application can only be uploaded to Polyspace Access from the desktop user interface Try 'polyspace-access -h' for more information Press any key to continue . . .
0 件のコメント
採用された回答
Anirban
2019 年 10 月 31 日
編集済み: Anirban
2019 年 10 月 31 日
To use the polyspace-access command to upload results, the results must have been generated using one of the Polyspace Server products, Polyspace Bug Finder Server or Polyspace Code Prover Server, or equivalently, the commands polyspace-bug-finder-server or polyspace-code-prover-server.
See more information here: https://www.mathworks.com/help/polyspace_bug_finder_server/gs/run-bug-finder-on-server.html.
Your error message implies that you ran the analysis using the Polyspace desktop products, Polyspace Bug Finder or Polyspace Code Prover. You might have run the analysis using one of the commands polyspace-bug-finder or polyspace-code-prover or run the analysis in the user interface of the desktop products. In either of those cases, you cannot upload the results automatically using the polyspace-access command. You have to upload them individually from the Polyspace user interface. See here: https://www.mathworks.com/help/polyspace_bug_finder_access/gs/upload-results.html
The idea is: the Polyspace Server-Access products serve as a pair for post-submit automation. See here: https://www.mathworks.com/help/polyspace_bug_finder_server/gs/polyspace-products-for-code-analysis-and-verification.html
The desktop products are meant to be run on individual developer's desktops, prior to code submission. Although the desktop products also support automation workflows, an automation that includes upload to Polyspace Access, is not supported. With the desktop products, you are meant to run an analysis and view the results all on the desktop.
However, you might have a license for both the desktop and server products. In this case, you can use the user interface of the desktop products to configure an analysis, get the analysis working and then generate scripts that you run with the server products. See here: https://www.mathworks.com/help/polyspace_bug_finder_server/ug/create-command-line-script-from-project-file.html
1 件のコメント
Christian Bard
2022 年 3 月 28 日
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Complete List of Polyspace Bug Finder Results についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!