On May30, 1:17pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > http://web2py.com/examples/static/nightly/web2py_src.ziphttp://web2py.com/examples/static/nightly/web2py_win.ziphttp://web2py.com/examples/static/nightly/web2py_osxzip > > x509 emails, thanks Gyuris > attachment and html in Mail on GAE, thanks PanosJee > fixed docstring in SQLTABLE, thanks aabelyakov > TAG(html) parese html into helpers (experimental, still some problems > with unicode, , th\ > anks RobertVa for unicode help) > DIV.elements(find=re.compile(....)) > DIV.flatten() > DIV.elements('....') supports jQuery syntax in '....' > better it-it.py and it.py, thanks Marcello Della Longa > Many Bug fixes: > improved support for DAL and joins in postgresql/oracle, thanks Nico > de Groot > bux fixex in html.py, thanks Ian > fixed an issue with registration_key==None, thanks Jay Kelkar > fixed bug in gql.py, thanks NoNoNo > fixed problem with multiple and checkboxes, thanks MIchael Howden > fixed bug in gae, thanks NoNoNo > restored 2.4 compatibility, thanks Paolo Gasparello > auth.update() when pictures in profile
Revision: c29660517c with log message "fixed problem with multiple and checkboxes, thanks MIchael Howden" causes my current app fails. Did not take careful look yet, but it seems changing html.py's line 2154 from: value, _value = self['value'] = self['_value'] # Is it a typo anyway? to: value, _value = self['value'], self['_value'] can fix the problem. Check it out please. The error trace, if needed. File "C:/DOWNLOAD/google_appengine/web2py/applications/test/ controllers/default.py", line 34, in index Field('bar', requires=IS_IN_SET(range(5),multiple=True), widget=CheckboxesWidget.widget), File "C:\DOWNLOAD\google_appengine\web2py\gluon\sqlhtml.py", line 1033, in factory **attributes) File "C:\DOWNLOAD\google_appengine\web2py\gluon\sqlhtml.py", line 689, in __init__ inp = self.widgets.boolean.widget(field, default) File "C:\DOWNLOAD\google_appengine\web2py\gluon\sqlhtml.py", line 153, in widget return INPUT(**attr) File "C:\DOWNLOAD\google_appengine\web2py\gluon\html.py", line 327, in __init__ self._postprocessing() File "C:\DOWNLOAD\google_appengine\web2py\gluon\html.py", line 1254, in _postprocessing value, _value = self['value'] = self['_value'] TypeError: 'NoneType' object is not iterable