az confcom katapolicygen: The extension binary file cannot be located.
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### Describe the bug
Every time that i try to execute `az confcom katapolicygen` command, regardless of the parameters (including none) i got that response.
### Related command
az confcom katapolocygen
### Errors
The extension binary file cannot be located.
### Issue script & Debug output
cli.knack.cli: Command arguments: ['confcom', 'katapolicygen', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
Enable VT mode.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [, , ]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'confcom': ['azext_confcom']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: Total (0) 0.000 0 0
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name Load Time Groups Commands Directory
cli.azure.cli.core: confcom 0.007 1 2 C:\Users\User\.azure\cliextensions\confcom
cli.azure.cli.core: Total (1) 0.007 1 2
cli.azure.cli.core: Loaded 1 groups, 2 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : confcom katapolicygen
cli.azure.cli.core: Command table: confcom katapolicygen
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate []
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to 'C:\Users\User\.azure\commands\2024-09-26.14-41-25.confcom_katapolicygen.22384.log'.
az_command_data_logger: command args: confcom katapolicygen --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [.add_subscription_parameter at 0x000001958C354900>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [.add_ids_arguments at 0x000001958C3549A0>, .add_cache_arguments at 0x000001958C354AE0>, .update_breaking_change_info at 0x000001958C354B80>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [, , .parse_ids_arguments at 0x000001958C354A40>]
az_command_data_logger: extension name: confcom
az_command_data_logger: extension version: 1.0.0
cli.azext_confcom.errors: The extension binary file cannot be located.
cli.knack.cli: Event: Cli.PostExecute []
az_command_data_logger: exit code: 1
cli.__main__: Command ran in 1.101 seconds (init: 0.281, invoke: 0.819)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3655 in cache file under C:\Users\User\.azure\telemetry\20240926144126074
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files\Microsoft SDKs\Azure\CLI2\Lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\User\.azure C:\Users\User\.azure\telemetry\20240926144126074"
telemetry.process: Return from creating process 26756
telemetry.main: Finish creating telemetry upload process.
### Expected behavior
The command should generate the policy.
### Environment Summary
azure-cli 2.64.0
core 2.64.0
telemetry 1.1.0
Extensions:
aks-preview 9.0.0b4
alb 1.0.0
attestation 1.0.0
azure-devops 1.0.1
confcom 1.0.0
k8s-extension 1.6.1
Dependencies:
msal 1.30.0
azure-mgmt-resource 23.1.1
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\User\.azure\cliextensions'
Python (Windows) 3.11.8 (tags/v3.11.8:db85d51, Feb 6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
### Additional context
Is the first time trying to use this extension. I went to the whole process of uninstall and re-install Azure CLI and all the extensions without any luck.
If relevant, for unknown reasons i had the 32 bits version before.
Contributor guide
Assessment
This issue has not been assessed yet.