# TotalSegmentator error at first run: ‘DummyFile’ object has no attribute ‘flush’

**URL:** <https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-dummyfile-object-has-no-attribute-flush/28399>\
**Category:** Support\
**Tags:** segmentation, deep-learning\
**Created:** [March 15, 2023, 11:55am UTC](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-dummyfile-object-has-no-attribute-flush/28399 "2023-03-15T11:55:21Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![J\_UWA](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/j_uwa/32/65925_2.png) [@J\_UWA](https://discourse.slicer.org/u/J_UWA)\
**Post date:** [May 9, 2023, 4:02pm UTC](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-dummyfile-object-has-no-attribute-flush/28399/10 "2023-05-09T16:02:52Z")

</div>

I found your other post here.

> [@TotalSegmentator error at first run: Command ...Python\\Scripts\\TotalSegmentator... returned non-zero exit status 120](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-command-python-scripts-totalsegmentator-returned-non-zero-exit-status-120/26755/7):
>
> For the time being, since i have slicer installed in a computer which, by default, has no internet acess, i cannot download the sample data set and test TotalSegmentator with it. As soon as i have acess to internet, i will try. The messages that appear after the Apply button are as follows: Processing started Writing input file to C:/Users/Augusto/AppData/Local/Temp/Slicer/\_\_SlicerTemp\_\_2022-12-15\_21+10+39.789/total-segmentator-input.nii Creating segmentations with TotalSegmentator AI… Tota…

It’s been resolved. Thank you !

---

_[View the full topic](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-dummyfile-object-has-no-attribute-flush/28399)._
