azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

webapp:Unable to run AZ webapp list from with WSL Ubuntu

Open jadiaz opened this issue 5 years ago • 4 comments

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

Expected Behavior

Environment Summary

Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

Additional Context

jadiaz avatar Aug 24 '21 06:08 jadiaz

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.

Issue Details

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

Expected Behavior

Environment Summary

Linux-5.10.43.3-microsoft-standard-WSL2-x86_64-with-glibc2.29
Python 3.8.10
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

Additional Context

Author: jadiaz
Assignees: -
Labels:

Web Apps, Service Attention, customer-reported

Milestone: -

ghost avatar Aug 24 '21 09:08 ghost

route to service team

yonzhan avatar Aug 24 '21 09:08 yonzhan

Could be related to cli package in Ubuntu

panchagnula avatar Aug 26 '21 14:08 panchagnula

Please follow https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=apt to install Azure CLI from Microsoft official source.

jiasli avatar Aug 27 '21 08:08 jiasli