External Email - Use Caution        

Hello Alex,

If you want to use the Finder to directly launch the freeview *application*, then I would double click on an application bundle (named *.app or in this case Freeview.app)  which is directly under /Applications/freesurfer/7.1.1.  You can drag the application icon into your dock to run Freeview from there.

The shell script under /Applications/freesurfer/7.1.1/bin is usually run from the command line by typing “freeview” in a terminal window after you have setup your shell environment (set FREESURFER_HOME and source the freesurfer setup script which sets/modifies PATH, etc.).  With everything set in the terminal window shell environment, then running the freeview script from the command line will launch the Freeview.app - see below.

- R.

Open a terminal window and at the prompt type “bash”, then do,


Mac:~> export FREESURFER_HOME=/Applications/freesurfer/7.1.1

Mac:~> source $FREESURFER_HOME/SetUpFreeSurfer.sh
-------- freesurfer-darwin-macOS-7.1.1-20200726-8b40551 --------
Setting up environment for FreeSurfer/FS-FAST (and FSL)
FREESURFER_HOME   /Applications/freesurfer/7.1.1
FSFAST_HOME       /Applications/freesurfer/7.1.1/fsfast
FSF_OUTPUT_FORMAT nii.gz
SUBJECTS_DIR      /Applications/freesurfer/7.1.1/subjects
MNI_DIR           /Applications/freesurfer/7.1.1/mni

Mac:~> which freeview
/Applications/freesurfer/7.1.1/bin/freeview

...then the freeview application should launch when you type ...

Mac:~> freeview

 and you can run all the other commands under $FREESURFER_HOME/bin ...
On Sep 16, 2020, at 03:17, Alex White <alexander.l.white@gmail.com> wrote:

        External Email - Use Caution        


Hello again dear Freesurfer experts 

I recently updated to v7.1.1, in order to get the latest version of Freeview. I’m using Mac OS 10.15.6. 

Freeview seems to start once each time I boot up my machine, but if I quite it, I can’t re-start it again (until re-booting the machine). In the terminal I get an error like this: 

/Applications/freesurfer/7.1.1/bin/freeview: line 2:  6667 Segmentation fault: 11  $FREESURFER_HOME/Freeview.app/Contents/MacOS/freeview "$@“

The number after “line 2” isn’t always the same. 

If I try to start Freeview by clicking on its icon, I get a window that says, “freeview quit unexpectedly.” I can send you the full crash report if you like. 

Any advice? 

Thanks again, 
Alex White 





_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer