bids-apps / oppni

runs fast optimization of preprocessing pipelines for BOLD fMRI
Apache License 2.0
5 stars 3 forks source link

Error in Mounting a folder as volume within the docker #11

Closed raamana closed 8 years ago

raamana commented 8 years ago

Hi @chrisfilo

I was able to build the docker, the CI is failing at this command below. I googled it a bit, and it doesn't seem to be about anything specific or clear. Any ideas?

Thanks.

Failing command: docker run -ti --rm --read-only -v /tmp:/tmp -v /var/tmp:/var/tmp -v ${HOME}/data/ds114_test1:/bids_dataset -v ${HOME}/outputs1:/outputs bids/${CIRCLE_PROJECT_REPONAME} /bids_dataset /outputs participant --participant_label 01 
Exit code: 127 
Output:
INFO[0000] Unable to locate /bids_dataset               
chrisgorgo commented 8 years ago

Nothing comes to my mind immediately. Does it work locally? Did you try debugging with ssh access on circle?

On Oct 18, 2016 5:09 AM, "Pradeep Reddy Raamana" notifications@github.com wrote:

Hi @chrisfilo https://github.com/chrisfilo

I was able to build the docker, the CI is failing at this command below. I googled it a bit, and it doesn't seem to be about anything specific or clear. Any ideas?

Thanks.

Failing command: docker run -ti --rm --read-only -v /tmp:/tmp -v /var/tmp:/var/tmp -v ${HOME}/data/ds114_test1:/bids_dataset -v ${HOME}/outputs1:/outputs bids/${CIRCLE_PROJECT_REPONAME} /bids_dataset /outputs participant --participant_label 01 Exit code: 127 Output: INFO[0000] Unable to locate /bids_dataset

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BIDS-Apps/oppni/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOkpxkxC28wVU1BSz3r-3DHqkkm15AKks5q1La9gaJpZM4KZtcw .

raamana commented 8 years ago

It does work locally on my mac, and also on a CentOs workstation.

I did try debugging via SSH - the few times I tried it was more trouble than worth: cache not loading properly, triggering a rebuild of docker etc. Moreover, I am not sure the mounting problem within a docker image can be debugged via ssh.

raamana commented 8 years ago

I figured it.

chrisgorgo commented 8 years ago

what was it?

On Tue, Oct 18, 2016 at 7:29 PM, Pradeep Reddy Raamana < notifications@github.com> wrote:

Closed #11 https://github.com/BIDS-Apps/oppni/issues/11.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BIDS-Apps/oppni/issues/11#event-828427818, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOkp__rMbqRUwzU1QwdSx-4fU6B0Oz5ks5q1YCbgaJpZM4KZtcw .

raamana commented 8 years ago

It was the missing entry point to the python wrapper!

Everything ran fine, and OPPNI successfully processed the test1 dataset for the participant and group levels.

chrisgorgo commented 8 years ago

Awesome!

On Tue, Oct 18, 2016 at 8:15 PM, Pradeep Reddy Raamana < notifications@github.com> wrote:

It was the missing entry point to the python wrapper!

Everything ran fine, and OPPNI successfully processed the test1 dataset for the participant and group levels.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BIDS-Apps/oppni/issues/11#issuecomment-254699684, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOkp3k18HHjv2TSNBKqWxDctJALbZBVks5q1YtcgaJpZM4KZtcw .