Hi
I have installed and compiled TELEMAC on windows using python for the first time. I tried to run a test telemac2d simulation but I received the following error:
C:\TELEMAC\LiverpoolBay>runcode.py telemac2d test.casw
Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... parsing configuration file: C:\TELEMAC\v6p2_fay\wintel\config\systel.cfg
Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+> configuration: wintels
+> root: C:\TELEMAC\v6p2_fay\wintel
+> version v6p2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Running test.casw with telemac2d under C:\TELEMAC\LiverpoolBay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... reading module dictionary
_____________
runcode::main:
C:\TELEMAC\LiverpoolBay:
uncontroled error from python:: IndexError('string index out of range',)
C:\TELEMAC\LiverpoolBay>
The error is coming from the following part of runcode.py
print '... reading module dictionary'
# <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
# ~~~~ Run the Code from the CAS ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
try:
runCAS(cfgname,cfg,codeName,casFile,options)
except Exception as e:
xcpts.addMessages(filterMessage({'name':'_____________\nruncode::main:\n '+path.dirname(casFile)},e,options.bypass))
Does anyone know what I have done wrong?
Thanks
Fay