[vtkusers] Json object error caused by websocket.py
沈庄明
zhuangming.shen at sphic.org.cn
Wed Mar 14 04:11:48 EDT 2018
Hi all,
I found there probably be a bug around Line 250 in <VTK_build>/Wrapping/Python/wslink/websocket.py. If this code is run using python 3.x, this will cause an error "json object must be str not 'bytes' " when use json.loads. To avoid this error, I think the code can be modified by
[cid:b10da89b-5d6c-40ac-898d-8db128fb6001]
Regards,
Zhuangming Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180314/12658b9b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 40575 bytes
Desc: pastedImage.png
URL: <https://vtk.org/pipermail/vtkusers/attachments/20180314/12658b9b/attachment.png>
More information about the vtkusers
mailing list