Welcome, Guest
Username: Password: Remember me

TOPIC: New installation: "name of module and CAS file required"

New installation: "name of module and CAS file required" 8 years 5 months ago #21974

  • SDAC
  • SDAC's Avatar
Hi all,

I've installed Telemac on a new system. The installation ran smoothly however,
as stated in the title, I received the message:

"The name of the module to run a and one CAS file at least are required."

However in the previous command line I used both telemac3d.py and a *.cas file. Is this not providing a module and file? My previous use of Telemac 3D has accepted the above.

I've looked through the forum and couldn't find much which dealt with any similar issue. I don't suppose there's a reason I might be getting this message?

Thanks,
Simon
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 8 years 5 months ago #22016

  • SDAC
  • SDAC's Avatar
It looks like the module is recognised but the *.cas file isn't. Hence the above message.

Does anyone know why this might occur?

I've reinstalled Telemac, and checked PATH. At this point I don't know how to get around it.

Thanks,
Simon
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 8 years 5 months ago #22018

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

Maybe you could try runcode.py telemac3d cas_file

regards
Christophe
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 8 years 5 months ago #22020

  • SDAC
  • SDAC's Avatar
Hi,

Thanks for the suggestion. None of the variations have worked unfortunately. I've been using the standard: runcode.py file.cas

Are there any other scripts from which I could approach this? I'm just wondering, given the variation suggested above.

Regards,
Simon
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 8 years 5 months ago #22080

  • SDAC
  • SDAC's Avatar
Hi all,

After reinstalling Telemac I got this message.

Anyone know as to why this might happen, and how it might affect the above issue?

Thanks,
Simon
Attachments:
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 8 years 5 months ago #22081

  • josekdiaz
  • josekdiaz's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 48
Dear Simon,

This is because telemac installer tries to contact the SVN repository and doesnt seem to get an answer from the server, which could be caused by a Proxy, Firewall or even improper installation of tortoise svn.

Regards,

José D.
The administrator has disabled public write access.
The following user(s) said Thank You: SDAC

New installation: "name of module and CAS file required" 8 years 5 months ago #22094

  • SDAC
  • SDAC's Avatar
Thanks José

I've managed to get rid of the installation errors. Unfortunately the main issue above (telemac not recognising the *.cas file) still persists!
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 8 years 5 months ago #22114

  • waziliwei
  • waziliwei's Avatar
Hi Simon,

I met the same problem as you.attached are my installaiton errors.And copy systel_v7p0.cfg into C:\opentelemac-mascaret\v7p0\configs

And then you can try innput
svn co  http://svn.opentelemac.org/svn/opentelemac/tags/v7p0r0 "C:\opentelemac-mascaret\v7p0" --username ot-svn-public --password telemac1*
in the cmd.exe, and it maybe takes several hours. And then you can try input
compileTELEMAC.py
in the shortcut TELEMAC v7p0.

The vertion you installed is different from mine, but you can try to change the difference such as "v7p0r0 to v7p1r1".

To get the detailed information, you can read this posthttp://www.opentelemac.org/index.php/kunena/2-windows-version/7415-some-errors-in-installing-the-latest-opentelemac-automatically Hope it helps.

Good luck,
Liwei
Attachments:
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 8 years 5 months ago #22139

  • SDAC
  • SDAC's Avatar
Thanks for your help everyone. I managed to solve the issue.

The installation errors for *.svn we're solved through a simple %PATH% change.

For posterity, the culprit behind the main topic error was how Windows 7 ran Python, which prevented arguments to be run by Python executable. This is a known issue, with more details available here: bugs.python.org/issue7936

I identified this when I recieved the error "errno2: no such file or directory" when I typed in: "C:\opentelemac-mascaret\python27 telemac3d.py"

A simple "assoc .py=Python.File" didn't work.

I ended up changing the registry keys for HKEY_CLASSES_ROOT\Applications\python26.exe\shell\open\command and HKEY_CLASSES_ROOT\py_auto_file\shell\open\command to "C:\Python26\python26.exe" "%1" %*

Previously the %* had been missing from both.
The administrator has disabled public write access.

New installation: "name of module and CAS file required" 7 years 5 months ago #26690

  • jose2kk
  • jose2kk's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 161
  • Thank you received: 59
Hello everybody,

I am having the same problem with a friend’s computer, it looks like it is not recognized the *.cas file. What is more rare is that it worked the first time, but suddenly it stoped working. I have made the installation three times and nothing. I have made the installation in another computer that also have win7 and it works fine. I do not know what could be happening. I already tried by executing commands such as ‘’python runcode.py telemac2d *.cas’’ and ‘’telemac2d.py *.cas’’. Nothing changes.

Does anybody know how could I solve it? I tried with Simon solution, but it did not work at all.

Thanks in advance.
Cheers,

José Andrés.
The administrator has disabled public write access.
Moderators: borisb

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