# Slicer Elastix Error Code: 4294967294

**URL:** https://discourse.slicer.org/t/slicer-elastix-error-code-4294967294/25574
**Category:** Support
**Created:** [October 6, 2022, 2:01pm UTC](https://discourse.slicer.org/t/slicer-elastix-error-code-4294967294/25574 "2022-10-06T14:01:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![oliverhalaseh](https://avatars.discourse-cdn.com/v4/letter/o/e9a140/32.png) [@oliverhalaseh](https://discourse.slicer.org/u/oliverhalaseh)
#### Post date: [October 6, 2022, 2:01pm UTC](https://discourse.slicer.org/t/slicer-elastix-error-code-4294967294/25574/1 "2022-10-06T14:01:50Z")

</div>

Dear All,

I started work on [SlicerSegmentationRecipes/VesselSegmentationBySubtraction at master · lassoan/SlicerSegmentationRecipes · GitHub](https://github.com/lassoan/SlicerSegmentationRecipes/tree/master/VesselSegmentationBySubtraction)  
I tried to run the Elastix module, but I keep getting the same error :  
Error: Command ‘elastix’ returned non-zero exit status 4294967294.  
It occurs in both the Stable(5.0.3) and the Preview Release.  
Do you have any solution for it?

Thank You in advance,

Oliver Faris Halaseh

---

<div class="post-metadata">

### Author: ![PalkoD](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@PalkoD](https://discourse.slicer.org/u/PalkoD)
#### Post date: [April 20, 2023, 3:39pm UTC](https://discourse.slicer.org/t/slicer-elastix-error-code-4294967294/25574/2 "2023-04-20T15:39:13Z")

</div>

Dear All,

I got the same error message: “Command ‘elastix’ returned non-zero exit status 4294967294.”  
I am using Windows 10 and Slicer version 5.2.2.

This is the error message from the Python window

[FD] ERROR: the output directory "C:\Users\Palkovics Dániel\AppData\Local\Temp\Slicer\Elastix\20230420\_172652\_127\result-transform" does not exist.  
[FD] You are responsible for creating it.  
Traceback (most recent call last):  
File “C:/Slice/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerElastix/lib/Slicer-5.2/qt-scripted-modules/Elastix.py”, line 341, in onApplyButton  
self.logic.registerVolumes(self.fixedVolumeSelector.currentNode(), self.movingVolumeSelector.currentNode(),  
File “C:/Slice/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerElastix/lib/Slicer-5.2/qt-scripted-modules/Elastix.py”, line 635, in registerVolumes  
self.logProcessOutput(ep)  
File “C:/Slice/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerElastix/lib/Slicer-5.2/qt-scripted-modules/Elastix.py”, line 557, in logProcessOutput  
raise subprocess.CalledProcessError(return\_code, “elastix”)  
subprocess.CalledProcessError: Command ‘elastix’ returned non-zero exit status 4294967294.

Is there a solution to this on Windows?

Thank you very much

Daniel

---

<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: [April 20, 2023, 4:49pm UTC](https://discourse.slicer.org/t/slicer-elastix-error-code-4294967294/25574/3 "2023-04-20T16:49:18Z")

</div>

Can you check if installing Slicer in a folder that only contains ASCII characters (no accented characters such as `á`) makes any difference?  
Does registration work between `MRBrainTumor1` and `MRBrainTumor2` sample data sets?
