Skip to content

Error when executing "az webapp list-runtimes --os-type linux" with WSL2 on Windows 11 #32253

@Elyasin

Description

@Elyasin

As described in the title. Below the generated content including the stacktrace.

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az webapp list-runtimes

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-runtimes --os-type {}

Expected Behavior

Environment Summary

Linux-6.6.87.2-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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions