Comments (8)
It appears that the CrossSectionAnalysis module defines no other modules as a dependency (https://github.com/vmtk/SlicerExtension-VMTK/blob/1cfe4da260bab49a22ee0a740b87805f348230d8/CrossSectionAnalysis/CrossSectionAnalysis.py#L24) where listed dependent modules are loaded first prior to loading the specified module.
Although SlicerVMTK defines a dependency on ExtraMarkups in its s4ext file, that is only so that ExtraMarkups is automatically installed when installing SlicerVMTK from the extensions manager. It doesn’t specify the relation of modules in terms of loading dependency order.
from slicer.
It doesn’t specify the relation of modules in terms of loading dependency order.
I added 'ExtraMarkups' as a dependency in the relevant modules and things got worse, additional messages are in stdout:
When loading module "CrossSectionAnalysis" , the dependency "ExtraMarkups" failed to be loaded.
void ctkComboBox::setCurrentUserDataAsString(QString) : No item found with user data string "2"
When loading module "GuidedArterySegmentation" , the dependency "ExtraMarkups" failed to be loaded.
When loading module "StenosisMeasurement3D" , the dependency "ExtraMarkups" failed to be loaded.
All modules work as expected once Slicer is up.
Thank you for your reply @jamesobutler .
from slicer.
From my understanding “ExtraMarkups” is the extension name and not the module names. Where the CrossSectionAnalysis module may have a dependency on the “Shape” or “Label modules. In the module, the dependencies is other modules and not extensions.
from slicer.
the extension name and not the module names
You are right about this. However, using 'Shape' as module name does not cancel the original annoying stdout messages.
Failed to load vtkSlicerStenosisMeasurement3DModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython
Failed to load vtkSlicerCrossSectionAnalysisModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython
Error(s):
CLI executable: /home/user/programs/Slicer/slicer.org/Extensions-32703/SlicerVMTK/lib/Slicer-5.7/qt-loadable-modules/vtkvmtk.py
The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.
Fail to instantiate module "vtkvmtk"
The following modules failed to be instantiated:
vtkvmtk
void ctkComboBox::setCurrentUserDataAsString(QString) : No item found with user data string "2"
I think that the solution would be to load anything close to core, like additional markups, before loading usual extensions. This would require core developments, time, funding... ...
Thank you for your time.
from slicer.
Failed to load vtkSlicerStenosisMeasurement3DModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython
Failed to load vtkSlicerCrossSectionAnalysisModuleLogicPython: No module named vtkSlicerShapeModuleMRMLPython
These are due to #7579
CLI executable: /home/user/programs/Slicer/slicer.org/Extensions-32703/SlicerVMTK/lib/Slicer-5.7/qt-loadable-modules/vtkvmtk.py
The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program.
Fail to instantiate module "vtkvmtk"
The following modules failed to be instantiated:
vtkvmtk
This harmless error message is well known and it is safe to ignore. We can address it as VTK remote module Python wrapping and packaging is improved.
void ctkComboBox::setCurrentUserDataAsString(QString) : No item found with user data string "2"
You can add a breakpoint into this method to see what is the root cause.
from slicer.
Thank you @lassoan for addressing this with a PR.
The vtkvmtk message is indeed old and harmless.
The other one (::setCurrentUserDataAsString) appeared during tinkering, and does not appear otherwise. I'll get deeper into it if necessary.
from slicer.
Since 9c87503, the messages in stdout related to vtkSlicerShapeModuleMRMLPython are indeed gone.
('Fail to instantiate module "vtkvmtk"' still persists and was not the target of the patch.)
Thank you all.
from slicer.
Great, thank you for testing.
from slicer.
Related Issues (20)
- “Compare volumes” module permanently engulf working memory and processing units once used in a specific Slicer dataset. HOT 1
- Cannot start after setting language to Chinese HOT 5
- SlicerDMRI not building on mac SlicerStable HOT 5
- SlicerDMRI extension is not updating for 5.6.1 HOT 11
- Segmentation visibility settings can be confusing HOT 1
- 3D slicer quitting abruptly on arch linux. HOT 4
- ParameterNodeWrapper does not restore combobox choice HOT 1
- Enhance the security of Slicer by implementing a TEE using Gramine, an Intel SGX runtime. HOT 11
- ParameterNodeWrapper.disconnectGui does not disconnect from UI
- ParameterNodeWrapper adds same-named parameter for each node reference to vtkMRMLScriptedModuleNode
- The problem encountered when drawing the target area. HOT 1
- MIP volume rendering MIP does not appear if shadows visibility is enabled HOT 3
- "Select a Markup" in the markups toolbar cannot be translated
- Improve interaction handles HOT 18
- Editing Decimal Values in Transform Fields Causes Introduction of Negative
- Threshold Ranger Issue: Not Working When Saving and Restoring Scene with Segment Editor open
- Failed to import Python classes at startup
- Display warning when 3D image is saved as TIFF file HOT 2
- Add support for unregistering segment editor effects HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slicer.