Skip to content

ai-did-you-mean-this extension is not loaded after a first run #14175

Description

This is autogenerated. Please review and update as needed.

Describe the bug

With the latest dev branch code, ai-did-you-mean-this extension is not loaded after a first run.
It cloud be related to #13294.

Command Name

Errors:
The log shows that ai-did-you-mean-this extension is not loaded.

Command arguments: ['account', '--debug']
Event: Cli.PreExecute []
Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x03CDC390>, <function OutputProducer.on_global_arguments at 0x03D48C48>, <function CLIQuery.on_global_arguments at 0x03D6BE88>]
Event: CommandInvoker.OnPreCommandTableCreate []
Modules found from index for 'account': ['azure.cli.command_modules.profile', 'azure.cli.command_modules.resource']
Loading command modules:
Extension             Load Time    Groups  Commands
profile                   0.006         2         9
resource                  0.014        34       155
Total (2)                 0.019        36       164
Loaded 35 groups, 164 commands.
Found a match in the command table for 'account'
Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x03ED0B28>]
Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x03F0EE88>]
Event: CommandInvoker.OnPostArgumentLoad []
Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x03F22078>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x03F22108>]
Event: CommandInvoker.OnCommandTableLoaded []
Event: CommandInvoker.OnPreParseArgs []
cli.azure.cli.core.parser : az account: error: the following arguments are required: _subcommand
az account: error: the following arguments are required: _subcommand
usage: az account [-h]
                  {list,set,show,clear,list-locations,get-access-token,lock,management-group}
                  ...
recommendation_provider: version: 2.8.0, command: account, parameters: ['--debug'], extension: None
Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x03ED0C48>]
telemetry.save : Save telemetry record of length 2578 in cache
telemetry.check : Returns Positive.
telemetry.main : Begin creating telemetry upload process.
telemetry.process : Creating upload process: "C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\lib\site-packages\azure\cli\telemetry\__init__.pyc C:\Users\fenzhou\.azure"
telemetry.process : Return from creating process
telemetry.main : Finish creating telemetry upload process.
Command ran in 0.470 seconds (init: 0.064, invoke: 0.406)

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 account --debug

Expected Behavior

Environment Summary

Windows-10-10.0.18362-SP0
Python 3.6.6
Installer: MSI

azure-cli 2.8.0

Extensions:
ai-did-you-mean-this 0.2.0

Additional Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

CoreCLI core infrastructure

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions