Closed dragonyanglong closed 2 years ago
Hi @tienhungvuong, can you help take a look on this py3 pickel issue, which results into some encode/decode problem that I am not familiar with, we can discuss together. I bet there should be some quick fixes if we can spend more time on googling for answers.
Yes I'll take a look at this!
Fixed.
In
diffpy.pdfgui/src/diffpy/pdfgui/gui/fittree.py", line 565
, py3 cannot combine bytes and str directly together.cdatastring = "pdfgui_cliboard=" + cdatastring
I tried to add .encode() after the str then combien two bytes together, ie.
cdatastring = "pdfgui_cliboard=".encode() + cdatastring
. But a new bug appears:It may be due to the pickel problem.