fabric8-analytics-vscode-extension
fabric8-analytics-vscode-extension copied to clipboard
[BUG] Can't create Python analytics report
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:
- Open a Python project in VS Code
- Load
requirements.txtfile in editor - Click on 'Open Vulnerability Report'
- Error with the above mentioned message is shown.
Expected behavior The report is generated as described in the wiki page.
Screenshots

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.
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.
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.