sorry. fixed.
On Friday, 6 April 2012 07:23:19 UTC-5, Alan Etkin wrote: > > I pulled the last version and get an error when welcome starts: > > Version 1.99.7 (2012-04-05 22:06:40) dev > > Traceback (most recent call last): > File "/home/alan/web2py/web2py-hg/gluon/restricted.py", line 205, in > restricted > exec ccode in environment > File "/home/alan/web2py/web2py-hg/applications/welcome/models/db.py" > <http://127.0.0.1:8000/admin/default/edit/welcome/models/db.py>, line 47, in > <module> > auth.define_tables() > File "/home/alan/web2py/web2py-hg/gluon/tools.py", line 1381, in > define_tables > format='%(first_name)s %(last_name)s (%(id)s)')) > File "/home/alan/web2py/web2py-hg/gluon/dal.py", line 6603, in define_table > common_filter=common_filter)) > File "/home/alan/web2py/web2py-hg/gluon/dal.py", line 6872, in __init__ > 'define_table argument is not a Field or Table: %s' % field > SyntaxError: define_table argument is not a Field or Table: [] > > > Something wrong with the auto table definitions for the auth object (see > Line 47) > > I think that the problem is that when creating auth, the auth settings > extra_fields attribute is retrieved (tools.py line 1380) and it is returned > as a list that cointains only an empty list ( [[]] ), but that inner list > shouldn't be there, as it's supposed to be a sequence of Field instances to > be added to the table fields (isn't it?). So at the loop for checking valid > Field objects in dal.py, a syntax error is raised. > > Has anyone else had this welcome app error? > >