ReproNim / containers

Containers "distribution" for reproducible neuroimaging
Apache License 2.0
26 stars 16 forks source link

Typical workflow failing #44

Closed chaselgrove closed 4 years ago

chaselgrove commented 4 years ago

The typical workflow in the README fails for me.

(venv) ch:~/datalad/data/ds000003-qc$ datalad containers-run -n containers/bids-mriqc --input sourcedata --output . '{inputs}' '{outputs}' participant group
[INFO   ] Making sure inputs are available (this may take some time) 
[WARNING] Running get resulted in stderr output: download failed: Bad Request
download failed: Bad Request
download failed: Bad Request
git-annex: get: 1 failed

[ERROR  ] from web...; from web...; from web...; Unable to access these remotes: web; Try making some of these repositories available:;     00000000-0000-0000-0000-000000000001 -- web;    7c7289ab-ad08-41eb-9318-f28e4fd957e7 -- yoh@smaug:/mnt/btrfs/datasets/datalad/crawl/repronim/containers; ; (Note that these git remotes have annex-ignore set: origin) [get(/home/ch/datalad/data/ds000003-qc/containers/images/bids/bids-mriqc--0.15.2.sing)] 
get(error): /home/ch/datalad/data/ds000003-qc/containers/images/bids/bids-mriqc--0.15.2.sing (file) [from web...; from web...; from web...; Unable to access these remotes: web; Try making some of these repositories available:;  00000000-0000-0000-0000-000000000001 -- web;    7c7289ab-ad08-41eb-9318-f28e4fd957e7 -- yoh@smaug:/mnt/btrfs/datasets/datalad/crawl/repronim/containers; ; (Note that these git remotes have annex-ignore set: origin)]
[ERROR  ] dataset containing given paths is not underneath the reference dataset Dataset(/home/ch/datalad/data/ds000003-qc): [PosixPath('/home/ch/datalad/data/ds000003-qc')] [status(/home/ch/datalad)] 
status(error): /home/ch/datalad [dataset containing given paths is not underneath the reference dataset Dataset(/home/ch/datalad/data/ds000003-qc): [PosixPath('/home/ch/datalad/data/ds000003-qc')]]
[INFO   ] == Command start (output follows) ===== 
ERROR  : Image path containers/images/bids/bids-mriqc--0.15.2.sing doesn't exist: No such file or directory
ABORT  : Retval = 255
[INFO   ] == Command exit (modification check follows) ===== 
[INFO   ] The command had a non-zero exit code. If this is expected, you can save the changes with 'datalad save -d . -r -F .git/COMMIT_EDITMSG' 
CommandError: ''containers/scripts/singularity_cmd run containers/images/bids/bids-mriqc--0.15.2.sing '"'"'sourcedata'"'"' '"'"''"'"' participant group'' failed with exitcode 255 under /home/ch/datalad/data/ds000003-qc

System is Debian 10; Datalad is Commit b4dd76b (reports Version 0.13.1); git is Version 2.20.1; datalad-container is Version 1.0.1.

yarikoptic commented 4 years ago

THANKS! I will check. Just to make sure -- box is "online" and there is no proxy configured/required, right?

yarikoptic commented 4 years ago

nevermind above -- I have reproduced it...

yarikoptic commented 4 years ago

ok, all possibly relevant issues issues are linked in here and I pushed an update to that typical workflow script, so you should be able to just cut/paste or even just

bash <(sed -n -e '/^ *#!/,/^ *$/p' README.md)

and it should get running in some temporary directory (if you have enough space there!)

yarikoptic commented 4 years ago

Please try and close if works, report more if doesn't

chaselgrove commented 4 years ago

Works now.