Skip to content

ACR Build errors with python 3.9 #15465

@ghost

Description

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az acr build

Errors:

list index out of range
Traceback (most recent call last):
python3.9/site-packages/knack/cli.py, ln 215, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 579, in execute
    parsed_args = self.parser.parse_args(args)
python3.9/site-packages/knack/parser.py, ln 262, in parse_args
    return super(CLICommandParser, self).parse_args(args)
3.9/lib/python3.9/argparse.py, ln 1818, in parse_args
    args, argv = self.parse_known_args(args, namespace)
...
azure/cli/core/command_recommender.py, ln 162, in recommend_a_command
    normalized_parameters = self._normalize_parameters(parameters)
azure/cli/core/command_recommender.py, ln 244, in _normalize_parameters
    standard_form = sorted_options[0]
IndexError: list index out of range

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 acr build

Expected Behavior

Environment Summary

macOS-10.15.7-x86_64-i386-64bit
Python 3.9.0
Installer: HOMEBREW

azure-cli 2.12.1

Extensions:
aks-preview 0.4.61

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions