We always use the latest version in trunk bash-3.1# hg tip changeset: 122:9d8683b8dc0f tag: tip user: mdipie...@massimo-di-pierros-macbook.local date: Sat Jan 23 18:28:38 2010 -0600 summary: gluon/contrib/urlify.py, thanks Gustavo Di Pietro
I reproduces the error using a bet older version changeset: 115:64aae75c9a9c tag: tip user: mdipie...@massimo-di-pierros-macbook.local date: Sat Jan 16 15:06:34 2010 -0600 summary: IS_DATE(TIME)_IN_RANGE, thanks Gergely Kontra but I tried to reproduce it for my self again after dropping my testing db and restarting over I produce the error , then after the following error appears : the error may happen because my db contains arabic characters and the interesting thing is that : the 2 errors are related , meaning that 1st the error : File "/root/workspace/hg/gluon/html.py", line 107, in xmlescape data = str(data) TypeError: __str__ returned non-string (type lazyT) occurs then I got a line pushed into top of my translation file ----------------- I use slackware linux 13 and the other machine that I reproduced the error on it with the older version is running ubuntu The case is : I have a form in a page, to put into it a company name if form accepts that name it checks whether user is allowed to edit this company info what caused the error was that I tried to hit Choose button in the form with the companies field being empty form1 = FORM(TABLE(TR(TD(T("company name")), TD(INPUT(_name="companies", _id="no_table_companies", _autocomplete="off"), BR()), INPUT(_type="submit", _value=T ("Choose"))))) in the view : --------------- {{for key, value in enumerate(domain):}} <li rel="{{=domain.id}}"> {{=domain.name}} {{if len(subdomain[key]) != 0:}} <ul> {{for subdomain in subdomains[key]:}} <li rel="{{=subdomain.id}}"> {{=subdomain.name}} </li> {{pass}} </ul> {{pass}} {{pass}} </li> I can't reproduce it again after dropping my test db, but I'm still testing -- 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.