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

RequirementsToAssetCollection may cause issue with path too long #1636

Open
shchen-idmod opened this issue Sep 29, 2021 · 0 comments
Open

RequirementsToAssetCollection may cause issue with path too long #1636

shchen-idmod opened this issue Sep 29, 2021 · 0 comments
Labels

Comments

@shchen-idmod
Copy link
Collaborator

shchen-idmod commented Sep 29, 2021

Ye said her experiment failed here: https://comps2.idmod.org/#explore/Simulations?filters=ExperimentId=8f16ea09-3221-ec11-92e0-f0921c167864&offset=0&count=25&selectedId=266ff50f-3221-ec11-92e0-f0921c167864&layout=502C50
I can repro by following steps:
if requirments.txt contains emod-api==1.15.1
after installed package to AC with RequirementsToAssetCollection , it can not be used anymore

  1. install-requirement experiment: https://comps2.idmod.org/#explore/Simulations?filters=ExperimentId=318f965f-5221-ec11-92e0-f0921c167864&offset=0&count=80&selectedId=328f965f-5221-ec11-92e0-f0921c167864
  2. WI_ac: https://comps2.idmod.org/#explore/WorkItems?filters=Id=552ed5d2-4f21-ec11-92e0-f0921c167864&offset=0&count=80&related=true&selectedId=552ed5d2-4f21-ec11-92e0-f0921c167864
  3. use this ac with script: https://comps2.idmod.org/#explore/Experiments?filters=Id=31c091b1-5021-ec11-92e0-f0921c167864&offset=0&count=80
    Errors encountered during download and/or symlink processing. The most common cause of this error is the use of long file paths and/or names. See logs for more details.
    Tony and Comps team said this is due to path is too long.

Then I tried to short path in wi_ac steps in idmtools_platform_comps (create_asset_collection.py and install_requirements.py) to use one letter instead of 'site-packages'. simulation is OK
https://comps2.idmod.org/#explore/WorkItems?filters=Id=0e365129-5421-ec11-92e0-f0921c167864&offset=0&count=80&related=true&selectedId=0e365129-5421-ec11-92e0-f0921c167864
https://comps2.idmod.org/#explore/Experiments?filters=Id=f85963ef-5421-ec11-92e0-f0921c167864&offset=0&count=80
But if we do that, all emodpy related pre-post process may need to change too.

@issuelabeler issuelabeler bot added the COMPS label Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant