Welcome, Guest
Username: Password: Remember me

TOPIC: File telemac2d.py is open when running telemac2d examples

File telemac2d.py is open when running telemac2d examples 8 years 3 months ago #23429

  • rhachelaf
  • rhachelaf's Avatar
Hello all,

I am trying to run an simulation example when i tape :
telemac2d.py t2d_bumpflu.cas in examples\telemac2d\bumpflu
there is only the file telemac2d.py opened in my default editor and nothing is displayed in the console.

Any suggestions with this issue ?

Thank you
The administrator has disabled public write access.

File telemac2d.py is open when running telemac2d examples 8 years 3 months ago #23430

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
What system are you on? Windows ? Linux ?
Looks like windows.
You can find how to solve that in that post:
www.opentelemac.org/index.php/kunena/2-w...notepad?limitstart=0

Hope it helps.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

File telemac2d.py is open when running telemac2d examples 8 years 3 months ago #23446

  • rhachelaf
  • rhachelaf's Avatar
Your suggestion solve a part of my problem,
Now i still get this error

C:\opentelemac-mascaret\v7p0\examples\telemac2d\bumpflu>telemac2d.py t2d_bumpflu
.cas


Loading Options and Configurations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

... parsing configuration file: C:\opentelemac-mascaret\v7p0\configs\systel_v7p0
.cfg


Running your CAS file for:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

+> configuration: win7gfors
+> root: C:\opentelemac-mascaret\v7p0
+> version v7p0


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


... reading the main module dictionary
_____________
runcode::main:
:
uncontroled error from python:: IndexError('string index out of range',)
~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v7p0\scripts\python27\runcode.py", line 1368, in
main
runCAS(cfgname,cfg,codeName,casFiles,options)
File "C:\opentelemac-mascaret\v7p0\scripts\python27\runcode.py", line 734, in
runCAS
frgb,dico = scanDICO(dicoFile)
File "C:\opentelemac-mascaret\v7p0\scripts\python27\parsers\parserKeywords.py"
, line 346, in scanDICO
if proc.group('val')[0] == "'":
IndexError: string index out of range
~~~~~~~~~~~~~~~~~~
The administrator has disabled public write access.

File telemac2d.py is open when running telemac2d examples 8 years 3 months ago #23448

  • rhachelaf
  • rhachelaf's Avatar
This command line also return the same error

C:\opentelemac-mascaret\v7p0\examples\telemac2d\bridge>python c:\opentelemac-mascaret\v7p0\scripts\python27\telemac2d.py t2d_bridge.cas
The administrator has disabled public write access.

File telemac2d.py is open when running telemac2d examples 8 years 3 months ago #23455

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Are you using the steering file t2d_bridge from the examples
or did you make any modifications?
If you did could you post your file here.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.
Moderators: pham

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