Welcome, Guest
Username: Password: Remember me

TOPIC: trunk version: missing file error

trunk version: missing file error 3 years 7 months ago #38271

  • nitesh
  • nitesh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 1
Hi,

I am using python version 3.9.4.
I have recently installed telemac v8p2r0 and compiled succesfully and it is showing it as trunk version while I am running the example cases.

Now, when I am running the test case available in C:\opentelemac-mascaret\v8p2r0\examples\telemac2d\malpasset, I am getting the error of missing the geometry file named "geo_malpasset-large.slf" even though the folder has that file:

In ..\..\examples\telemac2d\malpasset\t2d_malpasset-fine.cas missing file for GEOMETRY FILE:
geo_malpasset-large.slf

I am getting this missing file error while running other test cases too and getting the same missing file error but for different files (but the files are actually there in the respective folders)

For another test case in the folder C:\opentelemac-mascaret\v8p2r0\examples\telemac2d\rain_runoff

then i am getting the error:
In ..\..\examples\telemac2d\rain_runoff\t2d_rain_runoff.cas missing file for BOUNDARY CONDITIONS FILE:
geo_flume.cli


Afterwards, I tried to run my own test case and it gave the same error:

In D:\Nitesh\Scenario21\_S21.cas missing file for FORMATTED DATA FILE 1:
hyetograph.txt

Attached are the images of errors.

Please help me to solve the issue.
Attachments:
The administrator has disabled public write access.

trunk version: missing file error 3 years 7 months ago #38284

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Try to run the simulation from the directory of the example, not from the python scripts directory
Christophe
The administrator has disabled public write access.

trunk version: missing file error 3 years 7 months ago #38287

  • nitesh
  • nitesh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 1
Hi,

I tried that but it is recognizing it as internal or external command (error image attached). I am running it in windows command prompt by the way, if that is the problem but I am following this video on youtube: for installing Telemac and the step at time 25:47 is not working for me (the errors are in my previous question).

Thanks!
Attachments:
The administrator has disabled public write access.

trunk version: missing file error 3 years 7 months ago #38289

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Try Python telemac2d.py ....
Christophe
The administrator has disabled public write access.

trunk version: missing file error 3 years 7 months ago #38290

  • nitesh
  • nitesh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 1
Hi,

I am still getting the errors in both the directories:
1.
C:\opentelemac-mascaret\v8p2r0\examples\telemac2d\rain_runoff>Python telemac2d.py t2d_rain_runoff.cas

Python: can't open file 'C:\opentelemac-mascaret\v8p2r0\examples\telemac2d\rain_runoff\telemac2d.py': [Errno 2] No such file or directory


2.
C:\opentelemac-mascaret\v8p2r0\scripts\python3>Python telemac2d.py ..\..\examples\telemac2d\rain_runoff\t2d_rain_runoff.cas

In ..\..\examples\telemac2d\rain_runoff\t2d_rain_runoff.cas missing file for BOUNDARY CONDITIONS FILE:
geo_flume.cli
The administrator has disabled public write access.

trunk version: missing file error 3 years 7 months ago #38291

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Then it should work if you try:
python c:\opentelemac-mascaret\v8p2r0\scripts\python3\telemac2d.py ...

Hope this helps
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: nitesh

trunk version: missing file error 3 years 7 months ago #38346

  • nitesh
  • nitesh's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 73
  • Thank you received: 1
Hi,

running the simulation from the directory of the example with the command 'telemac2d.py steering_file.cas' worked for me.

Thank you so much :)
The administrator has disabled public write access.
Moderators: pham

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