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

SliceTracker does not work on 4.11.20200930 #358

Open
tokjun opened this issue Oct 8, 2020 · 1 comment
Open

SliceTracker does not work on 4.11.20200930 #358

tokjun opened this issue Oct 8, 2020 · 1 comment

Comments

@tokjun
Copy link
Collaborator

tokjun commented Oct 8, 2020

SliceTracker does not load on the new release (4.11.20200930).

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/junichi/slicer/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/imp.py", line 170, in load_source
    module = _exec(spec, sys.modules[name])
  File "<frozen importlib._bootstrap>", line 618, in _exec
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/junichi/.config/NA-MIC/Extensions-29402/DeepInfer/lib/Slicer-4.11/qt-scripted-modules/DeepInfer.py", line 1, in <module>
    import Queue
ModuleNotFoundError: No module named 'Queue'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/junichi/slicer/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/imp.py", line 170, in load_source
    module = _exec(spec, sys.modules[name])
  File "<frozen importlib._bootstrap>", line 618, in _exec
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/junichi/.config/NA-MIC/Extensions-29402/SliceTracker/lib/Slicer-4.11/qt-scripted-modules/SliceTracker.py", line 6, in <module>
    from SliceTrackerUtils.configuration import SliceTrackerConfiguration
  File "/home/junichi/.config/NA-MIC/Extensions-29402/SliceTracker/lib/Slicer-4.11/qt-scripted-modules/SliceTrackerUtils/configuration.py", line 1, in <module>
    import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/junichi/slicer/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/imp.py", line 170, in load_source
    module = _exec(spec, sys.modules[name])
  File "<frozen importlib._bootstrap>", line 618, in _exec
  File "<frozen importlib._bootstrap_external>", line 674, in exec_module
  File "<frozen importlib._bootstrap_external>", line 781, in get_code
  File "<frozen importlib._bootstrap_external>", line 741, in source_to_code
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/junichi/.config/NA-MIC/Extensions-29402/SliceTracker/lib/Slicer-4.11/qt-scripted-modules/SliceTrackerRegistration.py", line 309
    raise AttributeError, "File not found: %s" % inputFile
                        ^
SyntaxError: invalid syntax
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/junichi/slicer/Slicer-4.11.20200930-linux-amd64/lib/Python/lib/python3.6/imp.py", line 170, in load_source
    module = _exec(spec, sys.modules[name])
  File "<frozen importlib._bootstrap>", line 618, in _exec
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/junichi/.config/NA-MIC/Extensions-29402/SliceTracker/lib/Slicer-4.11/qt-scripted-modules/SurfaceCutToLabel.py", line 11, in <module>
    from SegmentEditorSurfaceCutLib import SurfaceCutLogic
  File "/home/junichi/.config/NA-MIC/Extensions-29402/SegmentEditorExtraEffects/lib/Slicer-4.11/qt-scripted-modules/SegmentEditorSurfaceCutLib/__init__.py", line 4, in <module>
    from SegmentEditorEffect import *
ModuleNotFoundError: No module named 'SegmentEditorEffect'
TypeError: module.__init__() argument 1 must be str, not qSlicerScriptedLoadableModule

See also
https://discourse.slicer.org/t/slicetracker-module-cannot-be-loaded-on-slicer-4-11-20200930/13895

tokjun added a commit to tokjun/SliceTracker that referenced this issue Oct 8, 2020
tokjun added a commit to tokjun/SliceTracker that referenced this issue Oct 9, 2020
…porting error for SegmentEditorSurfaceCut without changing the SegmentEditorExtraEffects.
tokjun added a commit to tokjun/SlicerDevelopmentToolbox that referenced this issue Oct 9, 2020
tokjun added a commit to tokjun/SlicerDevelopmentToolbox that referenced this issue Oct 9, 2020
tokjun added a commit to tokjun/SliceTracker that referenced this issue Oct 9, 2020
tokjun added a commit to tokjun/SliceTracker that referenced this issue Oct 9, 2020
tokjun added a commit to tokjun/SliceTracker that referenced this issue Oct 10, 2020
tokjun added a commit to tokjun/mpReview that referenced this issue Oct 13, 2020
tokjun added a commit to tokjun/SlicerDevelopmentToolbox that referenced this issue Oct 14, 2020
tokjun added a commit to tokjun/SliceTracker that referenced this issue Oct 14, 2020
@tokjun
Copy link
Collaborator Author

tokjun commented Oct 14, 2020

The module is working with a4e30e4 and QIICR/SlicerDevelopmentToolbox@fad9658 but has some limitations:

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