Open ChristianBeier opened 2 years ago
@jiasli for awareness
The command failed at
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/extension/__init__.py", line 308, in get_extension_modname
AssertionError: Expected 1 module to load starting with 'azext_': got []
@kairu-ms, could you help take a look?
Describe the bug When I try to run
az extension list
oraz feedback
the command fails with an unexpected errorTo Reproduce Open a Powershell on Windows 11 and try to execute
az feedback
Expected behavior The command can be executed
Environment summary Windows 11 PowerShell 7.2.1 Powershell 5.1.22000.282
azure-cli 2.34.1 core 2.34.1 telemetry 1.0.6
Extensions: arcdata Unknown azure-iot 0.11.0 connectedk8s 1.2.0
Dependencies: msal 1.16.0 azure-mgmt-resource 20.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe' Extensions directory 'C:\Users\johndoe.azure\cliextensions'
Python (Windows) 3.8.9 (tags/v3.8.9:a743f81, Apr 6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]
Additional context Error message
az feedback The command failed with an unexpected error. Here is the traceback: Expected 1 module to load starting with 'azext_': got [] Traceback (most recent call last): File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 512, in execute File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/init.py", line 434, in load_command_table File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/init.py", line 328, in _update_command_table_from_extensions File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/init.py", line 315, in _filter_modname File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/extension/init.py", line 308, in get_extensionmodname AssertionError: Expected 1 module to load starting with 'azext': got [] To open an issue, please run: 'az feedback'