External Email - Use Caution        

 
It looks like permissions on the installed freesurfer files and/or what you set FREESURFER_HOME to may not be correct.

I would delete your current freesurfer install and then use the Mac installer package (.pkg) file to install the 7.4.1 release.  That should ensure all the file privileges are correct so the files can be executed.  You will need sudo privileges for these commands.

… open a terminal window and delete the current freesurfer installation …

$ cd /Applications
$ sudo  rm -rf freesurfer
… you will be asked to enter your password ...
$ cd

Download the 7.4.1 package installer in your browser using the link, MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.4.1/freesurfer-macOS-darwin_x86_64-7.4.1.pkg

In a Finder window, open your downloads folder (or go to wherever you downloaded the .pkg file).  Then RIGHT CLICK with the mouse on the icon for the file freesurfer-macOS-darwin_x86_64-7.4.1.pkg and select “Open With” installer.app (default).   Select “Open” when the installer opens a new window asking if you want to do the install.  Click thru the installer options by selecting “Continue” and accept the license, etc.

… when the install is done, setup the Fresurfer environment in a terminal window …

$ export FREESURFER_HOME=/Applications/freesurfer/7.4.1
$ source $FREESURFER_HOME/SetUpFreeSurfer.sh
-------- freesurfer-macOS-darwin_x86_64-7.4.1-20230614-7eb8460 --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME   /Applications/freesurfer/7.4.1
FSFAST_HOME       /Applications/freesurfer/7.4.1/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /Applications/freesurfer/7.4.1/subjects
MNI_DIR           /Applications/freesurfer/7.4.1/mni

… check python3 is there ...

$ ls $FREESURFER_HOME/python/bin/python3
/Applications/freesurfer/7.4.1/python/bin/python3

… then try running freesurfer commands again …

- R.


On Oct 12, 2023, at 20:01, 윤혜정 <hyejung7890@amc.seoul..kr> wrote:

        External Email - Use Caution        

Hi, 
 
On top of the email I sent earlier, I also get the next error line that says:
 
ERROR: could not configure recon-all parameters
/Applications/freesurfer/bin/fspython: line 20: /Applications/freesurfer/python/bin/python3: cannot execute binary file 
/Applications/freesurfer/bin/fspython: line 20: /Applications/freesurfer/python/bin/python3: Undefined error: 0
 

-----Original Message-----
From: hyejung7890@amc.seoul.kr
To: <freesurfer@nmr.mgh.harvard.edu>; 
Cc: 
Sent: 2023. 10. 13. (금) 08:35 (GMT+09:00)
Subject: ERROR: could not configure recon-all parameters
 
Good day, 
 
I get the following error message when I run recon-all:
 
ERROR: could not configure recon-all parameters
/Applications/freesurfer/bin/fspython: line 20: /Applications/freesurfer/python/bin/python3: cannot execute binary file 

I went through a bit of the mail archive and unlike the others I don't see ASCII error message in mine. 
 
Additionally, I was wondering if the thickness of MR slices would affect recon-all process at all? 
 
I appreciate your help. 
 
Best wishes,
Alice 
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer