Im not sure if its the problem or not, but seems that its the file
permission error.

Either do "sudo su" and re-run your command as root or change the file
permissions in /subjects folder.

Running commands as "root" is generally not recommended.

On Jul 15, 2016 4:41 PM, "Sherryse Corrow" <sherryse.cor...@icloud.com>
wrote:

Hello freesurfer developers,

I installed FreeSurfer on my computer today using the instructions found
here: https://surfer.nmr.mgh.harvard.edu/fswiki/DownloadAndInstall.   After
installation, I proceed to the “test your FreeSurfer Installation” section.
  Upon trying the first test, I ran the following and code and received the
following error.

Sherryses-iMac:~ sherrysecorrow$ cd $FREESURFER_HOME/subjects
Sherryses-iMac:subjects sherrysecorrow$ mri_convert sample-001.mgz
sample-001.nii.gz
mri_convert sample-001.mgz sample-001.nii.gz
$Id: mri_convert.c,v 1.179.2.7 2012/09/05 21:55:16 mreuter Exp $
reading from sample-001.mgz...
TR=7.25, TE=3.22, TI=600.00, flip angle=7.00
i_ras = (-0, -1, -0)
j_ras = (-0, 0, -1)
k_ras = (-1, 0, 0)
writing to sample-001.nii.gz...
niiWrite(): error opening file sample-001.nii.gz
ERROR: failure writing sample-001.nii.gz

I’ve searched the list and was unable to find someone with the same error
in the archives.   Any thoughts on how to fix this?

freesurfer-Darwin-lion-stable-pub-v5.3.0
Mac OS X version 10.9.5

uname -a
Darwin Sherryses-iMac.local 13.4.0 Darwin Kernel Version 13.4.0: Mon Jan 11
18:17:34 PST 2016; root:xnu-2422.115.15~1/RELEASE_X86_64 x86_64

Thanks,
Sherryse

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


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the
e-mail
contains patient information, please contact the Partners Compliance
HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in
error
but does not contain patient information, please contact the sender and
properly
dispose of the e-mail.
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to