# Error running Elastix

**URL:** <https://discourse.slicer.org/t/error-running-elastix/33735>\
**Category:** Community\
**Created:** [January 11, 2024, 4:22pm UTC](https://discourse.slicer.org/t/error-running-elastix/33735 "2024-01-11T16:22:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiaoshideshun](https://avatars.discourse-cdn.com/v4/letter/x/258eb7/32.png) [@xiaoshideshun](https://discourse.slicer.org/u/xiaoshideshun)\
**Post date:** [January 11, 2024, 4:22pm UTC](https://discourse.slicer.org/t/error-running-elastix/33735/1 "2024-01-11T16:22:46Z")

</div>

There is a bug in the registration module. I don’t know how to deal with it. Please give me some advice.

> **Original text in Chinese**
>
> 配准模块出现bug，不知道如何处理，请各位大佬支个招

Traceback (most recent call last):  
File “D:\Slicer\Slicer 5.2.2\bin\Python\slicer\util.py”, line 2967, in tryWithErrorDisplay  
yield  
File “D:/Slicer/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerElastix/lib/Slicer-5.2/qt-scripted-modules/Elastix.py”, line 241, in onApplyButton  
self.logic.registerVolumesUsingParameterNode(self.\_parameterNode)  
File “D:/Slicer/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerElastix/lib/Slicer-5.2/qt-scripted-modules/Elastix.py”, line 518, in registerVolumesUsingParameterNode  
self.registerVolumes(  
File “D:/Slicer/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerElastix/lib/Slicer-5.2/qt-scripted-modules/Elastix.py”, line 564, in registerVolumes  
self.logProcessOutput(elastixProcess)  
File “D:/Slicer/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerElastix/lib/Slicer-5.2/qt-scripted-modules/Elastix.py”, line 499, in logProcessOutput  
raise subprocess.CalledProcessError(return\_code, “elastix”)  
subprocess.CalledProcessError: Command ‘elastix’ returned non-zero exit status 4294967294.

---

<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:** [January 11, 2024, 5:14pm UTC](https://discourse.slicer.org/t/error-running-elastix/33735/2 "2024-01-11T17:14:07Z")

</div>

Thank you for reporting. The issue is already tracked here:

> <https://github.com/lassoan/SlicerElastix/issues/44>
>
> Have this issue on macbook air 15inch M2 (Macos 14.0). Please Help!
> 
> Details:
> …
> \`Traceback (most recent call last):
> File “/Applications/Slicer.app/Contents/bin/Python/slicer/util.py”, line 3146, in tryWithErrorDisplay
> yield
> File “/Applications/Slicer.app/Contents/Extensions-32158/SlicerElastix/lib/Slicer-5.5/qt-scripted-modules/Elastix.py”, line 241, in onApplyButton
> self.logic.registerVolumesUsingParameterNode(self.\_parameterNode)
> File “/Applications/Slicer.app/Contents/Extensions-32158/SlicerElastix/lib/Slicer-5.5/qt-scripted-modules/Elastix.py”, line 518, in registerVolumesUsingParameterNode
> self.registerVolumes(
> File “/Applications/Slicer.app/Contents/Extensions-32158/SlicerElastix/lib/Slicer-5.5/qt-scripted-modules/Elastix.py”, line 564, in registerVolumes
> self.logProcessOutput(elastixProcess)
> File “/Applications/Slicer.app/Contents/Extensions-32158/SlicerElastix/lib/Slicer-5.5/qt-scripted-modules/Elastix.py”, line 499, in logProcessOutput
> raise subprocess.CalledProcessError(return\_code, “elastix”)
> subprocess.CalledProcessError: Command ‘elastix’ died with \<Signals.SIGABRT: 6\>.

Note for the future: Since we don’t have automatic translation available on this forum yet, if you want to use a different language than English, please use an automatic translation service (there are dozens of free services) and use that text in your post. If you want, in addition to the English translation you can also include the original text like this:

```auto
[details="Original text in Chinese"]
This is the text in your native language. The section will be collapsed by default and readers can click on it to view it.
[/details]

```
