Can`t import DICOM data

(清松英充) #1

Operating system:windows10
Slicer version:slicer 4.7.0-2017-08-07

i have a problem with load of DICOM datas.
i can`t import DICOM data into 3D slicer with error message.

i tried to use DICOM pacher, but failing.

have no way to import DICOM datas.
please help.

(Andras Lasso) #2

Please use latest nightly Slicer version and send the application log.

(清松英充) #3

i attach bug log below.

DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Session start time …: 2018-10-19 23:16:26
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Slicer version …: 4.7.0-2017-08-07 (revision 26212) win-amd64 - installed
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Operating system …: Windows / Professional / (Build 9200) - 64-bit
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Memory …: 16309 MB physical, 18741 MB virtual
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - CPU …: GenuineIntel , 4 cores, 16 logical processors
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Developer mode enabled …: no
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Prefer executable CLI …: yes
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Additional module paths …: (none)
[DEBUG][Python] 19.10.2018 23:16:27 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: Annotations
[DEBUG][Python] 19.10.2018 23:16:28 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentEditor
[DEBUG][Python] 19.10.2018 23:16:28 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\lib\Slicer-4.7\qt-scripted-modules\SubjectHierarchyPlugins\AbstractScriptedSubjectHierarchyPlugin.py:36) - Scripted subject hierarchy plugin registered: SegmentStatistics
[DEBUG][Qt] 19.10.2018 23:16:26 [] (unknown:0) - Number of registered modules: 135
[DEBUG][Qt] 19.10.2018 23:16:27 [] (unknown:0) - Number of instantiated modules: 135
[DEBUG][Qt] 19.10.2018 23:16:28 [] (unknown:0) - Number of loaded modules: 135
[DEBUG][Qt] 19.10.2018 23:16:28 [] (unknown:0) - Switch to module: “Welcome”
[DEBUG][Qt] 19.10.2018 23:16:46 [] (unknown:0) - Switch to module: “DICOM”
[DEBUG][Qt] 19.10.2018 23:16:47 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:16:47 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Python] 19.10.2018 23:17:09 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py:392) - MultiVolumeImportPlugin::examine
[WARNING][Python] 19.10.2018 23:17:09 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\bin\Python\slicer\util.py:862) - Warning: Plugin failed: MultiVolumeImporterPlugin

See python console for error message.
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[DEBUG][Qt] 19.10.2018 23:17:09 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - File “C:\Program Files\Slicer 4.7.0-2017-08-07\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py”, line 708, in getLoadablesFromFileLists
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - loadablesByPlugin[plugin] = plugin.examine(fileLists)
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - File “C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 80, in examine
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - loadables += self.examineFiles(files)
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - File “C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 430, in examineFiles
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - mvNodes = self.initMultiVolumes(subseriesLists[key])
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - File “C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 644, in initMultiVolumes
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - tagValue = self.tm2ms(tagValueStr) # convert to ms
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - File “C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/MultiVolumeImporterPlugin.py”, line 613, in tm2ms
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - sec = sec+ssfrac
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - UnboundLocalError: local variable ‘sec’ referenced before assignment
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - Warning: Plugin failed: MultiVolumeImporterPlugin
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) -
[CRITICAL][Stream] 19.10.2018 23:17:09 [] (unknown:0) - See python console for error message.
[INFO][Stream] 19.10.2018 23:17:11 [] (unknown:0) - DICOM Plugin failed: local variable ‘sec’ referenced before assignment
[DEBUG][Qt] 19.10.2018 23:17:11 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[WARNING][Python] 19.10.2018 23:17:12 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\bin\Python\slicer\util.py:862) -
Could not load: Unknown - as Slicer Scene as a Slicer Data Bundle
[DEBUG][Qt] 19.10.2018 23:17:11 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770”
DCMTK says: Invalid argument
[INFO][Stream] 19.10.2018 23:17:12 [] (unknown:0) - Could not get zipSize for C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770
[CRITICAL][Stream] 19.10.2018 23:17:12 [] (unknown:0) -
[CRITICAL][Stream] 19.10.2018 23:17:12 [] (unknown:0) - Could not load: Unknown - as Slicer Scene as a Slicer Data Bundle
[DEBUG][Qt] 19.10.2018 23:17:27 [] (unknown:0) - SQLITE: removing seriesInstanceUID 1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769
[WARNING][Qt] 19.10.2018 23:17:27 [] (unknown:0) - Failed to remove file C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770
[WARNING][Qt] 19.10.2018 23:17:27 [] (unknown:0) - Failed to remove thumbnail C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/thumbs/1.3.12.2.1107.5.1.4.50155.30000016022606012550000000004/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002769/1.3.12.2.1107.5.1.4.50155.30000016022606211407800002770.png
[WARNING][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Ignoring destinationDirectoryName parameter, just taking it as indication we should copy!
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Indexing

“C:/Users/kiyom/C/2016.12.6/supine/CT1”
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Processing C:/Users/kiyom/C/2016.12.6/supine/CT1
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - inserting filePath: “C:/Users/kiyom/C/2016.12.6/supine/CT1”
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Copy file from: C:/Users/kiyom/C/2016.12.6/supine/CT1
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Copy file to : C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016120603500467100000001/1.3.12.2.1107.5.1.4.50155.30000016120604083659300004022/1.2.392.200036.9107.630.491.20161207.160604.10004004953
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - This looks like a different patient from last insert: “002-002”
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - New patient inserted: 5
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - New patient inserted as : 5
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Going to insert this instance with dbPatientID: 5
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Used existing study: “1.3.12.2.1107.5.1.4.50155.30000016120603500467100000001”
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Study Added
[WARNING][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Used existing series: “1.3.12.2.1107.5.1.4.50155.30000016120604083659300004022”
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Series Added
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Maybe add Instance
[DEBUG][Qt] 19.10.2018 23:17:33 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016120603500467100000001/1.3.12.2.1107.5.1.4.50155.30000016120604083659300004022/1.2.392.200036.9107.630.491.20161207.160604.10004004953”
DCMTK says: Invalid argument
[CRITICAL][Qt] 19.10.2018 23:17:33 [] (unknown:0) - "Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"
[INFO][Python] 19.10.2018 23:17:37 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py:455) - Imported a DICOM directory, checking for extensions
[INFO][Stream] 19.10.2018 23:17:37 [] (unknown:0) - C:/Users/kiyom/C/2016.12.6/supine/CT1Imported a DICOM directory, checking for extensions
[WARNING][Qt] 19.10.2018 23:17:46 [] (unknown:0) - libpng warning: iCCP: known incorrect sRGB profile
[WARNING][Qt] 19.10.2018 23:17:46 [] (unknown:0) - libpng warning: iCCP: known incorrect sRGB profile
[DEBUG][Qt] 19.10.2018 23:17:48 [] (unknown:0) - Switch to module: “DICOMPatcher”
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - DICOM patching started…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - DICOM patching started…
[DEBUG][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:525) - DICOM patch input directory: C:/Users/kiyom/C/2016.12.6/supine
[DEBUG][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:526) - DICOM patch output directory: C:/Users/kiyom/C/2016.12.6/NEW1
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Examining .\CT1…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Examining .\CT1…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Patching…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Patching…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Writing DICOM…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Writing DICOM…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Created DICOM file: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct000.dcm
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Created DICOM file: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct000.dcm
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Examining .\CT10…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Examining .\CT10…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Patching…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Patching…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Writing DICOM…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Writing DICOM…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Created DICOM file: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct001.dcm
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Created DICOM file: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct001.dcm
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Examining .\CT100…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Examining .\CT100…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Patching…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Patching…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Writing DICOM…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Writing DICOM…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Created DICOM file: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct002.dcm
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Created DICOM file: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct002.dcm
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Examining .\CT101…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Examining .\CT101…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Patching…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Patching…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Writing DICOM…
[INFO][Stream] 19.10.2018 23:18:12 [] (unknown:0) - Writing DICOM…
[INFO][Python] 19.10.2018 23:18:12 [Python] (C:/Program Files/Slicer 4.7.0-2017-08-07/lib/Slicer-4.7/qt-scripted-modules/DICOMPatcher.py:502) - Created DICOM file: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct003.dcm

too long bug log to attach, so attached only a portion of all.

(清松英充) #4

i attach the end of bug log.

“C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct000.dcm”
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Processing C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct000.dcm
[WARNING][Qt] 19.10.2018 23:18:30 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record
[WARNING][Qt] 19.10.2018 23:18:30 [] (unknown:0) - QSqlQuery::value: not positioned on a valid record
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - inserting filePath: “C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct000.dcm”
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - database filename for “2.25.276038533200814578284225619608846648424” is empty - we should insert on top of it
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Copy file from: C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct000.dcm
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Copy file to : C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016120603500467100000001/1.3.12.2.1107.5.1.4.50155.30000016120604083659300004022/2.25.276038533200814578284225619608846648424
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Going to insert this instance with dbPatientID: 5
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Used existing study: “1.3.12.2.1107.5.1.4.50155.30000016120603500467100000001”
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Study Added
[WARNING][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Statement: SELECT * FROM Series WHERE SeriesInstanceUID = ?
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Used existing series: “1.3.12.2.1107.5.1.4.50155.30000016120604083659300004022”
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Series Added
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Maybe add Instance
[DEBUG][Qt] 19.10.2018 23:18:30 [] (unknown:0) - Could not load “C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.12.2.1107.5.1.4.50155.30000016120603500467100000001/1.3.12.2.1107.5.1.4.50155.30000016120604083659300004022/2.25.276038533200814578284225619608846648424”
DCMTK says: Invalid argument
[CRITICAL][Qt] 19.10.2018 23:18:30 [] (unknown:0) - "Slicer has caught an internal error.

You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"
[INFO][Python] 19.10.2018 23:18:33 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py:455) - Imported a DICOM directory, checking for extensions
[INFO][Stream] 19.10.2018 23:18:33 [] (unknown:0) - C:/Users/kiyom/C/2016.12.6/NEW1/pa000/st000/se000/ct000.dcmImported a DICOM directory, checking for extensions

Do I need to uninstall 3D slicer that i now use, when i install the latest 3D slicer?

(Steve Pieper) #5

Looks like something to do with the data an not with Slicer so reinstalling is unlikely to make a difference. Does it work for you try with other dicom data?

You should be able to load this sample data for example:

https://s3.amazonaws.com/IsomicsPublic/SampleData/QIN-HEADNECK-01-0024-CT.zip

(清松英充) #6

thanks a lot.
tried to import your sample data, but failed.
attach a bug log.
You may be able to continue from this point, but results are undefined.

Suggested action is to save your work and restart.

If you have a repeatable sequence of steps that causes this message, please report the issue following instructions available at http://slicer.org

The message detail is:

Exception thrown in event: Calling methods on uninitialized ctkDICOMItem"

[INFO][Python] 20.10.2018 00:14:31 [Python] (C:\Program Files\Slicer 4.7.0-2017-08-07\lib\Slicer-4.7\qt-scripted-modules\DICOMLib\DICOMWidgets.py:455) - Imported a DICOM directory, checking for extensions

[INFO][Stream] 20.10.2018 00:14:31 [] (unknown:0) - C:/Users/kiyom/C/QIN-HEADNECK-01-0024-CT/000000.dcmImported a DICOM directory, checking for extensions

[DEBUG][Qt] 20.10.2018 00:14:31 [] (unknown:0) - Could not load "C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.6.1.4.1.14519.5.2.1.2744.7002.271803936741289691489150315969/1.3.6.1.4.1.14519.5.2.1.2744.7002.453958960749354309542907936863/1.3.6.1.4.1.14519.5.2.1.2744.7002.115318280284078568523785104293"

DCMTK says: Invalid argument

[DEBUG][Qt] 20.10.2018 00:14:32 [] (unknown:0) - Could not load "C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase/dicom/1.3.6.1.4.1.14519.5.2.1.2744.7002.271803936741289691489150315969/1.3.6.1.4.1.14519.5.2.1.2744.7002.453958960749354309542907936863/1.3.6.1.4.1.14519.5.2.1.2744.7002.115318280284078568523785104293"

DCMTK says: Invalid argument

i don`t know what is happening.

(Steve Pieper) #7

The problem is likely due to this:

“C:/Users/kiyom/OneDrive/?h?L???g/SlicerDICOMDatabase

Sorry, we don’t handle non-English characters well. Please set your directory to point to an ascii-only path.

Hope that helps,
Steve

DICOM import fails - 0 New Patients
(Andras Lasso) #8

Also, please update to a more recent version of Slicer. Since version 4.7 we have implemented hundreds of fixes and improvements.

(清松英充) #9

thanks.
i try.
and do i need to uninstall Slicer version 4.7 when to install the latest Slicer?

(Steve Pieper) #10

No need to uninstall the old version, you can have as many versions installed as you want and they won’t interfere.