Put dal.py over sql.py in trunk
Start server python web2py.py
Get welcome app in browser
Hit login link get ticket.

I also get this in my own application trying to login.

Field does not have attribute _tablename

Ron

Traceback (most recent call last):
  File "/home/camcentral/Dev/web2py_hg/gluon/restricted.py", line 188,
in restricted
    exec ccode in environment
  File "/home/camcentral/Dev/web2py_hg/applications/welcome/
controllers/default.py", line 56, in <module>
  File "/home/camcentral/Dev/web2py_hg/gluon/globals.py", line 95, in
<lambda>
    self._caller = lambda f: f()
  File "/home/camcentral/Dev/web2py_hg/applications/welcome/
controllers/default.py", line 33, in user
    return dict(form=auth())
  File "/home/camcentral/Dev/web2py_hg/gluon/tools.py", line 1025, in
__call__
    return self.login()
  File "/home/camcentral/Dev/web2py_hg/gluon/tools.py", line 1395, in
login
    formstyle=self.settings.formstyle
  File "/home/camcentral/Dev/web2py_hg/gluon/sqlhtml.py", line 810, in
__init__
    inp = self.widgets.string.widget(field, default)
  File "/home/camcentral/Dev/web2py_hg/gluon/sqlhtml.py", line 103, in
widget
    attr = StringWidget._attributes(field, default, **attributes)
  File "/home/camcentral/Dev/web2py_hg/gluon/sqlhtml.py", line 62, in
_attributes
    _id = '%s_%s' % (field._tablename, field.name),
AttributeError: 'Field' object has no attribute '_tablename'

Reply via email to