SlicerMONAIViz
SlicerMONAIViz copied to clipboard
[Linux] cannot edit transform
I was able to install it on Linux, but when trying to edit transform, I am getting the following error:
Selected Transform for Edit: 0
Traceback (most recent call last):
File "/home/herzc/Slicer-5.4.0-linux-amd64/slicer.org/Extensions-31938/MONAIViz/lib/Slicer-5.4/qt-scripted-modules/MONAIViz.py", line 398, in onEditTransform
with open(doc_html, "wb", encoding="utf-8") as fp:
ValueError: binary mode doesn't take an encoding argument
Can you try the fix by removing encoding? If that works, please raise a PR support the fix for other users.
Hitting this in latest release of Slicer, Linux (5.6.1)
@phcerdan Worked for me by removing the encoding for slicer 5.4.0. Thanks @SachidanandAlle