# DICOM Import Error

**URL:** <https://discourse.slicer.org/t/dicom-import-error/15665>\
**Category:** Support\
**Tags:** dicom\
**Created:** [January 25, 2021, 8:26pm UTC](https://discourse.slicer.org/t/dicom-import-error/15665 "2021-01-25T20:26:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nav](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nav/32/9659_2.png) [@nav](https://discourse.slicer.org/u/nav)\
**Post date:** [January 25, 2021, 8:26pm UTC](https://discourse.slicer.org/t/dicom-import-error/15665/1 "2021-01-25T20:26:00Z")

</div>

Problem report for Slicer 4.11.20200930 win-amd64: [please describe expected and actual behavior]

Expected: DICOMs to import  
Actual: Getting 0 New Patients, 0 New Studies

Log File:  
[DEBUG][Qt] 25.01.2021 13:49:01 [] (unknown:0) - Could not load “H:/Berbeco Lab/Studies/AGuIX/Ratio\_AGuIX-Bi/MRI Data/MRI Linac/MRI\_Data\_Slicer/Agar.samples.01132021\_2021.01.13-15.58.20-STD-1.3.12.2.1107.5.99.3\_MR\_2021-01-13\_155821\_T1.phantoms.T1.phantoms\_COR.T2\_n40\_\_00000/1.3.12.2.1107.5.2.50.175831.30000021011315594330500000046.dcm”  
DCMTK says: No such file or directory  
[WARNING][Qt] 25.01.2021 13:49:01 [] (unknown:0) - Could not read DICOM file:H:/Berbeco Lab/Studies/AGuIX/Ratio\_AGuIX-Bi/MRI Data/MRI Linac/MRI\_Data\_Slicer/Agar.samples.01132021\_2021.01.13-15.58.20-STD-1.3.12.2.1107.5.99.3\_MR\_2021-01-13\_155821\_T1.phantoms.T1.phantoms\_COR.T2\_n40\_\_00000/1.3.12.2.1107.5.2.50.175831.30000021011315594330500000046.dcm

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [January 25, 2021, 8:36pm UTC](https://discourse.slicer.org/t/dicom-import-error/15665/2 "2021-01-25T20:36:17Z")

</div>

[https://slicer.readthedocs.io/en/latest/user\_guide/modules/dicom.html#troubleshooting](https://slicer.readthedocs.io/en/latest/user_guide/modules/dicom.html#troubleshooting)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 25, 2021, 8:38pm UTC](https://discourse.slicer.org/t/dicom-import-error/15665/3 "2021-01-25T20:38:23Z")

</div>

Probably file path is too long. You need special programming techniques to access filenames longer than 250 characters on Windows.

Latest Slicer Preview Release is a bit more robust to very long filenames, so if you use that then it may be enough to move the files from `H:/Berbeco Lab/Studies/AGuIX/Ratio_AGuIX-Bi/MRI Data/MRI Linac/MRI_Data_Slicer` to `C:\tmp` and import from there.

If these don’t help then follow instructions in the link that @pieper provided above.

---

<div class="post-metadata">

**Author:** ![nav](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nav/32/9659_2.png) [@nav](https://discourse.slicer.org/u/nav)\
**Post date:** [January 25, 2021, 9:43pm UTC](https://discourse.slicer.org/t/dicom-import-error/15665/4 "2021-01-25T21:43:03Z")

</div>

Shortening the file path/file name allowed me to import the data. Thank you!
