Comments (3)
Open the developer tools in Code shows the following error when its attempting to load content assist:
[Extension Host] Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands\__init__.py", line 461, in get_op_handler
op = import_module(mod_to_import)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 978, in _gcd_import
File "<frozen importlib._bootstrap>", line 961, in _find_and_load
File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\command_modules\network\custom.py", line 149, in <module>
sku=ApplicationGatewaySkuName.standard_medium.value,
AttributeError: 'NoneType' object has no attribute 'standard_medium'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\wismythe\.vscode\extensions\ms-vscode.azurecli-0.1.0\service\azservice\__main__.py", line 335, in <module>
main()
File "C:\Users\wismythe\.vscode\extensions\ms-vscode.azurecli-0.1.0\service\azservice\__main__.py", line 304, in main
command_table = load_command_table()
File "C:\Users\wismythe\.vscode\extensions\ms-vscode.azurecli-0.1.0\service\azservice\tooling.py", line 63, in load_command_table
_install_modules(command_table)
File "C:\Users\wismythe\.vscode\extensions\ms-vscode.azurecli-0.1.0\service\azservice\tooling.py", line 68, in _install_modules
command_table[cmd].load_arguments()
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands\__init__.py", line 312, in load_arguments
self.arguments.update(self.arguments_loader())
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands\__init__.py", line 577, in arguments_loader
return extract_args_from_signature(get_op_handler(operation), no_wait_param=no_wait_param)
File "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\core\commands\__init__.py", line 468, in get_op_handler
raise ValueError("The operation '{}' is invalid.".format(operation))
ValueError: The operation 'azure.cli.command_modules.network.custom#create_application_gateway' is invalid.
h.logExtensionHostMessage @ extensionHost.ts:320
(anonymous) @ extensionHost.ts:176
emitTwo @ events.js:106
emit @ events.js:191
process.nextTick @ internal/child_process.js:752
_combinedTickCallback @ internal/process/next_tick.js:67
_tickCallback @ internal/process/next_tick.js:98
from vscode-azurecli.
@willsmythe Could you upgrade your az
installation? I remember there was an issue sometime around 2.0.7 (not sure about the exact version).
from vscode-azurecli.
Closing with no additional feedback being provided.
from vscode-azurecli.
Related Issues (20)
- Intellisense doesn't work if users home directory has space in it HOT 2
- How to run the selected text ? and what is the keyboard short cut to do the same? HOT 2
- Intellisense gives different results based on when you trigger it HOT 2
- No intellisense/autocomplete for azcli HOT 5
- Add support for Variables
- not recognizing 'new region' folding formats
- Extension not found under linux extensions tab HOT 3
- intellisense is working very slow
- The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program. HOT 2
- IntelliSense hangs HOT 1
- How to reference variable name from Intellisense
- Create a subnet under a virtual network.
- Support Workspace Trust
- Support virtual workspaces
- az cli az tag works in VSC powershell, fails in VSC bash HOT 2
- Intellisense doesn't work for newly installed az cli extension
- [feature request] enable witch azure accounts / subscriptions
- IntelliSense feature fail in the Azure CLI's vscode extension HOT 2
- This repo is missing important files
- Marketplace readme image broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-azurecli.