dki-questions > dke_parameters cannot Access Image Files
Sep 26, 2019  05:09 PM | Rees Ridout
dke_parameters cannot Access Image Files
When I run dke.sh from the command line on my Mac to access dke_parameters.dat, I get the following error:

sifnos:Mac64 rpr14$ sh run_dke.sh /Volumes/CivmUsers/rpr14/Desktop/dke_parameters.dat
------------------------------------------
Setting up environment variables
---
DYLD_LIBRARY_PATH is .:/Volumes/CivmUsers/rpr14/Desktop/dke_parameters.dat/runtime/maci64:/Volumes/CivmUsers/rpr14/Desktop/dke_parameters.dat/bin/maci64:/Volumes/CivmUsers/rpr14/Desktop/dke_parameters.dat/sys/os/maci64
dyld: Library not loaded: @rpath/libmwlaunchermain.dylib
Referenced from: /Applications/Mac64/./dke.app/Contents/MacOS/dke
Reason: no suitable image found. Did find:
/Volumes/CivmUsers/rpr14/Desktop/dke_parameters.dat/runtime/maci64/libmwlaunchermain.dylib: stat() failed with errno=20
/Volumes/CivmUsers/rpr14/Desktop/dke_parameters.dat/bin/maci64/libmwlaunchermain.dylib: stat() failed with errno=20
/Volumes/CivmUsers/rpr14/Desktop/dke_parameters.dat/sys/os/maci64/libmwlaunchermain.dylib: stat() failed with errno=20
run_dke.sh: line 29: 55506 Abort trap: 6 "./dke.app/Contents/MacOS/dke"


I suspect the problem may come from the following lines in my parameters file:

% paths

% studydir = 'D:\DKI Example'; % root folder for data from all study subjects
studydir = '/Applications/Mac64/'; % root folder for data from all study subjects
subject_list = {'Applications/Mac64/dki_example_data_nifti'}; % cell array of subject sub-folders within the root folder studydir

I am attempting to access my 4d-nifti image: '4d.nii'


Any ideas of why I cannot access the image or ways to fix this would be great!

Best,
Rees

Threaded View

TitleAuthorDate
dke_parameters cannot Access Image Files
Rees Ridout Sep 26, 2019
Andrew Taylor Sep 26, 2019
Emilie McKinnon Sep 26, 2019
Rees Ridout Sep 26, 2019
Andrew Taylor Sep 26, 2019
Rees Ridout Sep 26, 2019
Andrew Taylor Sep 26, 2019
Nian Wang Sep 26, 2019
Emilie McKinnon Oct 24, 2019
Emilie McKinnon Sep 26, 2019