Welcome, Guest
Username: Password: Remember me

TOPIC: Error in installing Telemac_v8p1r0

Error in installing Telemac_v8p1r0 4 years 5 months ago #36085

  • Hatim BS
  • Hatim BS's Avatar
Hi,
Am new user of TELEMAC system,
So now what can i do? after finishing the job
Attachments:
The administrator has disabled public write access.

Error in installing Telemac_v8p1r0 4 years 5 months ago #36086

  • PMV
  • PMV's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 149
  • Thank you received: 42
Hi,

Congratulation, «my work is done» this is where the fun starts. You can run one of the examples, how to is on the forum (also user manual if I'm not mistaken).

Have a look at the documentation and start with simple example(s) close to what you like to simulate.
The administrator has disabled public write access.
The following user(s) said Thank You: Hatim BS

Error in installing Telemac_v8p1r0 4 years 5 months ago #36087

  • Hatim BS
  • Hatim BS's Avatar
So there is no user interface? for Artemis
The administrator has disabled public write access.

Error in installing Telemac_v8p1r0 4 years 5 months ago #36212

  • Ghilardi
  • Ghilardi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 2
Hello,
I followed instructions posted by z.sdqy (thanks for sharing the procedure!!) but when I try to compile this happens:

C:\opentelemac-mascaret\v8p1r0>compile_telemac.py
Traceback (most recent call last):
File "C:\opentelemac-mascaret\v8p1r0\scripts\python3\compile_telemac.py", line 15, in <module>
from compilation.compil_tools import compile_api_files, \
File "C:\opentelemac-mascaret\v8p1r0\scripts\python3\compilation\compil_tools.py", line 17, in <module>
from utils.files import create_directories, put_file_content, is_newer
File "C:\opentelemac-mascaret\v8p1r0\scripts\python3\utils\files.py", line 51, in <module>
from urllib.request import urlopen
ImportError: No module named request

C:\opentelemac-mascaret\v8p1r0>

Anyone may help me to solve this problem?
The administrator has disabled public write access.

Error in installing Telemac_v8p1r0 4 years 5 months ago #36213

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

The error indicate a python module is missing.
Check the python version you use...
Check if urllib exists

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Ghilardi

Error in installing Telemac_v8p1r0 4 years 5 months ago #36218

  • Ghilardi
  • Ghilardi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 2
Hi,
thanks for your answer, but I do not know how to check for "urlib".
I found that various Python versions were installed in my pc: after a clean-up, now I have only 2.7.5 and 3.8.3.
But now, the command "compile_telemac.py" opens a windows that close after less than one second, and nothing happens.
The administrator has disabled public write access.

Error in installing Telemac_v8p1r0 4 years 5 months ago #36219

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Open a command windows and run the command inside. This will avoid the closure after the error and allow you to understand what is the problem

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Ghilardi

Error in installing Telemac_v8p1r0 4 years 5 months ago #36220

  • Ghilardi
  • Ghilardi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 2
Hi Cristophe,
I already run the command inside a command window.
I prepared it with the following parameters:

target:
C:\WINDOWS\system32\cmd.exe /E:ON /V:ON /K set SYSTELCFG=C:\opentelemac-mascaret\v8p1r0\configs\systel_v8p1r0.cfg && PATH=C:\opentelemac-mascaret\v8p1r0\scripts\python3;!PATH!

origin:
C:\opentelemac-mascaret\v8p1r0

regards,
Paolo
The administrator has disabled public write access.

Error in installing Telemac_v8p1r0 4 years 5 months ago #36221

  • Ghilardi
  • Ghilardi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 2
Compiled! :-)
To avoid the opening and closing of the new window, I run the command "python -i" followed by the full path of compile_telemac.py, and everything worked fine!
For the parallel version, compilation stopped because of a duplicate instruction "sfx_obj:", but after deleting line 35 of the .cfg script the program compiled succesfully.
Thank again for the hints!
The administrator has disabled public write access.

Error in installing Telemac_v8p1r0 4 years 4 months ago #36225

  • c.coulet
  • c.coulet's Avatar
  • OFFLINE
  • Moderator
  • Posts: 3722
  • Thank you received: 1031
Hi
Good news!
I think the previous problem you overpassed by the full path command for compile_telemac.py comes from the parameters of the command windows.
For me it should be %PATH% instead of !PATH!
You could check this by editing the envidronmental variables in the command windows when you launch it.

Regards
Christophe
The administrator has disabled public write access.
The following user(s) said Thank You: Ghilardi
Moderators: borisb

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