Could not load: 1: 3D CBCT Stitched Volume as a Scalar Volume


(Gauthier Benat) #1

Hello everyone,

It’s my first time using Slicer (latest version not nightly) and when I want to load the dicom files everytime I have this message “Could not load: 1: 3D CBCT Stitched Volume as a Scalar Volume”.

I’ve looked here but I don’t know how to use this patch and I’m not sure it’s going to resolve the problem.

here the log file :

[spoiler] [DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - Session start time .......: 2019-01-08 14:40:00

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - Slicer version ...........: 4.10.0 (revision 27501) win-amd64 - installed release

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - Operating system .........: Windows / Professional / (Build 9200) - 64-bit

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - Memory ...................: 8133 MB physical, 15694 MB virtual

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - CPU ......................: GenuineIntel , 8 cores, 8 logical processors

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - VTK configuration ........: OpenGL2 rendering, TBB threading

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - Developer mode enabled ...: no

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - Prefer executable CLI ....: yes

[DEBUG][Qt] 08.01.2019 14:40:00 [] (unknown:0) - Additional module paths ..: C:/Users/Gauthier/Downloads/SlicerDicomPatcher-master

[DEBUG][Python] 08.01.2019 14:40:01 [Python] (C:\Program Files\Slicer 4.10.0\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(['git', 'version'], cwd=C:\Program Files\Slicer 4.10.0, universal_newlines=False, shell=None)

[DEBUG][Python] 08.01.2019 14:40:02 [Python] (C:\Program Files\Slicer 4.10.0\lib\Python\Lib\site-packages\git\cmd.py:719) - Popen(['git', 'version'], cwd=C:\Program Files\Slicer 4.10.0, universal_newlines=False, shell=None)

[DEBUG][Python] 08.01.2019 14:40:02 [Python] (C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations

[DEBUG][Python] 08.01.2019 14:40:03 [Python] (C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor

[DEBUG][Python] 08.01.2019 14:40:03 [Python] (C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics

[DEBUG][Qt] 08.01.2019 14:40:03 [] (unknown:0) - Switch to module: "Welcome"

[INFO][Stream] 08.01.2019 14:40:03 [] (unknown:0) - Loading Slicer RC file [C:/Users/Gauthier/.slicerrc.py]

[DEBUG][Qt] 08.01.2019 14:40:06 [] (unknown:0) - Switch to module: "DICOM"

[DEBUG][Python] 08.01.2019 14:40:10 [Python] (C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:455) - MultiVolumeImportPlugin::examine

[DEBUG][Python] 08.01.2019 14:40:12 [Python] (C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:495) - DICOMMultiVolumePlugin found 0 multivolumes!

[DEBUG][Python] 08.01.2019 14:40:12 [Python] (C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:165) - MultiVolumeImportPlugin:examineMultiseries

[DEBUG][Python] 08.01.2019 14:40:12 [Python] (C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/MultiVolumeImporterPlugin.py:170) - DICOMMultiVolumePlugin found 0 multivolumes!

[ERROR][Python] 08.01.2019 14:40:12 [Python] (C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py:873) - DICOM plugin failed to load '1: 3D CBCT Stitched Volume' as a 'Scalar Volume'.

Traceback (most recent call last):

File "C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 867, in proceedWithReferencedLoadablesSelection

loadSuccess = plugin.load(loadable)

File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 411, in load

volumeNode = self.loadFilesWithSeriesReader("GDCM", loadable.files, loadable.name)

File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 288, in loadFilesWithSeriesReader

reader.SetArchetype(files[0]);

TypeError: SetArchetype argument 1: (unicode conversion error)

[WARNING][Python] 08.01.2019 14:40:12 [Python] (C:\Program Files\Slicer 4.10.0\bin\Python\slicer\util.py:1066) -

Could not load: 1: 3D CBCT Stitched Volume as a Scalar Volume

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - DICOM plugin failed to load '1: 3D CBCT Stitched Volume' as a 'Scalar Volume'.

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - Traceback (most recent call last):

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - File "C:\Program Files\Slicer 4.10.0\lib\Slicer-4.10\qt-scripted-modules\DICOMLib\DICOMWidgets.py", line 867, in proceedWithReferencedLoadablesSelection

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - loadSuccess = plugin.load(loadable)

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 411, in load

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - volumeNode = self.loadFilesWithSeriesReader("GDCM", loadable.files, loadable.name)

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - File "C:/Program Files/Slicer 4.10.0/bin/../lib/Slicer-4.10/qt-scripted-modules/DICOMScalarVolumePlugin.py", line 288, in loadFilesWithSeriesReader

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - reader.SetArchetype(files[0]);

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - TypeError: SetArchetype argument 1: (unicode conversion error)

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) -

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) -

[CRITICAL][Stream] 08.01.2019 14:40:12 [] (unknown:0) - Could not load: 1: 3D CBCT Stitched Volume as a Scalar Volume[/spoiler]

Thanks


(Steve Pieper) #2
TypeError: SetArchetype argument 1: (unicode conversion error)

Probably means this issue noted in the FAQ is the problem:

  • Try moving the data and the database directory to a path that includes only US English characters (ASCII) to avoid possible parsing errors. No special, international characters are allowed.

(Gauthier Benat) #3

It’s working thanks a lot Pieper !