What is inside your mri folder? And make sure you are not running out of disk space as that would cause the 0 length files
Cheers
Bruce

On Apr 17, 2022, at 9:04 PM, HYE JUNG YOUN <hyejung7890@amc.seoul.kr> wrote:



        External Email - Use Caution        

Hi,

 

Just re-sending this message in case it didn’t go through to the developers, I am still searching for a solution to this problem.

 

I also found out that the originally converted mri.mgz , brainmask.mgz files are probably re-written – its file size changed to 0kB after I ran the code I sent in my previous email.

Where do you think I went wrong?

 

Thanks for your help.

H

 

From: freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of HYE JUNG YOUN
Sent: Wednesday, April 13, 2022 9:39 AM
To: freesurfer@nmr.mgh.harvard.edu
Subject: [Freesurfer] Failed to load MRI error

 

        External Email - Use Caution        

Dear freesurfer devleopers,

 

I am experiencing an error while loading freeview using the following code:

image001.png

 

This always worked for me but now when I try to load and view it, a message failed to load MRI pops up on freeview after loading T1.mgz.

 

From the terminal it says:

error: mghRead(/Applications/freesurfer/7.2.0/subjects/211025/1079_4/mri/wm.mgz, -1): read error

MRIread failed: Unable to read from /Applications/freesurfer/7.2.0/subjects/211025/1079_4/mri/wm.mgz

 

Also, when I check the mri containing file, eg: 1079_4 folder, after loading freeview, the folder contains automatically generated v and f file.

image002.png

I have seen a few similar errors on google and mail archive but they did not solve my issue.

I would very much appreciate any solution to this.

 

Thank you in advance.

 

Best,

HJ

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