# slicer.dicomDatabase is 'Nonetype'

**URL:** <https://discourse.slicer.org/t/slicer-dicomdatabase-is-nonetype/13954>\
**Category:** Support\
**Tags:** dicom, python\
**Created:** [October 9, 2020, 1:11pm UTC](https://discourse.slicer.org/t/slicer-dicomdatabase-is-nonetype/13954 "2020-10-09T13:11:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CHEN\_LIU](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chen_liu/32/8391_2.png) [@CHEN\_LIU](https://discourse.slicer.org/u/CHEN_LIU)\
**Post date:** [October 9, 2020, 1:11pm UTC](https://discourse.slicer.org/t/slicer-dicomdatabase-is-nonetype/13954/1 "2020-10-09T13:11:58Z")

</div>

I was trying to use python script to transfer Dicom to nrrd. But the code ‘slicer.dicomDatabase.fileValue’ doesn’t work. It reports ‘Nonetype’ has no attribute fileValue.

 ![WechatIMG18733](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/b/4b9eebc4a0eda33de6604fad5bd2c173cea6293c.jpeg)  
Does anyone know what’s the problem and how to fix it?

---

<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:** [October 9, 2020, 1:13pm UTC](https://discourse.slicer.org/t/slicer-dicomdatabase-is-nonetype/13954/2 "2020-10-09T13:13:50Z")

</div>

The code snippet in the script repository works with latest version of Slicer.
