# Total Segmentator not working

**URL:** <https://discourse.slicer.org/t/total-segmentator-not-working/43506>\
**Category:** Support\
**Created:** [June 26, 2025, 5:41pm UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506 "2025-06-26T17:41:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [June 26, 2025, 5:41pm UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506/1 "2025-06-26T17:41:38Z")

</div>

Hi, Total Segmentator worked just fine in my laptop but suddenly it stopped working

|Processor|13th Gen Intel(R) Core™ i9-13980HX 2.20 GHz|  
|Installed RAM|64.0 GB |  
NVIDIA RTX 4080 12GB

```auto
Traceback (most recent call last):
  File "C:\Users\Manjula Herath\AppData\Local\slicer.org\Slicer 5.8.1\bin\Python\slicer\util.py", line 3303, in tryWithErrorDisplay
    yield
  File "C:/Users/Manjula Herath/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/TotalSegmentator/lib/Slicer-5.8/qt-scripted-modules/TotalSegmentator.py", line 309, in onApplyButton
    self.logic.process(self.ui.inputVolumeSelector.currentNode(), self.ui.outputSegmentationSelector.currentNode(),
  File "C:/Users/Manjula Herath/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/TotalSegmentator/lib/Slicer-5.8/qt-scripted-modules/TotalSegmentator.py", line 1054, in process
    self.processVolume(inputFile, inputVolume,
  File "C:/Users/Manjula Herath/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/TotalSegmentator/lib/Slicer-5.8/qt-scripted-modules/TotalSegmentator.py", line 1119, in processVolume
    self.log(_("Total Segmentator arguments: {options}").format(options))
KeyError: 'options'

```

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/4/649b3581b35f4d133d02d7d516b3c9c12f7887a3.png)

I have Cuda compilation tools, release 12.8, V12.8.61  
Build cuda\_12.8.r12.8/compiler.35404655\_0

I have tried uninstalling and deleting and fresh install and pretty much everything mentioned on the forum.

Thank you

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [June 26, 2025, 5:56pm UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506/2 "2025-06-26T17:56:03Z")

</div>

Appears to be a result of some recent changes in the following commit:

> <https://github.com/lassoan/SlicerTotalSegmentator/commit/0b1e90024242d18e36ae274b0685e9c4336b1c0e>

I have asked the developer of the commit to address the issue:

> <https://github.com/lassoan/SlicerTotalSegmentator/pull/74#issuecomment-3009320618>
>
> There appears to be some string formatting issues due to changes in this PR. See… https://discourse.slicer.org/t/total-segmentator-not-working/43506.
> 
> @LuskasHusty Can you take a look and resolve?

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [June 26, 2025, 6:01pm UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506/3 "2025-06-26T18:01:40Z")

</div>

thank you so much James… 😃

---

<div class="post-metadata">

**Author:** ![DouSam](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/dousam/32/79250_2.png) [@DouSam](https://discourse.slicer.org/u/DouSam)\
**Post date:** [June 26, 2025, 8:56pm UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506/4 "2025-06-26T20:56:58Z")

</div>

Hi everyone, we have committed a fix. Probably in the next nightly build (if you installed using the Extension Manager), the extension will run without errors.

---

<div class="post-metadata">

**Author:** ![Carl\_Glessgen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/carl_glessgen/32/80522_2.png) [@Carl\_Glessgen](https://discourse.slicer.org/u/Carl_Glessgen)\
**Post date:** [June 27, 2025, 10:09am UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506/5 "2025-06-27T10:09:09Z")

</div>

Hello

Hello, where can one download the new version [c2aaf8f] ([COMP: Fix recently introduced syntax errors · lassoan/SlicerTotalSegmentator@c2aaf8f · GitHub](https://github.com/lassoan/SlicerTotalSegmentator/commit/c2aaf8fd6322deef35eabeeceef426f5f238337d)) mentionned ? The plugin from Slicer’s extension manager is still [2baf4d4](https://github.com/lassoan/SlicerTotalSegmentator/commit/2baf4d4f13989a307080cbd0bd582da3e79d44e6).

In short, the problem is still the same for me than the one presented above, with the KeyError ‘options’

Thanks for your help

---

<div class="post-metadata">

**Author:** ![Carl\_Glessgen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/carl_glessgen/32/80522_2.png) [@Carl\_Glessgen](https://discourse.slicer.org/u/Carl_Glessgen)\
**Post date:** [June 27, 2025, 2:19pm UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506/6 "2025-06-27T14:19:36Z")

</div>

So in the meatime I’ve made the changes suggested by the latest fix directly in the TotalSegmentator.py file (Contents/Extensions-33241/TotalSegmentator/lib/Slicer-5.8/qt-scripted-modules/).

Then I got the following line in the error traceback:  
pkg\_resources.DistributionNotFound: The ‘pyarrow’ distribution was not found and is required by TotalSegmentator

Solved it by adding the package directly into Slicer’s Python (sudo /Applications/Slicer.app/Contents/bin/PythonSlicer -m pip install pyarrow xvfbwrapper)

Works fine now !

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [June 27, 2025, 7:39pm UTC](https://discourse.slicer.org/t/total-segmentator-not-working/43506/7 "2025-06-27T19:39:19Z")

</div>

Works out of the box with Slicer 5.9.0 revision 33722 built 2025-06-27 .Thank you @DouSam and @jamesobutler
