Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name 'DEFAULTS_SECTION' #50

Closed
hursitcakmakci opened this issue Apr 13, 2019 · 2 comments
Closed

ImportError: cannot import name 'DEFAULTS_SECTION' #50

hursitcakmakci opened this issue Apr 13, 2019 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@hursitcakmakci
Copy link

I installed an extension Azure CLI Tools and feature Intellisense doesn't autocomplete. I get the following error in developer tools.

My Version of Software are:

Azure-CLI version: 2.0.62
Azure Tools Version: 0.0.6
Azure CLI Tools Version: 0.4.4
VS Code Version: 1.33.1

Developer Tools

Traceback (most recent call last):
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\start.py", line 6, in
import azservice.main
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice_main_.py", line 17, in
from azservice.tooling import GLOBAL_ARGUMENTS, initialize, load_command_table, get_help, get_current_subscription, get_configured_defaults, get_defaults, is_required, run_argument_value_completer, get_arguments, load_arguments, arguments_loaded
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice\tooling.py", line 12, in
from azservice.tooling2 import GLOBAL_ARGUMENTS, initialize, load_command_table, get_help, get_current_subscription, get_configured_defaults, get_defaults, is_required, run_argument_value_completer, get_arguments, load_arguments, arguments_loaded
File "C:\Users\hursi.vscode\extensions\ms-vscode.azurecli-0.4.4\service\azservice\tooling2.py", line 17, in
from azure.cli.core._config import GLOBAL_CONFIG_PATH, DEFAULTS_SECTION
ImportError: cannot import name 'DEFAULTS_SECTION'

t.log @ console.ts:134

@Variour
Copy link

Variour commented Apr 18, 2019

Same issue as #19?

@chrmarti chrmarti added the bug Issue identified by VS Code Team member as probable bug label Apr 19, 2019
@shaun-cox
Copy link

The related change in azure-cli that likely caused this (in case it wasn't obvious): https://github.com/Azure/azure-cli/pull/8940/files/64b13c0f288d8ade6bfc061d0f4fbd6cbf6a7d1c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

5 participants