[ckan-dev] CKAN 2.5.2 maximum recursion depth exceeded

Hendrik Bunke bunke.hendrik at gmail.com
Tue Oct 4 11:23:05 UTC 2016


--On 2016-10-03 09:40, Marco Combetto wrote:

> Anyone faced similar problem?Do you know if/where I could set the maximum recursion depth? 

This usually occurs when a function uses recursion. Python is not optimized for
that and limits recursions to 1000 by default to avoid stack overflows. You can
use sys.setrecursionlimit() to set a higher value, but it's not recommended. So
you'd better find that function where the error occurs ;-) Could also be a CKAN
issue, I don't know.

regards
hendrik




More information about the ckan-dev mailing list