Can't run any az commands: Blank `cli.azure.cli.core.util` error
See original GitHub issueDescribe the bug I was fine running 2.2.0 and decided to upgrade recently, but now I can’t get anything to work at all.
All commands that do any talking to Azure respond with: cli.azure.cli.core.util :
and literally no error output other than that (in the --debug --verbose
logs).
Is there anything I can do to get any more detailed logs?
On further exploration az rest
works, for example: az rest --method get --uri https://management.azure.com/subscriptions/<sub id>/providers/Microsoft.Storage/storageAccounts?api-version=2019-06-01
To Reproduce
Any az
command that talks to Azure, such as az storage account list
.
Expected behavior
az
should work.
Environment summary Windows 10 Cygwin 3.1.4 Python 3.6
I’ve tried various versions of the CLI 2.4.0, 2.3.0, 2.2.0, and also a known working from source installed into a venv, all fail with the same errors.
I’ve also tried re-installing python and pip through the Cygwin setup, and I’ve tried removing and reinstalling all pip packages after that too.
(P.S. Nope I don’t want to use WSL, WSL is hacky compared to Cygwin 🙂)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:12 (3 by maintainers)
Top GitHub Comments
@qianwens why has this been closed without comment?
Deleting the
.azure
folder is nothing more than a workaround - the underlying issue remains to be fixed, or at the very least in the interim, a meaningful error message would be helpful 😕As it’s no longer a Cygwin problem I thought about the only thing that Windows Python 2, Cygwin Python 3, and Cygwin Python 3 with venv share, which is the
~/.azure
directory.I moved my
~/.azure
directory out of the way and re-logged in and the commands now seem to be working again.Is there anyway we can debug why it fails with my current
~/.azure
directory?It might be nice to get a better error message out of it than nothing, and just me starting again?