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

аuthorization required. #434

Closed
da-baranov opened this issue Dec 20, 2023 · 3 comments
Closed

аuthorization required. #434

da-baranov opened this issue Dec 20, 2023 · 3 comments

Comments

@da-baranov
Copy link

I have IRIS for Health community 2023.3 upgraded over 2023.2.
Now I cannot install zpm anymore, the process ends up with the following message:

#5001: Registry https://pm.community.intersystems.com: аuthorization required.
2023-12-20 14:30:43 0 %ZPM.Installer: Installation failed at 2023-12-20 14:30:43
2023-12-20 14:30:43 0 %Installer: Elapsed time 5.878292s
Time spent 5.980512

Tried to install using both recommended methods (by pasting a command to my terminal and by dropping zmp manifest file to the Studio window).

@evshvarov
Copy link
Collaborator

evshvarov commented Dec 20, 2023

Hi @da-baranov ! It is a known issue with 2023.3 IRIS for Health. Please see #433 for the temporary workaround

@da-baranov
Copy link
Author

da-baranov commented Dec 20, 2023

It is a known issue with 2023.3 IRIS for Health. Please see #433 for the temporary workaround

Thanks a lot, this helped.
To get rid of the error, do the following:

  1. Execute the following command
do ##class(%ZPM.PackageManager.Developer.Utils).AddGlobalMapping($namespace,"oddStudioDocument:(BEGIN):(""%ZP"")","IRISLIB")
do ##class(%ZPM.PackageManager.Developer.Utils).AddGlobalMapping($namespace,"oddStudioDocument:(""%ZP""):(""A"")","IRISSYS")
do ##class(%ZPM.PackageManager.Developer.Utils).AddGlobalMapping($namespace,"oddStudioDocument:(""Ens""):(""Ent"")","ENSLIB")
  1. Restart IRIS
  2. Switch to the "SYSTEM" namespace and try to run zpm installer again

@isc-tleavitt
Copy link
Contributor

isc-tleavitt commented Mar 15, 2024

This has been resolved in newer IRIS versions (that is, 2024.1), and the workaround is sufficient in the meanwhile. We're not planning to do anything about this in IPM itself.

@isc-tleavitt isc-tleavitt closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants