I am trying to upload the results of bugfinder analysis downloaded from server to the Polyspace Access. But I keep getting this error
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Asim Thapa
el 25 de Sept. de 2019
Comentada: Christian Bard
el 28 de Mzo. de 2022
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 comentarios
Respuesta aceptada
Anirban
el 31 de Oct. de 2019
Editada: Anirban
el 31 de Oct. de 2019
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 comentario
Christian Bard
el 28 de Mzo. de 2022
Más respuestas (0)
Ver también
Categorías
Más información sobre Complete List of Polyspace Bug Finder Results en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!