KitwareMedical / KitwareMedical/SlicerTrame
SlicerTrame server does not start
- Dominant language
- Python
- Stars
- 7
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
After clicking "Start Server" in SlicerTrameServer module, I get the following error and the server does not start:
```
qSlicerMarkupsModulePrivate::addToolBar: no main window is available, toolbar is not added
qSlicerSequencesModulePrivate::addToolBar: no main window is available, toolbar is not added
Loading Slicer RC file [C:/Users/andra/.slicerrc.py]
Traceback (most recent call last):
File "", line 5, in
File "", line 10, in
File "C:\D/trame-slicer/examples\widgets\__init__.py", line 7, in
from .tools_strip import ToolsStrip
File "C:\D/trame-slicer/examples\widgets\tools_strip.py", line 11, in
from .segmentation_button import SegmentationButton
File "C:\D/trame-slicer/examples\widgets\segmentation_button.py", line 22, in
from trame_slicer.segmentation import (
ImportError: cannot import name 'SegmentationEffectID' from 'trame_slicer.segmentation' (C:\Users\andra\AppData\Local\slicer.org\3D Slicer 5.11.0-2025-12-09\lib\Python\Lib\site-packages\trame_slicer\segmentation\__init__.py). Did you mean: 'SegmentationEffect'?
```
The same happened when I tried with Slicer-5.10.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with examples/widgets/segmentation_button.py and examples/widgets/__init__.py, then inspect the trame_slicer.segmentation package named in the traceback to compare the requested import with the installed package. Reproduce the Start Server action in Slicer 5.10 or 5.11; done means SlicerTrameServer starts without the ImportError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100