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

[Linux] cannot edit transform #32

Open
che85 opened this issue Oct 12, 2023 · 3 comments · May be fixed by #33
Open

[Linux] cannot edit transform #32

che85 opened this issue Oct 12, 2023 · 3 comments · May be fixed by #33

Comments

@che85
Copy link

che85 commented Oct 12, 2023

I was able to install it on Linux, but when trying to edit transform, I am getting the following error:

image

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
@SachidanandAlle
Copy link
Collaborator

Can you try the fix by removing encoding? If that works, please raise a PR support the fix for other users.

che85 added a commit to che85/SlicerMONAIViz that referenced this issue Oct 12, 2023
@che85 che85 linked a pull request Oct 12, 2023 that will close this issue
@phcerdan
Copy link

Hitting this in latest release of Slicer, Linux (5.6.1)

@ayggunman
Copy link

ayggunman commented Feb 7, 2024

@phcerdan Worked for me by removing the encoding for slicer 5.4.0. Thanks @SachidanandAlle

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

Successfully merging a pull request may close this issue.

4 participants