Skip to content

No module named 'decorator' error when running "az webapp list" #32595

@SilverDecks

Description

@SilverDecks

Already authenticated with "az login" (as Global Administrator). Executed command in Ubuntu terminal:

az webapp list \

--resource-group rg-company_name-prod-01
--output table

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az webapp list

Errors:

No module named 'decorator'
Traceback (most recent call last):
python3/dist-packages/fabric/connection.py, ln 5, in <module>
    from invoke.vendor.six import StringIO
ModuleNotFoundError: No module named 'invoke.vendor.six'

...

python3/dist-packages/fabric/connection.py, ln 10, in <module>
    from decorator import decorator
ModuleNotFoundError: No module named 'decorator'

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 webapp list --resource-group {} --output {}

Expected Behavior

Environment Summary

Linux-5.15.0-139-generic-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

Additional Context

Metadata

Metadata

Labels

Auto-AssignAuto assign by botAuto-ResolveAuto resolve by botPossible-SolutionService AttentionThis issue is responsible by Azure service team.Similar-IssueWeb Appsaz webappapp-service-generalcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions