Skip to content

SlicerTrame server does not start #3

@lassoan

Description

@lassoan

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 "<string>", line 5, in <module>
  File "<string>", line 10, in <module>
  File "C:\D/trame-slicer/examples\widgets\__init__.py", line 7, in <module>

    from .tools_strip import ToolsStrip
  File "C:\D/trame-slicer/examples\widgets\tools_strip.py", line 11, in <module>
    from .segmentation_button import SegmentationButton
  File "C:\D/trame-slicer/examples\widgets\segmentation_button.py", line 22, in <module>
    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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions