Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error if fixed and moving volumes are not set #5

Open
lassoan opened this issue Sep 11, 2019 · 0 comments
Open

Error if fixed and moving volumes are not set #5

lassoan opened this issue Sep 11, 2019 · 0 comments

Comments

@lassoan
Copy link
Member

lassoan commented Sep 11, 2019

The following error occurs if trying to register segments without selecting fixed and moving image:

[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - Session start time .......: 2019-09-11 09:01:54
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - Slicer version ...........: 4.10.2 (revision 28257) win-amd64 - installed release
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - Operating system .........: Windows /  Professional /  (Build 9200) - 64-bit
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - Memory ...................: 32590 MB physical, 37454 MB virtual
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - CPU ......................: GenuineIntel , 12 cores, 12 logical processors
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - VTK configuration ........: OpenGL2 rendering, TBB threading
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - Developer mode enabled ...: yes
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - Prefer executable CLI ....: yes
[DEBUG][Qt] 11.09.2019 09:01:54 [] (unknown:0) - Additional module paths ..:
...
[DEBUG][Qt] 11.09.2019 09:02:27 [] (unknown:0) - Switch to module:  "SegmentRegistration"
[DEBUG][Qt] 11.09.2019 09:02:35 [] (unknown:0) - Switch to module:  "Data"
[DEBUG][Qt] 11.09.2019 09:02:39 [] (unknown:0) - Switch to module:  "SegmentRegistration"
[INFO][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:367) - Performing registration workflow
[INFO][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:376) - Cropping moving volume
[ERROR][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:378) - Unable to access MR volume or segmentation
[INFO][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:433) - Pre-aligning segmentations
[ERROR][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:435) - Invalid data selection
[INFO][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:494) - Resampling fixed volume
[ERROR][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:496) - Unable to access fixed volume
[INFO][Python] 11.09.2019 09:02:49 [Python] (C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py:528) - Creating contour labelmaps
[INFO][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Performing registration workflow
[INFO][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Cropping moving volume
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Unable to access MR volume or segmentation
[INFO][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Pre-aligning segmentations
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Invalid data selection
[INFO][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Resampling fixed volume
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Unable to access fixed volume
[INFO][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Creating contour labelmaps
[WARNING][VTK] 11.09.2019 09:02:49 [] (unknown:0) - Generic Warning: In D:\D\S\Slicer-4102\Modules\Loadable\Segmentations\Logic\vtkSlicerSegmentationsModuleLogic.cxx, line 389
vtkSlicerSegmentationsModuleLogic::CreateOrientedImageDataFromVolumeNode: Invalid volume node
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) - Traceback (most recent call last):
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) -   File "C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py", line 256, in onPerformRegistration
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) -     if self.logic.performRegistration():
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) -   File "C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py", line 371, in performRegistration
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) -     self.createContourLabelmaps()
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) -   File "C:/Users/andra/AppData/Roaming/NA-MIC/Extensions-28257/SegmentRegistration/lib/Slicer-4.10/qt-scripted-modules/SegmentRegistration.py", line 560, in createContourLabelmaps
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) -     movingAnatomyOrientedImageData.UnRegister(None)
[CRITICAL][Stream] 11.09.2019 09:02:49 [] (unknown:0) - AttributeError: 'NoneType' object has no attribute 'UnRegister'

No registration is computed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant