Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

No such file or directory for HAND-TauDEM #306

Open
dhardestylewis opened this issue Sep 22, 2020 · 2 comments
Open

No such file or directory for HAND-TauDEM #306

dhardestylewis opened this issue Sep 22, 2020 · 2 comments
Labels
bug An error in the application

Comments

@dhardestylewis
Copy link

mic pkg trace does not appear to detect when it has taken place deeper in the directory hierarchy than the parent directory of mic/mic.yaml. Therefore, it does not copy input files into the correct subdirectory structure when in the run script. I have briefly attempted to modify the run script, but I have not yet figured out exactly how to fix this issue.

(hand-taudem) root@b503a871836e:/tmp/mint# mic pkg run -f mic/mic.yaml
MIC needs to create new directory mic/executions/09_22_21_17_58 to run the model component Do you want to continue [Y/n]: 
Create a execution directory /tmp/mint/mic/executions/09_22_21_17_58
Copying the inputs
Source: /tmp/mint/mic/data
Destination: /tmp/mint/mic/executions/09_22_21_17_58/src
Running
./run   -i1 /tmp/mint/mic/executions/09_22_21_17_58/src/regions/Texas/Travis-10m/Travis-DEM-10m-HUC120902050408buf.tif  -o1 travis-dem-10m-huc120902050408bufdd-vis_cpg.cpg -o2 travis-dem-10m-huc120902050408bufdd-vis_prj.prj -o3 travis-dem-10m-huc120902050408bufdd-vis_json.json -o4 travis-dem-10m-huc120902050408bufdd-vis_shp.shp -o5 travis-dem-10m-huc120902050408bufdd_tif.tif -o6 travis-dem-10m-huc120902050408bufdd-vis_dbf.dbf -o7 travis-dem-10m-huc120902050408bufdd-vis_shx.shx -o8 travis-dem-10m-huc120902050408bufdd-vis_tif.tif 
/bin/bash: /opt/conda/envs/hand-taudem/lib/libtinfo.so.6: no version information available (required by /bin/bash)
/tmp/mint/mic/executions/09_22_21_17_58/src/io.sh: line 80: travis-dem-10m-huc120902050408buf_tif=/tmp/mint/mic/executions/09_22_21_17_58/src/regions/Texas/Travis-10m/Travis-DEM-10m-HUC120902050408buf.tif: No such file or directory
Failed
Something is wrong. You can report this problem at https://bit.ly/2zR1Tew
(hand-taudem) root@b503a871836e:/tmp/mint# ls /tmp/mint/mic/executions/09_22_21_17_58/src
hand-2.1.0.sh  output.sh  run.orig
io.sh          run        Travis-DEM-10m-HUC120902050408buf.tif
@issue-label-bot issue-label-bot bot added the bug An error in the application label Sep 22, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.91. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@dgarijo
Copy link
Contributor

dgarijo commented Sep 22, 2020

@dhardestylewis,
can you please share:

  • The commands you ran (not only the last one)
  • Your mic folder

the trace command captures all system calls, so it's definitely not tracking only the parent folder (we have tested this).
Why should mic copy a directory structure? I think it should either copy the files, or if you use a folder, then a zip file with the directory structure you are using.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug An error in the application
Projects
None yet
Development

No branches or pull requests

2 participants