Proxlight / Proxlight-Designer-v2

MIT License
123 stars 53 forks source link

Export didn't complete : Exception in Tkinter callback #9

Closed mohamed-29 closed 1 year ago

mohamed-29 commented 1 year ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\moham\anaconda3\lib\tkinter__init.py", line 1892, in call__ return self.func(*args) File "C:\Users\moham\Proxlight-Designer-v2\Proxlight Designer Source File\ProxlightDesigner.py", line 336, in btn_clicked generate_code(token,URL, output_path) File "C:\Users\moham\Proxlight-Designer-v2\Proxlight Designer Source File\ProxlightDesigner.py", line 303, in generate_code py_file.writelines(final_code) File "C:\Users\moham\anaconda3\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2028' in position 29: character maps to