pyigtl
pyigtl copied to clipboard
Exception when 3D Slicer sends a message based on a vtkMRMLTextNode to pyigtl client
Description:
The error is reproduced when 3D Slicer is a OpenIGTLink Server with a vtkMRMLTextNode in the scene that is converted to OpenIGTLink String message internally and sent to a pyigtl client. On the server side OpenIGTLinkIF extension is used.
Error:
File "/home/$USER/.local/lib/python3.8/site-packages/pyigtl/messages.py", line 90, in decode_text
raise("Unsupported encoding: "+str(encoding))
TypeError: exceptions must derive from BaseException
ERROR:root:Error while receiving data: exceptions must derive from BaseException
Update: This only happens if the content of the vtkMRMLTextNode encoding type is not set