I am getting the dreaded error: RuntimeError: maximum recursion depth exceeded
I am using web2py vsn. 1.76.5, jython version 2.5.1 on Windows XP. I have altered the web2py 'welcome' application defaault controller to: return 'Hello World' rather than return dict(message=T('Hello World')). This solved the recursion problem, but only if one does not use web2py views :( I tried adding the following to the default controller, but it did not help. import sys sys.setrecursionlimit(2500) Any suggestions ? On Apr 7, 4:16 pm, Jonathan Lundell <jlund...@pobox.com> wrote: > On Apr 7, 2010, at 7:14 AM, mdipierro wrote: > > > Some people have reported problems with Jython due to a bug in Java > > regex. I tried Jython2.5rc2 and it worked for me. Let us know. > > One or two of the regex patches a while back (URL checking IIRC) was aimed at > preventing excessive backtracking under Jython. If anyone runs into that > problem again, they should report it. I'm pretty sure I understand how to > avoid at least the problem we had then, by making alternations mutually > exclusive. > > > > > On Apr 7, 6:14 am, JC11 <john.c...@gmail.com> wrote: > >> Thanks, > > >> I am sure I searched in the 'book', how silly of me not to find it. > >> What about Oracle and Jython ? The last line of the entrie reads: > >> 'You will be able to use DAL('sqlite://...') and > >> DAL('postgres://...') only.' > > >> John C. > > >> On Apr 7, 11:54 am, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote: > > >>> Hi, > > >>> here they are: > > >>>http://web2py.com/book/default/section/12/9 > > >>> + use newest stable > > >>> -- > >>> Kuba > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to web...@googlegroups.com. > > To unsubscribe from this group, send email to > > web2py+unsubscr...@googlegroups.com. > > For more options, visit this group > > athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.