Welcome, Guest
Username: Password: Remember me

TOPIC: error with python?

error with python? 9 years 2 months ago #18201

I don't understand what command i must tape with option -f, can you reexplain please?
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18202

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
the same command you enter to launch telemac. Just add the -f <configfile> in it.
to be sure, have a look at telemac2d.py --help
Christophe
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18203

Sorry, i have the same error message with -f
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18204

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Please post a screen copy of the command line and the result.
Christophe
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18207

my cas file is on C.
Attachments:
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18216

  • konsonaut
  • konsonaut's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 413
  • Thank you received: 144
Hello,

after the flag -f you should provide the full path to config file including the config file itself, e.g.:
... -f C:\...\systelcfg.cfg ...

P.S. in your screenshot it appears that your cas file is in the directory C. Is this true? Otherwise first you should switch into your directory with the input files (cas file, etc.) and then exectute the command.

Hope this helps,
Clemens
The administrator has disabled public write access.

error with python? 9 years 1 month ago #18378

Hello,

Problem is solved!!

My file telemac2d.py was opened by default with telemac2d.py instead of python.exe!!
I don't know why!
So I had to change default program in the telemac2d.py file's properties.



Thanks to Alexis Bernard!
The administrator has disabled public write access.

error with python? 8 years 11 months ago #19038

  • Murru
  • Murru's Avatar
Hi Mathieu,
I have your same problem, could you explain to me step by step how you change default program in the telemac2d.py, please?where are file's properties?
thank you so much

Stephanie
The administrator has disabled public write access.

error with python? 8 years 11 months ago #19041

Hello,
do a rightclic on your file telemac2d.py / do open with /choose python.exe instead of telemac2d.py


2015-11-30_091700.jpg
The administrator has disabled public write access.

error with python? 8 years 11 months ago #19042

  • Murru
  • Murru's Avatar
Hello,
Thank you so much for your answer. I noticed that I have already the right setting. what can I do?
I have some problem with runcode.py, see the file attached runcode.py is not an internal or external command and not a program or batch file which can run!!could you help me please?If I try to run the example in v7p0 seems incomplete the simulation, it doen't end with "my work is done". I don't understand .

thank you

S.
Attachments:
The administrator has disabled public write access.
Moderators: borisb

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