Hi
I have an issue that I dont know the reason. No new modules was installed, dataset are the same, and pretty much everything but the Crop Volume module is not working.
Here are the codes
Python 3.9.10 (main, Apr 5 2024, 01:02:26) [MSC v.1938 64 bit (AMD64)] on win32
Failed to load vtkSlicerCrossSectionAnalysisModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython
Failed to load vtkSlicerStenosisMeasurement3DModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython
Traceback (most recent call last):
File “”, line 1, in
File “C:\Slicer 5.6.2\lib\Python\Lib\imp.py”, line 169, in load_source
module = _exec(spec, sys.modules[name])
File “”, line 613, in _exec
File “”, line 850, in exec_module
File “”, line 228, in call_with_frames_removed
File “C:/Slicer 5.6.2/slicer.org/Extensions-32448/TCIABrowser/lib/Slicer-5.6/qt-scripted-modules/TCIABrowser.py”, line 23, in
from TCIABrowserLib import TCIAClient
File “C:\Slicer 5.6.2\slicer.org\Extensions-32448\TCIABrowser\lib\Slicer-5.6\qt-scripted-modules\TCIABrowserLib\TCIAClient.py”, line 7, in
import tcia_utils.nbia
File "C:\Slicer 5.6.2\lib\Python\Lib\site-packages\tcia_utils_init.py", line 1, in
from . import nbia
File “C:\Slicer 5.6.2\lib\Python\Lib\site-packages\tcia_utils\nbia.py”, line 111
if ‘token_exp_time’ in globals() and datetime.now() > token_exp_time:
^
IndentationError: unindent does not match any outer indentation level
TODO: implement cloud fingerprint store
[Qt] loadSourceAsModule - Failed to load file “C:/Slicer 5.6.2/slicer.org/Extensions-32448/TCIABrowser/lib/Slicer-5.6/qt-scripted-modules/TCIABrowser.py” as module “TCIABrowser” !
[Qt] Fail to instantiate module “TCIABrowser”
[Qt] Error(s):
[Qt] CLI executable: C:/Slicer 5.6.2/slicer.org/Extensions-32448/SlicerVMTK/lib/Slicer-5.6/qt-loadable-modules/vtkvmtk.py
[Qt] The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.
[Qt] Fail to instantiate module “vtkvmtk”
[Qt] The following modules failed to be instantiated:
[Qt] vtkvmtk
[Qt] TCIABrowser
[Qt] When loading module “ParticlesDisplay” , the dependency “TractographyDisplay” failed to be loaded.
[VTK] There is more than one file, use the vtkITKArchetypeImageSeriesReader instead
[ITK] WARNING: In D:\D\S\S-0-build\ITK\Modules\IO\ImageBase\include\itkImageSeriesReader.hxx, line 478
[ITK] ImageSeriesReader (0000027FF1EEB030): Non uniform sampling or missing slices detected, maximum nonuniformity:0.000249973
[Qt] QLayout::addChildLayout: layout “” already has a parent
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
[VTK] Resample Scalar/Vector/DWI Volume terminated with an unknown exception
[VTK] Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000027F8608A520) has 0 connections but is not optional.
[VTK] Input port 0 of algorithm vtkImageThreshold (00000280357B55C0) has 0 connections but is not optional.
[VTK] Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000027F8608A520) has 0 connections but is not optional.
[VTK] Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000027F8608A520) has 0 connections but is not optional.
[VTK] Input port 0 of algorithm vtkImageThreshold (00000280357B55C0) has 0 connections but is not optional.
[VTK] Input port 0 of algorithm vtkImageMapToWindowLevelColors (0000027F8608A520) has 0 connections but is not optional.
[Qt] ctkSliderWidget::setSingleStep() 0 is out of bounds. 0 100 1
It seems your log only includes errors, but it would be useful to see the whole thing to know at which point you switched to the Crop volumes module. Can you please provide the entire log file? Preferably of a run where you didn’t do much else (I see TCIA browser errors and Resample scalar volume runs etc as well).
Hello
Thank you very much for your response.
The extra modules were errors caused by Slicer not being able to execute the extensions. I am no expert, but I believe the proxy settings might be the issue. However, I could be wrong.
The first thing I see on the console is: [Qt] When loading module “ParticlesDisplay” , the dependency “TractographyDisplay” failed to be loaded. This is a new error that I am receving and I am not sure why. Dataset that I am using has not changed. Slicer version has also remained the same.
I tried the sample data, the crop functions works and a new volume is generated but even at 0.5, 0.2, or 0.1 spacing or using different interpolators, the new cropped remains intact. In other words, the resolution does not change.
From what I know, lower spacing requires more calculations and more memory. The computer that I am working with doesnt have other softwares and applications and is only used for Slicer.
My goal to use this module is to increase the resolution. Is there any suggestions for this purpose?
Thanks for the complete log. You’re right, a module fails to load. Can you try to reinstall it in Extensions Manager? Are there any errors during/after installation?
The CropVolumes module should not be impacted by this extension loading issue and should work. As far as I know the module never fails the way you describe (i.e. that the output is simply the same as the input). Do you have a log showing this? A video would help too.