Azure / Azure/azure-cli

Error launching az interactive...

Open
#11,371 1 comment 0 reactions 1 assignee Claimed by @jiasli View on GitHub
act-codegen-extensibility-squad customer-reported feature-request Interactive Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### **This is autogenerated. Please review and update as needed.**

## Describe the bug

**Command Name**
`az interactive`

**Errors:**
```
cannot import name 'DEFAULTS_SECTION' from 'azure.cli.core._config' (/usr/local/Cellar/azure-cli/2.0.76/libexec/lib/python3.7/site-packages/azure/cli/core/_config.py)
Traceback (most recent call last):
python3.7/site-packages/knack/cli.py, ln 206, in invoke
cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 603, in execute
raise ex
cli/core/commands/__init__.py, ln 661, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
...
cliextensions/interactive/azext_interactive/__init__.py, ln 10, in start_shell
from .azclishell.app import AzInteractiveShell
interactive/azext_interactive/azclishell/app.py, ln 35, in
from azure.cli.core._config import DEFAULTS_SECTION
ImportError: cannot import name 'DEFAULTS_SECTION' from 'azure.cli.core._config' (/usr/local/Cellar/azure-cli/2.0.76/libexec/lib/python3.7/site-packages/azure/cli/core/_config.py)
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- _Put any pre-requisite steps here..._
- `az interactive`

## Expected Behavior

## Environment Summary
```
Darwin-19.0.0-x86_64-i386-64bit
Python 3.7.5
Shell: bash

azure-cli 2.0.76

Extensions:
interactive 0.4.1

```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.