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

pgadmin does not work on Mac x64 #878

Open
janvcap-mac opened this issue Dec 9, 2024 · 0 comments
Open

pgadmin does not work on Mac x64 #878

janvcap-mac opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working macOS specific for Apple MacOS

Comments

@janvcap-mac
Copy link

Expected behavior

As an IDEasy pgadmin user on Mac x64 I expect pgadmin to install properly.

Actual behavior

bash-3.2$ ide pgadmin 
Updates are available for the settings repository. If you want to pull the latest changes, call ide update.
Trying to download pgadmin-8.13-mac-x64.dmg from https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v8.13/macos/pgadmin4-8.13-x86_64.dmg
Downloading 100% │███████████████████│ 202/202MiB (0:00:07 / 0:00:00) 29,0MiB/s
Checksum 70c7ab01ee7c54ede70bd69ef7bfd1f57717bc383aa737a82f75d236e4ad4974 is correct.
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+Running+command+%27%2FUsers%2FUsername%2FDownloads%2Fide%2Fdefault%2Fpgadmin-8.13-mac-x64.dmg%27+with+arguments+%27bash%27+%27-c%27+%27+%26+disown%27+failed%3A+Cannot+run+program+%22%2FUsers%2FUsername%2FDownloads%2Fide%2Fdefault%2Fpgadmin-8.13-mac-x64.dmg%22%3A+error%3D13%2C+Permission+denied
java.lang.IllegalStateException: Running command '/Users/Username/Downloads/ide/default/pgadmin-8.13-mac-x64.dmg' with arguments 'bash' '-c' ' & disown' failed: Cannot run program "/Users/Username/Downloads/ide/default/pgadmin-8.13-mac-x64.dmg": error=13, Permission denied
	at com.devonfw.tools.ide.process.ProcessContextImpl.run(ProcessContextImpl.java:210)
	at com.devonfw.tools.ide.tool.GlobalToolCommandlet.install(GlobalToolCommandlet.java:145)
	at com.devonfw.tools.ide.tool.pgadmin.PgAdmin.install(PgAdmin.java:38)
	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:867)
	at com.devonfw.tools.ide.context.AbstractIdeContext.run(AbstractIdeContext.java:798)
	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)
Caused by: java.io.IOException: Cannot run program "/Users/Username/Downloads/ide/default/pgadmin-8.13-mac-x64.dmg": error=13, Permission denied
	at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1170)
	at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1089)
	at com.devonfw.tools.ide.process.ProcessContextImpl.run(ProcessContextImpl.java:174)
	... 12 more
Caused by: java.io.IOException: error=13, Permission denied
	at [email protected]/java.lang.ProcessImpl.forkAndExec(Native Method)
	at [email protected]/java.lang.ProcessImpl.<init>(ProcessImpl.java:295)
	at [email protected]/java.lang.ProcessImpl.start(ProcessImpl.java:225)
	at [email protected]/java.lang.ProcessBuilder.start(ProcessBuilder.java:1126)
	... 14 more


Error: IDEasy failed with exit code 255

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

  1. Run ide pgadmin

Related/Dependent Issues

Comments/Hints:

Affected version:

  • OS: Mac x64
  • IDEasy: 2024.12.001-beta-SNAPSHOT
@janvcap-mac janvcap-mac added the bug Something isn't working label Dec 9, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Dec 9, 2024
@alfeilex alfeilex added the macOS specific for Apple MacOS label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macOS specific for Apple MacOS
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants