Skip to content

'Elastix' has no attribute 'RegistrationPresets_ParameterFilenames' #54

Description

@danielacpanciera

Hi all,

I recently installed Slicer 5.8.0 (and also 5.8.1) on my work's laptop and I am having the following issue with Elastix since the update on Mon Mar 03 2025.

[Python] Elastix primary method failed: module 'Elastix' has no attribute 'RegistrationPresets_ParameterFilenames'. Falling back to alternative method.
Traceback (most recent call last):
File "C:/Users/Public/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/OpenDose3D/lib/Slicer-5.8/qt-scripted-modules/OpenDose3D.py", line 1228, in onRunTestButton
self.test.FullTest_positive()
File "C:\Users\Public\AppData\Local\slicer.org\Slicer 5.8.1\slicer.org\Extensions-33241\OpenDose3D\lib\Slicer-5.8\qt-scripted-modules\Logic\OpenDose3DTest.py", line 542, in FullTest_positive
self.logic.createTransforms(referenceNode.data)
File "C:\Users\Public\AppData\Local\slicer.org\Slicer 5.8.1\slicer.org\Extensions-33241\OpenDose3D\lib\Slicer-5.8\qt-scripted-modules\Logic\OpenDose3DLogic.py", line 1097, in createTransforms
elastixLogic.registerVolumes(
File "C:/Users/Public/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/SlicerElastix/lib/Slicer-5.8/qt-scripted-modules/Elastix.py", line 581, in registerVolumes
self.logProcessOutput(elastixProcess)
File "C:/Users/Public/AppData/Local/slicer.org/Slicer 5.8.1/slicer.org/Extensions-33241/SlicerElastix/lib/Slicer-5.8/qt-scripted-modules/Elastix.py", line 527, in logProcessOutput
raise subprocess.CalledProcessError(return_code, "elastix")
subprocess.CalledProcessError: Command 'elastix' returned non-zero exit status 1.

On my personal laptop (Slicer 5.8.0) with Elastix updated on Fri Jan 24 2025 it is working fine.
Is there a way to install the previous Elastix version? I don't have permission to edit the files on my work's laptop.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions