Hi, I am trying to convert dicom series to nrrd in batch mode by using mpReviewpreprocessor module in 3d slicer 4.10.2, but it always shows error like the photo below. How can I handle it? Thank you!
This is error message in case photo not appear: Traceback (most recent call last):
File “C:\Users\Vuong Thuy Tran\AppData\Roaming\NA-MIC\Extensions-28257\mpReview\lib\Slicer-4.10\qt-scripted-modules\mpReviewPreprocessor.py”, line 71, in onRunClicked
logic = mpReviewPreprocessorLogic()
File “C:\Users\Vuong Thuy Tran\AppData\Roaming\NA-MIC\Extensions-28257\mpReview\lib\Slicer-4.10\qt-scripted-modules\mpReviewPreprocessor.py”, line 108, in init
shutil.rmtree(self.dataDir)
File “C:\Program Files\Slicer 4.10.2\lib\Python\Lib\shutil.py”, line 247, in rmtree
rmtree(fullname, ignore_errors, onerror)
File “C:\Program Files\Slicer 4.10.2\lib\Python\Lib\shutil.py”, line 252, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File “C:\Program Files\Slicer 4.10.2\lib\Python\Lib\shutil.py”, line 250, in rmtree
os.remove(fullname)
WindowsError: [Error 32] The process cannot access the file because it is being used by another process: u’C:/Users/Vuong Thuy Tran/AppData/Local/Temp/Slicer\mpReviewPreprocessor\CtkDICOMDatabase\ctkDICOM.sql’