fabric8-analytics-vscode-extension icon indicating copy to clipboard operation
fabric8-analytics-vscode-extension copied to clipboard

[BUG] Can't create Python analytics report

Open LeMoussel opened this issue 2 years ago • 2 comments

Describe the bug Trying to create a Python dependency analytics report always results error : command 'fabric8.stackAnalysisFromPieBtn' not found.

To Reproduce Steps to reproduce the behavior:

  1. Open a Python project in VS Code
  2. Load requirements.txt file in editor
  3. Click on 'Open Vulnerability Report'
  4. Error with the above mentioned message is shown.

Expected behavior The report is generated as described in the wiki page.

Screenshots image

VSCode

  • OS: Windows 10 Enterprise, Version Windows_NT x64 10.0.19044
  • VSCode version 1.68.1
    • Electron : 17.4.7
    • Chromium: 98.0.4758.141
    • Node.js : 16.13.0
    • V8 : 9.8.177.13-electron.0
  • Dependency Analytics Version 0.3.6

Additional context I'm using VSCode from within a company network that has its own proxy.

LeMoussel avatar Jun 29 '22 07:06 LeMoussel

This is not just isolated to python projects. I am experiencing the same issues with golang and maven projects.

I'm experiencing the issue v0.3.6 of the extension. My vs code information is: Version: 1.70.0 (user setup) Commit: da76f93349a72022ca4670c1b84860304616aaa2 Date: 2022-08-04T04:38:16.462Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Windows_NT x64 10.0.19041

I would also comment the functions analyzefromcontext and analyzefromeditor do not appear to be working for anything outside of this project. No error is generated or anything, just nothing happens.

PStoner3 avatar Aug 05 '22 16:08 PStoner3

I'm also facing the same issue on some java projects with maven. (actually, it has been a few months). It works after restarting VSCode between 1 and several times. (it sometimes requires to also delete the target folder). I also noticed that the extension usually doesn't work when the app/project is running.

Update: It also happens with a package.json file.

gian1200 avatar Aug 10 '22 03:08 gian1200