Dear FreeSurfer Experts

While performing the long_mris_slopes --qdec I receive the following error:

Traceback (most recent call last):

  File "/Applications/freesurfer/bin/long_mris_slopes", line 1125, in <module>

    shutil.rmtree(dirname)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 253, in rmtree

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 251, in rmtree

OSError: [Errno 66] Directory not empty: './tmp-lhab_2ur8.base_lh_thickness_f9caSb'


I tried to solve the problem with tips from the internet but could not fix it. The directory is empty and every time I try for perform a new long_mris_slopes --qdec I receive the same error concerning another subject's folder like:


Traceback (most recent call last):

  File "/Applications/freesurfer/bin/long_mris_slopes", line 1125, in <module>

    shutil.rmtree(dirname)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 253, in rmtree

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 251, in rmtree

OSError: [Errno 66] Directory not empty: './tmp-lhab_1lwe.base_lh_thickness_E_ExHB'


Can you please help me with this?


Thank you in advance.


Sincerely,

Ben