DICOM image loading fails

Operating system: Windows 7 Ultimate 64 bit.

I can not loading DICOM files. I could uploaded to 4.7.0 slicer when I have Windows 7 Home Basic 64 bit. But it is not now. Screen images and log messages are below. I wonder is problem in the operating system? Help me please:sweat_smile:

You can only load volumes from folders and filenames that does not have special character in their name. Either copy the files to a different folder manually or use the DICOM Patcher module in Slicer to clean up filenames and paths.

Thank you for the quick reply.

I have tried. But it did not. The same thing is happening.

Best,

Please attach the application logs of the attempt after the directory name is fixed (menu: Help / Report a bug).

Have you also tried to clean up your data by running DICOM Patcher?

Also, what is the location of your DICOM database? Click this and please report:

[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - Session start time …: 2017-06-28 20:13:00
[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - Slicer version …: 4.7.0-2017-06-26 (revision 26137) win-amd64 - installed
[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - Operating system …: Windows / Vista Professional / Service Pack 1 (Build 6001) - 64-bit
[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - Memory …: 5814 MB physical, 11627 MB virtual
[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - CPU …: GenuineIntel , 4 cores, 16 logical processors
[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - Developer mode enabled …: no
[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 28.06.2017 20:13:00 [] (unknown:0) - Additional module paths …: (none)
[DEBUG][Python] 28.06.2017 20:13:05 [Python] (C:\Program Files\Slicer 4.7.0-2017-06-26\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 28.06.2017 20:13:08 [Python] (C:\Program Files\Slicer 4.7.0-2017-06-26\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 28.06.2017 20:13:08 [Python] (C:\Program Files\Slicer 4.7.0-2017-06-26\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 28.06.2017 20:13:01 [] (unknown:0) - Number of registered modules: 135
[DEBUG][Qt] 28.06.2017 20:13:02 [] (unknown:0) - Number of instantiated modules: 135
[DEBUG][Qt] 28.06.2017 20:13:10 [] (unknown:0) - Number of loaded modules: 135
[DEBUG][Qt] 28.06.2017 20:13:10 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 28.06.2017 20:14:15 [] (unknown:0) - Switch to module: “DICOM”
[DEBUG][Python] 28.06.2017 20:14:54 [Python] (C:/Program Files/Slicer 4.7.0-2017-06-26/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py:392) - MultiVolumeImportPlugin::examine
[WARNING][Python] 28.06.2017 20:15:29 [Python] (C:\Program Files\Slicer 4.7.0-2017-06-26\bin\Python\slicer\util.py:812) - Warning: Plugin failed: MultiVolumeImporterPlugin

See python console for error message.
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - File “C:\Program Files\Slicer 4.7.0-2017-06-26\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 708, in getLoadablesFromFileLists
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - loadablesByPlugin[plugin] = plugin.examine(fileLists)
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - File “C:/Program Files/Slicer 4.7.0-2017-06-26/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 80, in examine
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - loadables += self.examineFiles(files)
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - File “C:/Program Files/Slicer 4.7.0-2017-06-26/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 430, in examineFiles
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - mvNodes = self.initMultiVolumes(subseriesLists[key])
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - File “C:/Program Files/Slicer 4.7.0-2017-06-26/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 726, in initMultiVolumes
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - mvNode.SetAttribute(‘MultiVolume.FrameFileList’, frameFileListStr)
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - TypeError: SetAttribute argument 2: (unicode conversion error)
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - Warning: Plugin failed: MultiVolumeImporterPlugin
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) -
[CRITICAL][Stream] 28.06.2017 20:15:29 [] (unknown:0) - See python console for error message.
[INFO][Stream] 28.06.2017 20:16:05 [] (unknown:0) - DICOM Plugin failed: SetAttribute argument 2: (unicode conversion error)

[DEBUG][Qt] 28.06.2017 20:10:28 [] (unknown:0) - Session start time …: 2017-06-28 20:10:28
[DEBUG][Qt] 28.06.2017 20:10:28 [] (unknown:0) - Slicer version …: 4.7.0-2017-06-26 (revision 26137) win-amd64 - installed
[DEBUG][Qt] 28.06.2017 20:10:29 [] (unknown:0) - Operating system …: Windows / Vista Professional / Service Pack 1 (Build 6001) - 64-bit
[DEBUG][Qt] 28.06.2017 20:10:29 [] (unknown:0) - Memory …: 5814 MB physical, 11627 MB virtual
[DEBUG][Qt] 28.06.2017 20:10:29 [] (unknown:0) - CPU …: GenuineIntel , 4 cores, 16 logical processors
[DEBUG][Qt] 28.06.2017 20:10:29 [] (unknown:0) - Developer mode enabled …: no
[DEBUG][Qt] 28.06.2017 20:10:29 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 28.06.2017 20:10:29 [] (unknown:0) - Additional module paths …: (none)
[DEBUG][Python] 28.06.2017 20:10:41 [Python] (C:\Program Files\Slicer 4.7.0-2017-06-26\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 28.06.2017 20:10:43 [Python] (C:\Program Files\Slicer 4.7.0-2017-06-26\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 28.06.2017 20:10:43 [Python] (C:\Program Files\Slicer 4.7.0-2017-06-26\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 28.06.2017 20:10:31 [] (unknown:0) - Number of registered modules: 135
[DEBUG][Qt] 28.06.2017 20:10:35 [] (unknown:0) - Number of instantiated modules: 135
[DEBUG][Qt] 28.06.2017 20:10:46 [] (unknown:0) - Number of loaded modules: 135
[DEBUG][Qt] 28.06.2017 20:10:46 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 28.06.2017 20:10:54 [] (unknown:0) - Switch to module: “DICOM”

Now I can import DICOM files, But I can not load.

@vetyasin this is the error: “TypeError: SetAttribute argument 2: (unicode conversion error)”

You need to run DICOM Patcher:

1 Like

Dear, Fedorov and Lasso;

I solved the problem as you suggested.
Thank u so much for your interesting.
Best,

(translated using Google translate)

Hello excuse me, how do you run the Dicom patcher? because I can’t open .dcm files.

Thank you from now

Original language text

Hola disculpa, como ejecutas el Dicom patcher? porque no puedo abrir los archivos .dcm.

DEsde ya gracias

See documentation here: https://slicer.readthedocs.io/en/latest/user_guide/modules/dicompatcher.html