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

az apim list -h error thrown

Open akrone-hach opened this issue 6 years ago • 4 comments

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az apim list

Errors:

The command failed with an unexpected error. Here is the traceback:


No module named 'azure.mgmt.apimanagement.models.api_management_client_enums'
Traceback (most recent call last):
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-0u_uiwkq\knack\knack\cli.py", line 206, in invoke
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-0u_uiwkq\azure-cli-core\azure\cli\core\commands\__init__.py", line 528, in execute
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-0u_uiwkq\azure-cli-core\azure\cli\core\__init__.py", line 300, in load_arguments
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-0u_uiwkq\azure-cli\azure\cli\command_modules\apim\__init__.py", line 28, in load_arguments
  File "C:\Users\VSSADM~1\AppData\Local\Temp\pip-install-0u_uiwkq\azure-cli\azure\cli\command_modules\apim\_params.py", line 11, in <module>
ModuleNotFoundError: No module named 'azure.mgmt.apimanagement.models.api_management_client_enums'

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 apim list -h

Expected Behavior

Environment Summary

Windows-10-10.0.18362-SP0
Python 3.6.6
azure-cli 2.0.80

Shell: pwsh.exe
 - PSVersion                      6.2.3
 - PSEdition                      Core
 - GitCommitId                    6.2.3



Additional Context

akrone-hach avatar Jan 28 '20 16:01 akrone-hach

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

ghost avatar Jan 29 '20 02:01 ghost

@akrone-hach Looks like this has since been fixed and I can confirm that there is no error now. Apologies for no updates on this issue sooner. Unless you are still seeing this error on your end, I believe this could be closed.

PramodValavala-MSFT avatar Feb 02 '22 15:02 PramodValavala-MSFT

No Problem! I just checked and observed the same as what you’ve mentioned. Thanks for the follow up

From: Pramod Valavala @.> Sent: Wednesday, February 2, 2022 8:49 AM To: Azure/azure-cli @.> Cc: Krone, Aaron M @.>; Mention @.> Subject: Re: [Azure/azure-cli] az apim list -h error thrown (#11966)

@akrone-hachhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_akrone-2Dhach&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=y9pbKtwSbjxncTxSdPdEQg&m=PyKXKj6A6IqTJQ9jCaGe3bdbIM2zQ-4A87N2mdbKTWAFqYfP8sQyAI1VWRJOSKkf&s=uGNkS_Ko9CInk4eA0DNqC8y-2_pkbTAahhmFLRQ4iio&e= Looks like this has since been fixed and I can confirm that there is no error now. Apologies for no updates on this issue sooner. Unless you are still seeing this error on your end, I believe this could be closed.

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Azure_azure-2Dcli_issues_11966-23issuecomment-2D1028079383&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=y9pbKtwSbjxncTxSdPdEQg&m=PyKXKj6A6IqTJQ9jCaGe3bdbIM2zQ-4A87N2mdbKTWAFqYfP8sQyAI1VWRJOSKkf&s=dlQkhcvqJB5kPkVhCRRfit87JO3LokQSxw4XK1aY4Gg&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AKJPS64UQRNGML4V4HTPQYTUZFG75ANCNFSM4KMVDVCQ&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=y9pbKtwSbjxncTxSdPdEQg&m=PyKXKj6A6IqTJQ9jCaGe3bdbIM2zQ-4A87N2mdbKTWAFqYfP8sQyAI1VWRJOSKkf&s=4c7n8rkFkXc5pesy5D8FjuMS7R4AeIz9VOLiqPCoHOg&e=. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.proofpoint.com/v2/url?u=https-3A__apps.apple.com_app_apple-2Dstore_id1477376905-3Fct-3Dnotification-2Demail-26mt-3D8-26pt-3D524675&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=y9pbKtwSbjxncTxSdPdEQg&m=PyKXKj6A6IqTJQ9jCaGe3bdbIM2zQ-4A87N2mdbKTWAFqYfP8sQyAI1VWRJOSKkf&s=EFcQC5m35uRarEdcdz07L8y_6Uq_zP1jAGHmevFRcc8&e= or Androidhttps://urldefense.proofpoint.com/v2/url?u=https-3A__play.google.com_store_apps_details-3Fid-3Dcom.github.android-26referrer-3Dutm-5Fcampaign-253Dnotification-2Demail-2526utm-5Fmedium-253Demail-2526utm-5Fsource-253Dgithub&d=DwMCaQ&c=9mghv0deYPYDGP-W745IEdQLV1kHpn4XJRvR6xMRXtA&r=y9pbKtwSbjxncTxSdPdEQg&m=PyKXKj6A6IqTJQ9jCaGe3bdbIM2zQ-4A87N2mdbKTWAFqYfP8sQyAI1VWRJOSKkf&s=13OlOBr3Nlv3AMebK3gqknIVtf64s01zsBn22uWVD90&e=. You are receiving this because you were mentioned.Message ID: @.***>

Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.

Confidential - Company Proprietary

akrone-hach avatar Feb 08 '22 23:02 akrone-hach

@akrone-hach Glad to hear that! Closing this issue.

PramodValavala-MSFT avatar Feb 09 '22 03:02 PramodValavala-MSFT