External Email - Use Caution        

Hi FreeSurfer community,

when I run mri_coreg I get the following error.
 /XYZ/2123/mri/brainmask.mgz is in the specified location.

Can you help me with this?

Thanks!
Boris 

mri_coreg --s 2123 --mov /XYZ/2123.nii --reg 2123.reg.lta 
Could not set locale
No such file or directory
Could not set locale

$Id: mri_coreg.c,v 1.27 2016/04/30 15:11:49 greve Exp $
cwd /home/demenzbild
cmdline mri_coreg --s 2123 --mov /XYZ/2123.nii --reg 2123.reg.lta 
sysname  Linux
hostname XXX
machine  x86_64
user     d
dof    6
nsep    2
cras0    1
ftol    0.000000
linmintol    0.001000
bf       1
bflim    30.000000
bfnsamp    30
SmoothRef 0
SatPct    99.990000
MovOOB 0
optschema 1
Reading in mov /XYZ/2123.nii
WARNING: 78694 NaNs found in volume /XYZ/2123.nii...

No such file or directory
Reading in ref /XYZ/2123/mri/brainmask.mgz
mghRead(/XYZ/2123/mri/brainmask.mgz, -1): could not open file