DICOM loading, patcher, general problems.

I have previously successfully patched DICOM data into slicer. Currently, after deleting and reinstalling the data I can now no longer successfully patch it. It doesn’t write to a DICOM folder, it writes it to a pa000 folder. That doesn’t load properly into the program.

If I use a data set that it can see, I click LOAD (from the DICOM/import) and nothing happens at all. As I’ve used this data before I know it is okay generally.

Which Slicer version do you use?
Can you send the application log of a DICOM patching and import? (available in menu: Help / Report a bug)

[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Session start time …: 2018-01-24 14:28:19
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Session start time …: 2018-01-24 14:28:19
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Slicer version …: 4.8.1 (revision 26813) win-amd64 - installed
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Slicer version …: 4.8.1 (revision 26813) win-amd64 - installed
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Operating system …: Windows / Personal / (Build 9200) - 64-bit
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Memory …: 3981 MB physical, 8845 MB virtual
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - CPU …: AuthenticAMD AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G , 2 cores, 1 logical processors
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Developer mode enabled …: yes
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 24.01.2018 14:28:19 [] (unknown:0) - Additional module paths …: (none)
[DEBUG][Python] 24.01.2018 14:29:32 [Python] (C:\Program Files\Slicer 4.8.1\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)
[DEBUG][Python] 24.01.2018 14:29:35 [Python] (C:\Program Files\Slicer 4.8.1\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)
[DEBUG][Python] 24.01.2018 14:29:54 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 24.01.2018 14:29:54 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 24.01.2018 14:29:59 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 24.01.2018 14:29:59 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Python] 24.01.2018 14:29:59 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 24.01.2018 14:28:48 [] (unknown:0) - Number of registered modules: 135
[DEBUG][Qt] 24.01.2018 14:28:48 [] (unknown:0) - Number of registered modules: 135
[DEBUG][Qt] 24.01.2018 14:29:42 [] (unknown:0) - Number of instantiated modules: 135
[DEBUG][Qt] 24.01.2018 14:30:00 [] (unknown:0) - Number of loaded modules: 135
[DEBUG][Qt] 24.01.2018 14:30:00 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 24.01.2018 14:30:00 [] (unknown:0) - Number of loaded modules: 135
[DEBUG][Qt] 24.01.2018 14:30:00 [] (unknown:0) - Switch to module: “Welcome”
[INFO][Python] 24.01.2018 14:30:32 [Python] (C:\Program Files\Slicer 4.8.1\bin\Python\slicer\util.py:942) - DICOM Database will be stored in

C:\Users\pg13t\OneDrive\Documents\SlicerDICOMDatabase

Use the Local Database button in the DICOM Browser to pick a different location.
[DEBUG][Qt] 24.01.2018 14:30:31 [] (unknown:0) - Switch to module: “DICOM”
[INFO][Stream] 24.01.2018 14:30:32 [] (unknown:0) - DICOM Database will be stored in
[INFO][Stream] 24.01.2018 14:30:32 [] (unknown:0) -
[INFO][Stream] 24.01.2018 14:30:32 [] (unknown:0) - C:\Users\pg13t\OneDrive\Documents\SlicerDICOMDatabase
[INFO][Stream] 24.01.2018 14:30:32 [] (unknown:0) -
[INFO][Stream] 24.01.2018 14:30:32 [] (unknown:0) - Use the Local Database button in the DICOM Browser to pick a different location.
[CRITICAL][Stream] 24.01.2018 14:32:18 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 24.01.2018 14:32:18 [] (unknown:0) - File “C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 766, in loadCheckedLoadables
[CRITICAL][Stream] 24.01.2018 14:32:18 [] (unknown:0) - self.examineForLoading()
[CRITICAL][Stream] 24.01.2018 14:32:18 [] (unknown:0) - File “C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 677, in examineForLoading
[CRITICAL][Stream] 24.01.2018 14:32:18 [] (unknown:0) - self.loadablesByPlugin, loadEnabled = self.getLoadablesFromFileLists(self.fileLists)
[CRITICAL][Stream] 24.01.2018 14:32:18 [] (unknown:0) - TypeError: ‘NoneType’ object is not iterable
[DEBUG][Qt] 24.01.2018 14:33:00 [] (unknown:0) - Switch to module: “”

Thanks, the log was helpful. Could you try disabling MultiVolumeImporterPlugin and DICOMSlicerDataBundlePlugin and try again? (check Advanced, uncheck MultiVolumeImporterPlugin and DICOMSlicerDataBundlePlugin checkboxes, click Examine, then click Load)

image

If loading is not successful then please send the logs again.

[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - Session start time …: 2018-01-24 15:26:55
[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - Slicer version …: 4.8.1 (revision 26813) win-amd64 - installed
[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - Operating system …: Windows / Personal / (Build 9200) - 64-bit
[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - Memory …: 3981 MB physical, 8845 MB virtual
[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - CPU …: AuthenticAMD AMD A9-9420 RADEON R5, 5 COMPUTE CORES 2C+3G , 2 cores, 1 logical processors
[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - Developer mode enabled …: yes
[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 24.01.2018 15:26:55 [] (unknown:0) - Additional module paths …: (none)
[DEBUG][Python] 24.01.2018 15:27:09 [Python] (C:\Program Files\Slicer 4.8.1\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)
[DEBUG][Python] 24.01.2018 15:27:11 [Python] (C:\Program Files\Slicer 4.8.1\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(%s, cwd=%s, universal_newlines=%s, shell=%s)
[DEBUG][Python] 24.01.2018 15:27:17 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 24.01.2018 15:27:20 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 24.01.2018 15:27:20 [Python] (C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 24.01.2018 15:26:57 [] (unknown:0) - Number of registered modules: 135
[DEBUG][Qt] 24.01.2018 15:27:14 [] (unknown:0) - Number of instantiated modules: 135
[DEBUG][Qt] 24.01.2018 15:27:21 [] (unknown:0) - Number of loaded modules: 135
[DEBUG][Qt] 24.01.2018 15:27:21 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 24.01.2018 15:28:01 [] (unknown:0) - Switch to module: “DICOM”
[CRITICAL][Stream] 24.01.2018 15:28:23 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 24.01.2018 15:28:23 [] (unknown:0) - File “C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 766, in loadCheckedLoadables
[CRITICAL][Stream] 24.01.2018 15:28:23 [] (unknown:0) - self.examineForLoading()
[CRITICAL][Stream] 24.01.2018 15:28:23 [] (unknown:0) - File “C:\Program Files\Slicer 4.8.1\lib\Slicer-4.8\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 677, in examineForLoading
[CRITICAL][Stream] 24.01.2018 15:28:23 [] (unknown:0) - self.loadablesByPlugin, loadEnabled = self.getLoadablesFromFileLists(self.fileLists)
[CRITICAL][Stream] 24.01.2018 15:28:23 [] (unknown:0) - TypeError: ‘NoneType’ object is not iterable

OK. It seems that your files cannot be interpreted as scalar volumes. The problem is most likely caused by invalid file content, which is most likely related to what you reported in this post: Importing data from patcher. Let’s continue the discussion there.

OK. I’ll move over to that post.

Update. After reading through lots of discussions, I tried drag and drop on the original data. It worked perfectly. The load data from DICOM button is the problem. Hence I thought the data needed patching, which sent me off on a rabbit trail.

So I don’t know if there is an error generally on the DICOM module, but at least now I know how to do it, it’s easy.

If you don’t go through the DICOM module then ITK’s DICOM reader is used directly. That only supports loading of images and many important checks are bypassed. If you are lucky then the result may be usable, but I would always recommend using DICOM module (and if there are errors then fix DICOM module, DICOM patcher, or the generator of the DICOM data set).

How would I fix the DICOM module, or patcher? I spent months trying so many different things, and this has been the only route to success.
The resulting image looks good, and the model was great.

There is no single recipe for fixing things. Have you shared the problematic image with us?