-
Notifications
You must be signed in to change notification settings - Fork 21
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
FileCopy of dependencies’s resource is not being processed correctly #736
Comments
@jinlouISC the error -13 indicates a permissions issue. Check the user you're running as against the permissions on /Users/jlou/InterSystems/IRIS. It's possible that multithreaded installation could have some impact here and be the difference between installation all at once vs. individually if worker processes are running as a different user. The real/definite issue here is: |
Hi @isc-tleavitt , thank you for your quick response! I am running IRIS terminal as _SYSTEM with %All role, so it should have the permission it needs. So it could be related to multithreading? |
@jinlouISC I mean you should compare: |
@isc-shuliu @isc-tleavitt @jinlouISC I think there is a second issue here: the The issue is that it is possible to specify a location relative to an IRIS installation directory as an attribute of a This works just fine when we are installing modules from source into containers or kits at build-time, but it's problematic for the packaging use case. Here's a possible solution: if running the package or publish command, skip processing |
@isc-tleavitt OS-level permission for owner jlou is rwx |
OK - so my theory is: You should be able to validate this by running the top-level install command with the |
re: the fix for the actual IPM issue, I think the real need is making sure |
@isc-tleavitt I installed a new instance and used "irisusr" at this installer prompt: And yes - I think |
I wonder if this is also the cause of #721 (comment) |
HSDevOps will pull this issue into our backlog to work on this sprint. |
OS: MacOS
IPM v0.10.0-beta.15
HS.Timezone
andHealthConnect.Common
are dependencies ofHealthShare.HP.DTR
. I am trying to installHealthShare.HP.DTR
, then export it into a tarball, and load the tarball in a different namespace.In HS.Timezone's module.xml, there is the resource using FileCopy:
In HealthConnect.Common's module.xml, there is the resource using FileCopy:
<Resource Name="/dev/wsdls/" ProcessorClass="FileCopy">
At Package Time
When packaging the module into a tarball locally, the resource
/dev/wsdls/
was copied to the root directory of the tarball(/dev/wsdls/), which should ideally be copied to the dependency module's directory (/.modules/healthconnect.common/dev/wsdls/`.It led to the following error when loading the tarball:
cc'ing @isc-eneil who also reproduced it
Below is part of the original description but is not relevant to this issue anymore.
At Install Time
When installing a module whose dependencies have resources using FileCopy resource processor, IPM throws the following error:
However, when I uninstall the troubled
HS.Timezone
andHealthConnect.Common
modules and reinstall them individually, the error goes away.The text was updated successfully, but these errors were encountered: