Welcome, Guest
Username: Password: Remember me

TOPIC: UnicodeDecodeError when Couping with Gaia

UnicodeDecodeError when Couping with Gaia 2 years 7 months ago #40149

Hello everyone. I faced an error when I am trying to couple with Gaia. The Error is shown below:
... processing the steering file
~> Checking keyword/rubrique coherence
~> Checking keyword/rubrique coherence
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p3r1\scripts\python3\telemac2d.py", line 7, in <module>
main('telemac2d')
File "C:\opentelemac-mascaret\v8p3r1\scripts\python3\runcode.py", line 279, in main
run_study(cas_file, code_name, options)
File "C:\opentelemac-mascaret\v8p3r1\scripts\python3\execution\run_cas.py", line 163, in run_study
my_study = Study(
File "C:\opentelemac-mascaret\v8p3r1\scripts\python3\execution\study.py", line 163, in __init__
cas_plage = TelemacCas(cas_name_cpl, dico_file_plage)
File "C:\opentelemac-mascaret\v8p3r1\scripts\python3\execution\telemac_cas.py", line 76, in __init__
self._parse_cas()
File "C:\opentelemac-mascaret\v8p3r1\scripts\python3\execution\telemac_cas.py", line 126, in _parse_cas
for line in f.readlines():
UnicodeDecodeError: 'cp932' codec can't decode byte 0x99 in position 209: illegal multibyte sequence

This error did not happen when I just run my telemac2d file. My version is v8v3r1. Please help me to find where the problems happened.

Regards
LIN
The administrator has disabled public write access.

UnicodeDecodeError when Couping with Gaia 2 years 7 months ago #40151

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Join the steering files to let us try to see where the problem comes from.
If it runs without coupling, there could be a problem in the line where you declare the Gaia sterring file in the telemac steering file or in the Gaia steering file itself

Regards
Christophe
The administrator has disabled public write access.

UnicodeDecodeError when Couping with Gaia 2 years 7 months ago #40152

Hello. I have already found out what happened. I used an error symbol ' in my steering file. When I deleted it, everything is well. Thank you for your reply.

Regards
LIN
The administrator has disabled public write access.
Moderators: Pablo, pavans

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.