Welcome, Guest
Username: Password: Remember me

TOPIC: error with python?

error with python? 9 years 2 months ago #18191

Hello,
i work with telemac v6p3 (automatic installation) since a few months.
Last week impossible to launch telemac 2d, python seems to be not recognized by windows (see my error in the attached file) ?
Reinstalling python 27 do not solve the problem...

Regards.
Attachments:
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18192

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Did you install another soft which require python?
Christophe
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18193

No soft installed.
Only windows updates.
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18194

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
OK

In the DOS command windows where you run telemac, what is the result of the command python -V
If the message indicate that python is not recognize, try with the full path C:\opentelemac-mascaret\python27\python

Normally you should obtain the python version which should be 2.7.5 (or lower)

If this is ok, maybe you could try to run your computation with the full command line:
C:\opentelemac-mascaret\python27\python c:\opentelemac-mascaret\v6p3\scripts\python27\telemac2d.py name_of_steering_file

Hope this helps
Christophe
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18195

In the dos command windows pyton -v is not recognized

In C:\opentelemac-mascaret\python27\python it is OK : python version is 2.7.5

If i try to run with that full command line, the following message in the added file appears.
Attachments:
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18196

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
with the command SET, could you check the value of the variable SYSTELCFG?
Christophe
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18197

C:\opentelemac-mascaret\v6p3\configs;C:\opentelemac-mascaret\v6p3\scripts\python27
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18198

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Normally, SYSTELCFG should contain the configuration file (with the path).
You could try to run telemac with the full command line and add the configuration file option -f <configfile>

If this works you could put the config file name in the systelcfg value.

Regards
Christophe
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18199

So my SYSTELCFG is correct?
The administrator has disabled public write access.

error with python? 9 years 2 months ago #18200

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
In my opinion, No but I'm not sure...

Mine only contains something like C:\opentelemac-mascaret\v7p0\configs\systel_gf.cfg

But with my solution (option -f) this should fix the config file value and you will not use the value stored in systelcfg...
Christophe
The administrator has disabled public write access.
Moderators: borisb

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