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

az not working on Mac #802

Open
hohwille opened this issue Nov 23, 2024 · 0 comments
Open

az not working on Mac #802

hohwille opened this issue Nov 23, 2024 · 0 comments
Labels
az Microsoft Azure CLI bug Something isn't working linux specific for linux OS (debian, ubunutu, suse, etc.) macOS specific for Apple MacOS

Comments

@hohwille
Copy link
Member

Expected behavior

As a IDEasy user, I want to install and run az with ide command so that I can use Azure CLI.

Actual behavior

$ ide az -v
Step 'ide (az,-v)' failed: java.lang.IllegalStateException: No download was found for OS mac@x64 in /Users/hohwille/projects/_ide/urls/az/az/2.67.0
 Step 'Install az (*)' failed: java.lang.IllegalStateException: No download was found for OS mac@x64 in /Users/hohwille/projects/_ide/urls/az/az/2.67.0
2 step(s) failed out of 2 steps.
An unexpected error occurred!
We are sorry for the inconvenience.
Please check the error below, resolve it and try again.
If the error is not on your end (network connectivity, lack of permissions, etc.) please file a bug:
https://github.com/devonfw/IDEasy/issues/new?assignees=&labels=bug&projects=&template=bug.md&title=IllegalStateException%3A+No+download+was+found+for+OS+mac%40x64+in+%2FUsers%2Fhohwille%2Fprojects%2F_ide%2Furls%2Faz%2Faz%2F2.67.0
java.lang.IllegalStateException: No download was found for OS mac@x64 in /Users/hohwille/projects/_ide/urls/az/az/2.67.0
	at com.devonfw.tools.ide.url.model.folder.UrlVersion.getMatchingUrls(UrlVersion.java:112)
	at com.devonfw.tools.ide.repo.DefaultToolRepository.getMetadata(DefaultToolRepository.java:53)
	at com.devonfw.tools.ide.repo.AbstractToolRepository.download(AbstractToolRepository.java:50)
	at com.devonfw.tools.ide.tool.LocalToolCommandlet.installTool(LocalToolCommandlet.java:227)
	at com.devonfw.tools.ide.tool.LocalToolCommandlet.installTool(LocalToolCommandlet.java:186)
	at com.devonfw.tools.ide.tool.LocalToolCommandlet.installTool(LocalToolCommandlet.java:171)
	at com.devonfw.tools.ide.tool.LocalToolCommandlet.install(LocalToolCommandlet.java:85)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:166)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:152)
	at com.devonfw.tools.ide.tool.ToolCommandlet.runTool(ToolCommandlet.java:139)
	at com.devonfw.tools.ide.tool.ToolCommandlet.run(ToolCommandlet.java:130)
	at com.devonfw.tools.ide.context.AbstractIdeContext.applyAndRun(AbstractIdeContext.java:860)
	at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:767)
	at com.devonfw.tools.ide.cli.Ideasy.runOrThrow(Ideasy.java:89)
	at com.devonfw.tools.ide.cli.Ideasy.run(Ideasy.java:52)
	at com.devonfw.tools.ide.cli.Ideasy.main(Ideasy.java:29)
	at [email protected]/java.lang.invoke.LambdaForm$DMH/sa346b79c.invokeStaticInit(LambdaForm$DMH)


Error: IDEasy failed with exit code 255

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. ide az -v

Related/Dependent Issues

Comments/Hints:

Only windows versions available:
https://github.com/devonfw/ide-urls/tree/master/az/az/2.67.0
So same error also for Linux.

Affected version:

  • OS: Mac/Linux
  • 2024.12.001-beta-SNAPSHOT
@hohwille hohwille added bug Something isn't working macOS specific for Apple MacOS linux specific for linux OS (debian, ubunutu, suse, etc.) az Microsoft Azure CLI labels Nov 23, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
az Microsoft Azure CLI bug Something isn't working linux specific for linux OS (debian, ubunutu, suse, etc.) macOS specific for Apple MacOS
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant