No input :-( Guess we'll need to stick with 2.20.4. Don't really have a lot of time to put into the 2.21 migration, at least for now. :-( :-(
On Tuesday, December 22, 2020 at 10:36:16 AM UTC-8 jimka...@yahoo.com wrote: > Sorry. The web2py version should obviously have been 2.21.1 in my message > > On Tuesday, December 22, 2020 at 10:14:26 AM UTC-8 jimka...@yahoo.com > wrote: > >> Just trying to update to version 1.21.1 from 2.20.4. the app runs fine >> under 2.20.4. >> Under 1.21.1, the welcome app comes up fine. The admin/default/site page >> comes up fine. But when I start the app ( >> http://127.0.0.1:8000/MFMCurrAssetMgr/default/user/login?_next=/MFMCurrAssetMgr/default/index) >> >> I hit an infinite loop in yatl/template.py?, culminating in a >> RecursionError. >> >> 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 >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/8f39cbda-d59f-41b3-a110-9c6a505c4460n%40googlegroups.com.