ResectionPlanner

Hi,
I am unable to download the extension inside 3d slicer ResectionPlanner.
Could you please help.

Regards,
Saima Safdar

[GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux2

Traceback (most recent call last):
File “”, line 1, in
File “/home/saima/Downloads/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 “”, line 618, in _exec
File “”, line 674, in exec_module
File “”, line 781, in get_code
File “”, line 741, in source_to_code
File “”, line 219, in _call_with_frames_removed
File “/home/saima/.config/NA-MIC/Extensions-29402/ResectionPlanner/lib/Slicer-4.11/qt-scripted-modules/ResectionVolume.py”, line 229
except Exception, e:
^
SyntaxError: invalid syntax

1 Like

The resection planner modules has not yet been updated to Python3 syntax. If you can, please fix the syntax errors and send a pull request with the proposed changes. If you google for the syntax error then usually you can find the instructions how to fix it but if you get stuck with any particular change then let us know.

1 Like

Hi, is this problem fixed yet? Since, I installed the Resection Planner Extension, it won’t show up in my available modules. Looking forward to hearing from you!

Hi,
I just went to page

I used the logic implemented.

Regards,
Saima Safdar