# Error, export to DICOM

**URL:** https://discourse.slicer.org/t/error-export-to-dicom/12429
**Category:** Support
**Tags:** segmentation, dicom
**Created:** [July 7, 2020, 8:26pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429 "2020-07-07T20:26:40Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![cotozakot](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cotozakot](https://discourse.slicer.org/u/cotozakot)
#### Post date: [July 7, 2020, 8:26pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/1 "2020-07-07T20:26:40Z")

</div>

I want to export segmentation to a DICOM file. Unfortunately, an error appears all the time.

Warning: Warning: 718 of 718 selected files listed in the database cannot be found on disk.

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/e/8e8eb9c629c32ea1cfa4417a1ba6ddb92415279d.png)

---

<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: [July 7, 2020, 8:31pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/2 "2020-07-07T20:31:54Z")

</div>

Have you imported the data sets from removable storage (DVD, USB drive, external hard drive)? Do you still have it plugged in?

Which Slicer version do you use?

---

<div class="post-metadata">

### Author: ![cotozakot](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cotozakot](https://discourse.slicer.org/u/cotozakot)
#### Post date: [July 8, 2020, 6:52am UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/3 "2020-07-08T06:52:52Z")

</div>

Yes, I imported data from a disc. However, I have them in a folder on my computer. Version is 4.11.0

wt., 7 lip 2020, 22:42 użytkownik Andras Lasso via 3D Slicer Community \<[slicer@discoursemail.com](mailto:slicer@discoursemail.com)\> napisał:

---

<div class="post-metadata">

### Author: ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)
#### Post date: [July 8, 2020, 8:41am UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/4 "2020-07-08T08:41:57Z")

</div>

4.11.0 with which date?

Is it possible that a folder in the full path contains a non-ascii character? If so, can you try to import it from a folder the full path of which has only ascii characters and no spaces?

---

<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: [July 8, 2020, 12:08pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/5 "2020-07-08T12:08:32Z")

</div>

Please also upload the application log somewhere (menu: Help / Report a bug) and post the link here.

---

<div class="post-metadata">

### Author: ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)
#### Post date: [March 10, 2021, 8:08am UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/6 "2021-03-10T08:08:15Z")

</div>

I am facing a similar problem. How can this issue be corrected?

---

<div class="post-metadata">

### Author: ![cotozakot](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@cotozakot](https://discourse.slicer.org/u/cotozakot)
#### Post date: [March 10, 2021, 8:42am UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/7 "2021-03-10T08:42:28Z")

</div>

I am not able to help you. I have not solved this problem so far.  
Sylwia Bień

---

<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: [March 10, 2021, 4:27pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/8 "2021-03-10T16:27:04Z")

</div>

@Varsha If you use the latest Slicer Stable Release and still have problems with exporting DICOM then please describe what you did exactly, what you expected to happen, and what happened instead. Also post the application log here of a failed export (menu: Help / Report a bug).

---

<div class="post-metadata">

### Author: ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)
#### Post date: [March 11, 2021, 5:34pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/9 "2021-03-11T17:34:21Z")

</div>

When attempting to import DICOM images, the message displayed is 0 patients. Even after using DICOM patcher the problem is not corrected. On using other DICOm readers to import the images under Applications, the message displayed is Updating database and this continues for almost 6 hours before images are loaded.

---

<div class="post-metadata">

### Author: ![Varsha](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@Varsha](https://discourse.slicer.org/u/Varsha)
#### Post date: [March 11, 2021, 5:42pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/10 "2021-03-11T17:42:23Z")

</div>

DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Session start time …: 2021-03-11 22:42:54  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Slicer version …: 4.11.20200930 (revision 29402 / 002be18) win-amd64 - installed release  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Operating system …: Windows / Personal / (Build 19041, Code Page 65001) - 64-bit  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Memory …: 8107 MB physical, 13927 MB virtual  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - CPU …: GenuineIntel , 4 cores, 4 logical processors  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - VTK configuration …: OpenGL2 rendering, TBB threading  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Qt configuration …: version 5.15.1, with SSL, requested OpenGL 3.2 (compatibility profile)  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Developer mode enabled …: no  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Prefer executable CLI …: yes  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Application path …: C:/Users/Varsha Warrier/AppData/Local/NA-MIC/Slicer 4.11.20200930/bin  
[DEBUG][Qt] 11.03.2021 22:42:54 [] (unknown:0) - Additional module paths …: C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/AnglePlanesExtension/lib/Slicer-4.11/qt-scripted-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/BoneTextureExtension/lib/Slicer-4.11/cli-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/BoneTextureExtension/lib/Slicer-4.11/qt-scripted-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/SlicerRadiomics/lib/Slicer-4.11/cli-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/SlicerRadiomics/lib/Slicer-4.11/qt-scripted-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/SlicerRT/lib/Slicer-4.11/cli-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/SlicerRT/lib/Slicer-4.11/qt-loadable-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/SlicerRT/lib/Slicer-4.11/qt-scripted-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/EasyClip/lib/Slicer-4.11/qt-scripted-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/SlicerDevelopmentToolbox/lib/Slicer-4.11/qt-scripted-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/PETDICOMExtension/lib/Slicer-4.11/cli-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/PETDICOMExtension/lib/Slicer-4.11/qt-scripted-modules, C:/Users/Varsha Warrier/AppData/Roaming/NA-MIC/Extensions-29402/DCMQI/lib/Slicer-4.11/cli-modules  
[DEBUG][Python] 11.03.2021 22:42:58 [Python] (C:\Users\Varsha Warrier\AppData\Local\NA-MIC\Slicer 4.11.20200930\lib\Python\Lib\site-packages\pydicom\datadict.py:432) - Reversing DICOM dictionary so can look up tag from a keyword…  
[DEBUG][Python] 11.03.2021 22:42:59 [Python] (C:\Users\Varsha Warrier\AppData\Roaming\NA-MIC\Extensions-29402\SlicerRadiomics\Lib\site-packages\pykwalify\compat.py:20) - Using yaml library: C:\Users\Varsha Warrier\AppData\Roaming\NA-MIC\Extensions-29402\SlicerRadiomics\Lib\sit

---

<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: [March 24, 2021, 4:03pm UTC](https://discourse.slicer.org/t/error-export-to-dicom/12429/11 "2021-03-24T16:03:05Z")

</div>

If you can upload logs of an attempted DICOM import somewhere (dropbox, onedrive, etc.) and post the link here then we can investigate. If you can share the data set with us (upload somewhere and post the link) then we can ensure that Slicer’s importer works well with it.
