Just trying to update to version 1.21.1 from 2.20.4. the app runs fine under 2.20.4.
Given the traceback is entirely within gluon code, with no obvious reference to my code other than the URI above, I'm hoping someone can give me pointers to where to look next. I've looked in the default controller and tried tracing but it never actually seems to get into executing my default/index.
Environment is MacOS 10.15.7. Python is 3.7.8. I'm doing the upgrade with web2py source.
Here's the start/end of the traceback
Thanks in advance
Jim
Traceback (most recent call last):
File "/Applications/web2py_dev/gluon/main.py", line 439, in wsgibase
serve_controller(request, response, session)
File "/Applications/web2py_dev/gluon/main.py", line 179, in serve_controller
page = run_view_in(response._view_environment)
File "/Applications/web2py_dev/gluon/compileapp.py", line 729, in run_view_in
context=environment)
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 820, in parse_template
return str(TemplateParser(text, context=context, path=path, lexers=lexers, delimiters=delimiters, reader=reader))
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 347, in __str__
return self.to_string()
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 343, in to_string
return self.reindent(str(self.content))
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 193, in __str__
return ''.join(output_aux(node, self.blocks) for node in self.nodes)
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 193, in <genexpr>
return ''.join(output_aux(node, self.blocks) for node in self.nodes)
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 102, in output_aux
if isinstance(node, BlockNode) \
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 174, in output
return ''.join(output_aux(node, blocks) for node in self.nodes)
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 174, in <genexpr>
...
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 174, in <genexpr>
return ''.join(output_aux(node, blocks) for node in self.nodes)
File "/Applications/web2py_dev/gluon/packages/yatl/yatl/template.py", line 102, in output_aux
if isinstance(node, BlockNode) \
RecursionError: maximum recursion depth exceeded while calling a Python object