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

FunctionApp:[az functionapp list] error on Ubuntu 20.04

Open Daxaar opened this issue 4 years ago • 4 comments

This is autogenerated. Please review and update as needed.

Describe the bug

On Ubuntu 20.04 with az cli installed from repositories the command failed with exception message as below. I've tried a number of the commands in the docs without success.

Tested various other commands such as listing resource groups successfully.

Command Name az functionapp 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:

An example command from the docs that failed with the exception:

  • az functionapp list --query "[?state=='Running']"

  • Put any pre-requisite steps here...

Expected Behavior

Lists all running function apps.

Environment Summary

Linux-5.13.0-27-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

Daxaar avatar Jan 20 '22 21:01 Daxaar

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

Issue Details

This is autogenerated. Please review and update as needed.

Describe the bug

On Ubuntu 20.04 with az cli installed from repositories the command failed with exception message as below. I've tried a number of the commands in the docs without success.

Tested various other commands such as listing resource groups successfully.

Command Name az functionapp 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:

An example command from the docs that failed with the exception:

  • az functionapp list --query "[?state=='Running']"

  • Put any pre-requisite steps here...

Expected Behavior

Lists all running function apps.

Environment Summary

Linux-5.13.0-27-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

Author: Daxaar
Assignees: -
Labels:

Service Attention, Functions, customer-reported

Milestone: -

ghost avatar Jan 20 '22 23:01 ghost

route to service team

yonzhan avatar Jan 20 '22 23:01 yonzhan

@Daxaar can you please try with the latest Azure CLI version 2.33.0.

Kotasudhakarreddy avatar Feb 02 '22 13:02 Kotasudhakarreddy

closing due to lack of response. Please file a new issue if this is still a problem.

Kotasudhakarreddy avatar Mar 09 '22 15:03 Kotasudhakarreddy