... File "compileTELEMAC.py", line 81, in getTree
tTree,rTree = getTree(use,libname,list,level,rebuild)
File "compileTELEMAC.py", line 103, in getTree
tTree,rTree = getTree(function.strip(),libname,list,level,rebuild)
File "compileTELEMAC.py", line 81, in getTree
tTree,rTree = getTree(use,libname,list,level,rebuild)
File "compileTELEMAC.py", line 81, in getTree
tTree,rTree = getTree(use,libname,list,level,rebuild)
File "compileTELEMAC.py", line 100, in getTree
if lib != lname and list[lib].get(function) != None:
RuntimeError: maximum recursion depth exceeded in cmp '
The above error is generated when compiling Telemac on ubuntu with python 2.7.5. persistently associated with the getTree function
Here is the definition of the above mentioned function
def getTree(name,lname,list,level,rebuild):
# ~~ Recursive tree Build ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
level = level + 1
# ~~ prints the tree to screen:
#print "# "*level + name + " > " + lname
time = list[lname][name]
#if debug: print '===> use',list[lname][name]
for use in list[lname][name]:
libname = lname
if list[lname].get(use) == None:
for lib in list.keys():
if lib != lname and list[lib].get(use) != None: libname = lib
Any clues? I use the latest tag from the svn reposity.
Thanks in advance.