Hello!
I have exchanged the old version of python2.7.5 to Python3.8.3 (winpython) for V8P1.Then,an error occurred while running a case:
File "C:\opentelemac-mascaret\V8P1\scripts\python3\execution\telemac_cas.py", line 82, in _parse_cas
for line in f.readlines():
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa2 in position 1178: illegal multibyte sequence.
I modified line 81 in "telemac_cas.py" (C:\opentelemac mascaret\V8P1\scripts\python3\execution).
"with open(self.file_name, 'r') as f:" To
"with open(self.file_name, 'r',encoding='utf-8') as f:"
After that,Telemac worked well, and the calculation results are the same as before (for python2.7.5).
I'm a rookie in code. Although it has been verified, I would like to ask if this change will affect the calculation.
Best Regards
Gareth