Welcome, Guest
Username: Password: Remember me

TOPIC: parsers.parserFortran file missing ? Installation problem

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5519

  • Sivri
  • Sivri's Avatar
Hi everybody,

I am trying to install Telemac v6p2 on Ubuntu 10.04 using the Python installer. When I type

python compileTELEMAC.py

I get the error:

File "compileTELEMAC.py", line 59, in <module>
from parsers.parserFortran import scanSources
ImportError: No module named parsers.parserFortran

indicating that the file parsers.py cannot be found. I did an automatic download and this file definitely did not exist among the python scripts in the directory opentelemac/v6p2/pytel. Does anyone have a clue ?

Any help is greatly appreciated

Best wishes

Gorkem

Istanbul Tech. University
The administrator has disabled public write access.

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5523

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello,

"parsers" is a subdirectory under "pytel", within which you should find the file "parserFortran.py"

When you download the new version (I presume with SVN on Windows ?) make sure you tick the "recursive" check-box. It should be "recursive" by default with most svn on Linux.

Hope this helps.
Sébastien.
The administrator has disabled public write access.

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5567

  • Sivri
  • Sivri's Avatar
M. Sébastien,

Thank you for your help, but unfortunately after the extraction there is
no "parsers" directory under "pytel". In fact there is no subdirectory under "pytel" , all I have is 23 .py files (alter, artemis,..., validateTELEMAC) and one config.pyc file.

I downloaded the package (compiled codes) again in a different computer, the result is the same.

Op System: ubuntu 11.04

Package: Compiled codes (not SVN)

I have: gfortran 4:4.5.2-1ubuntu3
python 2.7.1-0ubuntu5.1

Thanks for your attention,

Gorkem
The administrator has disabled public write access.

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5530

  • jamesmac
  • jamesmac's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
HI,
I have a similar problem.
I am trying to install Telemac v6p2 on Windows 7 (64bit) using the Python installer. I downloaded the pre-compiled binaries directly from the download page.
The compileTELEMAC.py command fails with the same error as Sivri.
However there is no parsers subdirectory present under the pytel directory.
Any help would be much appreciated.
Thanks
james
The administrator has disabled public write access.

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5570

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Sorry I am away at the SimHydro Conference .. I will re-create these pre-compiled linux version with all files.

In the meantime, here attached is the full content of the pytel directory. Just replace yours with this one and let me know.

I hope this helps (for now).

Sebastien.
Attachments:
The administrator has disabled public write access.
The following user(s) said Thank You: Sivri

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5595

  • Sivri
  • Sivri's Avatar
Thank you Sébastien,

The case is seemingly solved, after the extraction of the attachment I installed the program.

I will try to run it once with some sample code to check if everything is working, then will let you know the result.

Kindest regards for your time and help.

Gorkem
The administrator has disabled public write access.

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5596

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
happy to help.

However, and for the future, please note that the best/recommended way to download / install the TELEMAC-MASCARET system is to use the SVN checkout.

Sébastien
The administrator has disabled public write access.

parsers.parserFortran file missing ? Installation problem 12 years 2 months ago #5599

  • Sivri
  • Sivri's Avatar
Dear Sébastien,

I tried to do as you suggested, but unfortunately couldn't hit on anything useful: I had to switch to KDE first (working normally at GNOME), then couldn't install KDESVN because my KDE was the newest version so was not supported. Then I tried to switch to an older KDE version, things messed up., etc... :)

By the way, are you sure it is easier with SVN ? It seemed a little more complicated to me...

Kind regards,

Gorkem
The administrator has disabled public write access.
Moderators: borisb

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