Hello,

We are medicine students who are using freesurfer for research. We had been using freesurfer in Ubuntu 12.02 without encountering any trouble; recently we updated to 14.04.

Now, when we attempt to convert a mgz file to nii using mriconvert, we have an error regarding failure to write the files .nii

The command we are using is as follows:

mri_convert ../estructural/Freesurfer_segmentacion_cortical_resultado/C2090_cortical_seg.mgz ../estructural/Freesurfer_segmentacion_cortical_resultado/C2090_cortical_seg.nii


The error message we find is this one:

$Id: mri_convert.c,v 1.179.2.7 2012/09/05 21:55:16 mreuter Exp $
reading from /home/psa/datos_MRI_cerebral/estructural/Freesurfer_seg_cortical_resultado/C2090_cortical_seg.mgz...
TR=0.00, TE=0.00, TI=0.00, flip angle=0.00
i_ras = (-1, -4.74975e-08, 0)
j_ras = (0, 0, -1)
k_ras = (1.21072e-08, 1, 0)
writing to ../estructural/Freesurfer_segmentacion_cortical_resultado/C2090.nii...
niiWrite(): error opening file ../estructural/Freesurfer_segmentacion_cortical_resultado/C2090.nii
ERROR: failure writing ../estructural/Freesurfer_segmentacion_cortical_resultado/C2090.nii


We really could use your help, since we can't find any solution in the Internet. Thanks in advance for your attention.


Regards,


Óscar and Alba