cfn-resource-actions
cfn-resource-actions copied to clipboard
CloudFormation Resource Actions causes python integrter and Intellicode to fail
Environment
CloudFormation Resource Actions Version: 0.0.40
Visual Studio Code Version: 1.57.0 (Universal) Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c Date: 2021-06-09T17:22:31.215Z Electron: 12.0.9 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Darwin x64 20.5.0
Description
When I launch VS Code I'm presented with this error (after extensions are loaded)
Error: Sorry, something went wrong activating IntelliCode support for Python. Please check the "Python" and "VS IntelliCode" output windows for details.
The IntelliCode logs show the following.
Language server is set to Pylance.
Acquiring model
Acquiring model 'intellisense-members-lstm-pylance' for python
Querying IntelliCode service for available models.
vs-intellicode-python was passed a model: {}.
Cached model is up to date.
Activating Python extension
Error while activating Python: {}
Python logs are not even present, indicating to me that Python extension have crashed. This is confirmed when I try to select a Python interpreter
Command 'Python: Select Interpreter' resulted in an error (command 'python.setInterpreter' not found)
I have disabled all extensions and turned then on one by one. The only one that results in an error is the CloudFormation Resource Actions.
Thanks for reporting this.
I can reproduce this. Also found these logs under Log (Extension Host):
[2021-06-30 20:42:00.384] [exthost] [error] Activating extension ms-python.python failed due to an error:
[2021-06-30 20:42:00.384] [exthost] [error] SecurityError: localStorage is not available for opaque origins
Seems like cfn-resource-actions pulls in something that causes that