I was able to successfully compile Telemac with the python27 script. I just downloaded the new release v8p2 and it doesn't have python27 script anymore. I couldn't get the compile to work with python3. It gives the following error message. Can anyone help me? Thanks!
Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p0\scripts\python3\configuration\cfg.py", line 35, in read_cfg
cfgfile.read(self.cfg_file, encoding='utf-8')
File "C:\opentelemac-mascaret\Python39\lib\configparser.py", line 697, in read
self._read(fp, filename)
File "C:\opentelemac-mascaret\Python39\lib\configparser.py", line 1093, in _read
raise DuplicateOptionError(sectname, optname,
configparser.DuplicateOptionError: While reading from 'C:\\opentelemac-mascaret\\v8p0\\configs\\systel_v8p0.cfg ' [line 25]: option 'modules' in section 'general' already exists
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p0\scripts\python3\compile_telemac.py", line 138, in <module>
main()
File "C:\opentelemac-mascaret\v8p0\scripts\python3\compile_telemac.py", line 89, in main
update_config(options)
File "C:\opentelemac-mascaret\v8p0\scripts\python3\config.py", line 77, in update_config
CFGS.parse_cfg_file(cfg_file, cfg_name, root_dir, python_dir)
File "C:\opentelemac-mascaret\v8p0\scripts\python3\configuration\cfg.py", line 104, in parse_cfg_file
self.read_cfg()
File "C:\opentelemac-mascaret\v8p0\scripts\python3\configuration\cfg.py", line 37, in read_cfg
raise TelemacException(
utils.exceptions.TelemacException: Error while reading C:\opentelemac-mascaret\v8p0\configs\systel_v8p0.cfg While reading from 'C:\\opentelemac-mascaret\\v8p0\\configs\\systel_v8p0.cfg ' [line 25]: option 'modules' in section 'general' already exists