Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use table output when querying az command results #20469

Closed
Christophosaurus opened this issue Nov 22, 2021 · 2 comments
Closed

Unable to use table output when querying az command results #20469

Christophosaurus opened this issue Nov 22, 2021 · 2 comments
Assignees
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Core CLI core infrastructure customer-reported Issues that are reported by GitHub users external to the Azure organization.

Comments

@Christophosaurus
Copy link

This is autogenerated. Please review and update as needed.

Describe the bug

I am unable to return table output when querying az commands. az group list -o table returns the error Table output unavailable. Use the --query option to specify an appropriate query. Use --debug for more info..

I am using the azure-cli in normal mode (not interactive mode). I found a closed issue #14634 relating to the same problem in the interactive shell.

image

I am also experiencing another issue running commands which are returning an error #20444. I am not sure if these are related or not.

I have run brew doctor yielding no results specific to the azure-cli (or anything seemingly related)

I have also uninstalled and reinstalled azure-cli via homebrew. And uninstalled, ran brew cleanup -s and even rm -rf $(brew --cache) before re-install and am getting the same error.

Command Name
az group list -o table or just any command querying to the table output

Errors:

Table output unavailable. Use the --query option to specify an appropriate query. Use --debug for more info.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Run any valid command with the postfix -o table flag

Expected Behavior

the command should output to the table format (which it does in the cloud shell)

Environment Summary

macOS-12.0.1-x86_64-i386-64bit, Darwin 21.1.0
Python 3.10.0
Installer: HOMEBREW

azure-cli 2.30.0

Extensions:
aks-preview 0.5.42
interactive 0.4.5

Additional Context

Table output runs as expected in the cloud shell for the same commands I am trying from my local terminal.

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Nov 22, 2021
@yonzhan yonzhan added the ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group label Nov 22, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Nov 22, 2021
@yonzhan yonzhan added Core CLI core infrastructure needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Nov 22, 2021
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Nov 22, 2021
@yonzhan yonzhan removed the question The issue doesn't require a change to the product in order to be resolved. Most issues start as that label Nov 22, 2021
@yonzhan yonzhan added this to the Backlog milestone Nov 22, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Nov 22, 2021

@jiasli for awareness

@jiasli
Copy link
Member

jiasli commented Nov 23, 2021

Duplicate of #20348

@jiasli jiasli marked this as a duplicate of #20348 Nov 23, 2021
@jiasli jiasli closed this as completed Nov 23, 2021
@jiasli jiasli modified the milestones: Backlog, Nov 2021 (2021-12-07) Nov 23, 2021
@jiasli jiasli reopened this Nov 24, 2021
@jiasli jiasli closed this as completed Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Core CLI core infrastructure customer-reported Issues that are reported by GitHub users external to the Azure organization.
Projects
None yet
Development

No branches or pull requests

4 participants