Welcome, Guest
Username: Password: Remember me

TOPIC: Error when installing on Ubuntu 13.04

Error when installing on Ubuntu 13.04 11 years 1 month ago #10666

  • OEHMU
  • OEHMU's Avatar
Hello everyone,

I have installed Telemac before in linux 12.04 without any problem. Now I move to linux ubuntu 13.04 and when running compileTELEMAC.py it stops and shows the following lines (I just post the last few lines):
"
....
File "/home/lisa/opentelemac/v6p2r1/pytel/compileTELEMAC.py", line 81, in getTree
tTree,rTree = getTree(use,libname,list,level,rebuild)
File "/home/lisa/opentelemac/v6p2r1/pytel/compileTELEMAC.py", line 77, in getTree
if list[lname].get(use) == None:
RuntimeError: maximum recursion depth exceeded in cmp
"
My best guest its that something is wrong with the recursion limit in python.
Any ideas in how to fixed would be much appreciated. If more information is needed, Ill be more than glad to provided.

Best regards,
Oscar
The administrator has disabled public write access.

Error when installing on Ubuntu 13.04 11 years 1 month ago #10668

  • Lufia
  • Lufia's Avatar
Hi Oscar

I'm not an expert, but maybe it helps to check which python version you have installed. I'm not sure, what the default version under Ubuntu is, but some Linux distros use python 3.X as default. Which might cause the problem.

Best regards,

Leo
The administrator has disabled public write access.

Error when installing on Ubuntu 13.04 11 years 1 month ago #10677

  • OEHMU
  • OEHMU's Avatar
Hi Leo,

Thank you for advice, appreciated.

Ill check that.

Best,

Oscar
The administrator has disabled public write access.

Error when installing on Ubuntu 13.04 11 years 1 month ago #10726

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

There was a bug like that in the earlier version of telemac-mascaret.
Which version of Telemac are you installing ?
Ans the version of python would be interesting too.

Cheers,
Yoann
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

Error when installing on Ubuntu 13.04 11 years 1 month ago #10770

  • OEHMU
  • OEHMU's Avatar
Hi,

Thank you for your msg, appreciated.

I dont have all the information now, sorry about that. I do remember that the conflict was with python installation. I had two versions 2.7.3 and latest one. I guest that may affect the installation.

Now i decided to use Linux 12.04 since I did this process a few months ago and that works. I haven't tried yet but Ill post how it goes.

Appreciate the time you have taken to read my post.

Best regards,

Oscar
The administrator has disabled public write access.

Same error when installing on Ubuntu 13.10 10 years 10 months ago #11657

  • pvalente
  • pvalente's Avatar
Hi

I am trying a fresh installation in Ubuntu (in fact kubuntu) 13.10 and python 2.7.5

The solution proposed in a python related site would be to increase the recursion limit for python in the compileTELEMAC.py file with the command:

sys.setrecursionlimit(1500)

It seems that python default recursion limit is 1000.

Nevertheless I am already setting a 5000 limit and my compilation still crashes with the same error.
Any sugestions?

Paulo
The administrator has disabled public write access.

Same error when installing on Ubuntu 13.10 10 years 10 months ago #11660

  • pvalente
  • pvalente's Avatar
Solution: installed python 2.7.3.
Now it is compiling without any problem.
The administrator has disabled public write access.

Error when installing on Ubuntu 13.04 10 years 10 months ago #11663

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

yes indeed -- this was discussed on this forum -- you have to switch to more recent version of the python scripts (v6p3r2 will do) with new improvements and optimizations made to work with the arrival of python 2.7.5 and above.

Alternatively, python 2.7.3 (only) works with previous versions of the TELEMAC-MASCARET system.

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

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