# Unable to export segmentation object

**URL:** https://discourse.slicer.org/t/unable-to-export-segmentation-object/33146
**Category:** Support
**Created:** [November 30, 2023, 1:55pm UTC](https://discourse.slicer.org/t/unable-to-export-segmentation-object/33146 "2023-11-30T13:55:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![arfei1234](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/arfei1234/32/66238_2.png) [@arfei1234](https://discourse.slicer.org/u/arfei1234)
#### Post date: [November 30, 2023, 1:55pm UTC](https://discourse.slicer.org/t/unable-to-export-segmentation-object/33146/1 "2023-11-30T13:55:38Z")

</div>

Hi,

I’ve been trying to export my segmentation object as dicom and am unable to do so.  
I am using the latest nightly build 5.7.0 and the latest SlicerRT and Quantitative Reporting plugin with all the dependencies.

I have tried to reinstall Slicer and reset the config file, but still unable to export the seg obj. Scalar volume and all other DICOM export function works

Heres the error:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/6/76e7ceaa15e49ad847fbbf6c1c25936f1a2cbfc0.jpeg)

Error log:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/f/efaecd070e3b6ffefdbe2a0a1a363ff1c4058ced.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/0/70f563d6fbf74876b0846720718ca4470f169c14.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/f/b/fb995acae1a9565967f07cbff212592212fe757d.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/3/1394308270933d823c5279adeb47c0ae45f81114.jpeg)

Thanks a lot!

---

<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: [November 30, 2023, 2:01pm UTC](https://discourse.slicer.org/t/unable-to-export-segmentation-object/33146/2 "2023-11-30T14:01:25Z")

</div>

It seems that the terminology is somehow invalid. If you double-click the color for your segments, does the correct terminology appear in every case, or does it default to something?

---

<div class="post-metadata">

### Author: ![arfei1234](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/arfei1234/32/66238_2.png) [@arfei1234](https://discourse.slicer.org/u/arfei1234)
#### Post date: [December 1, 2023, 1:09am UTC](https://discourse.slicer.org/t/unable-to-export-segmentation-object/33146/3 "2023-12-01T01:09:55Z")

</div>

Hi，

I checked the terminology and assigned to correct category. However this did not fix the issue. Seems the terminology was not the issue.

I check the error log and found SlicerRTimport export plugin was not detected

Error log:  
DICOM Plugin failed: module ‘modules’ has no attribute ‘dicomrtimportexport’

Traceback (most recent call last):  
File “/Applications/Slicer.app/Contents/lib/Slicer-5.4/qt-scripted-modules/DICOMLib/DICOMUtils.py”, line 744, in getLoadablesFromFileLists  
loadablesByPlugin[plugin] = plugin.examineForImport(fileLists)  
File “/Applications/Slicer.app/Contents/Extensions-31938/SlicerRT/lib/Slicer-5.4/qt-scripted-modules/DicomRtImportExportPlugin.py”, line 41, in examineForImport  
slicer.modules.dicomrtimportexport.logic().ExamineForLoad(vtkFileList, loadablesCollection)  
AttributeError: module ‘modules’ has no attribute ‘dicomrtimportexport’

Traceback (most recent call last):  
File “/Applications/Slicer.app/Contents/lib/Slicer-5.4/qt-scripted-modules/DICOMLib/DICOMUtils.py”, line 744, in getLoadablesFromFileLists  
loadablesByPlugin[plugin] = plugin.examineForImport(fileLists)  
File “/Applications/Slicer.app/Contents/Extensions-31938/SlicerRT/lib/Slicer-5.4/qt-scripted-modules/DicomSroImportExportPlugin.py”, line 40, in examineForImport  
slicer.modules.dicomsroimportexport.logic().ExamineForLoad(vtkFileList, loadablesCollection)  
AttributeError: module ‘modules’ has no attribute ‘dicomsroimportexport’

Is the SlicerRT import export module critical for Seg Object export? I have ensured that SlicerRT plugin has been installed and enabled. Is it possible to install the plugin from file?

Thanks
