MAJA icon indicating copy to clipboard operation
MAJA copied to clipboard

Error in process_one_file function (convert_to_exo.py file)

Open EkicierNico opened this issue 6 years ago • 0 comments

I put in place MAJA and I got an error during writing of HDR CAMS data. I run with python 3.7, I modified the script with this solution (add .decode("utf-8") instead of encoding="UTF-8"))

ERROR : line 281, in process_one_file f.write(ET.tostring(tree, pretty_print=True, xml_declaration=True,encoding="UTF-8")) TypeError: write() argument must be str, not bytes

EkicierNico avatar Jun 04 '19 12:06 EkicierNico