help > RE: Failed to display the image
Aug 5, 2021  12:08 PM | Alfonso Nieto-Castanon - Boston University
RE: Failed to display the image
Hi,

Right, I believe that is probably an issue with SPM and some of the newer MacOS security features. Please try typing first:

   conn bugfix_catalina2019

and after that try starting CONN again and see if that works

Best
Alfonso
Originally posted by pa pa:
Hi,

I have some problems do not how to solve. 
I received messages after CONN is launched via the trial version MATLAB_2021a with spm12 and conn20b
The message shown in Matlab after launching is as follows.

ERROR DESCRIPTION:

Error using spm_slice_vol (line 32)
spm_slice_vol.c not compiled - see Makefile
Error in spm_read_vols (line 34)
Y(:,:,p,i) = spm_slice_vol(V(i),spm_matrix([0 0 p]),V(i).dim(1:2),0);
Error in conn (line 773)
CONN_gui.refs.canonical=struct('filename',filename,'V',V,'data',spm_read_vols(V));
Error in conn (line 135)
conn initfromgui;
CONN20.b
SPM12
Matlab v.2021a
project: CONN20.b
spm @ /Applications/spm12
conn @ /Applications/conn
ERROR DESCRIPTION:
Invalid MEX-file '/Applications/spm12/spm_unlink.mexmaci64': dlopen(/Applications/spm12/spm_unlink.mexmaci64, 6): no suitable image found. Did find:
/Applications/spm12/spm_unlink.mexmaci64: code signature in (/Applications/spm12/spm_unlink.mexmaci64) not valid for use in process using Library Validation: library load disallowed by system policy
/Applications/spm12/spm_unlink.mexmaci64: stat() failed with errno=22
Error in conn_register (line 15)
spm_unlink(file_registered);
Error in conn (line 642)
conn_register;
CONN20.b
SPM12
Matlab v.2021a
project: CONN20.b
spm @ /Applications/spm12
conn @ /Applications/conn
>> conn
ERROR DESCRIPTION:
Error using spm_slice_vol (line 32)
spm_slice_vol.c not compiled - see Makefile
Error in spm_read_vols (line 34)
Y(:,:,p,i) = spm_slice_vol(V(i),spm_matrix([0 0 p]),V(i).dim(1:2),0);
Error in conn (line 773)
CONN_gui.refs.canonical=struct('filename',filename,'V',V,'data',spm_read_vols(V));
Error in conn (line 135)
conn initfromgui;
CONN20.b
SPM12
Matlab v.2021a
project: CONN20.b
spm @ /Applications/spm12
conn @ /Applications/conn
ERROR DESCRIPTION:
Invalid MEX-file '/Applications/spm12/spm_unlink.mexmaci64': dlopen(/Applications/spm12/spm_unlink.mexmaci64, 6): no suitable image found. Did find:
/Applications/spm12/spm_unlink.mexmaci64: code signature in (/Applications/spm12/spm_unlink.mexmaci64) not valid for use in process using Library Validation: library load disallowed by system policy
/Applications/spm12/spm_unlink.mexmaci64: stat() failed with errno=35
Error in conn_register (line 15)
spm_unlink(file_registered);
Error in conn (line 642)
conn_register;
CONN20.b
SPM12
Matlab v.2021a
project: CONN20.b
spm @ /Applications/spm12
conn @ /Applications/conn

While the message shown in CONN is about [ "spm_unlink.mexmaci64" cannot be opened because the developer cannot be verified ] and asked to be removed attached as file "1". I ignored and kept the file.

Still no fMRI image is shown.
Please advice. Appreciated.

Threaded View

TitleAuthorDate
pa pa Aug 5, 2021
RE: Failed to display the image
Alfonso Nieto-Castanon Aug 5, 2021
pa pa Aug 6, 2021
Behcet Ayyıldız Sep 1, 2021
Behcet Ayyıldız Apr 11, 2023
Behcet Ayyıldız Apr 11, 2023