Huston we have problem!!
All my auth broke
And Form submittion freezes???!!
Traceback (most recent call last):
File "/home/v3ss/workspace-bbb/web2py-clone/gluon/restricted.py",
line 178, in restricted
exec ccode in environment
File
"/home/v3ss/workspace-bbb/web2py-clone/applications/sExtract/views/default/index.html",
line 52, in <module>
forceFit:true,
File "/home/v3ss/workspace-bbb/web2py-clone/gluon/tools.py", line
1404, in login
cas_user = cas.get_user()
AttributeError: 'Auth' object has no attribute 'get_user'
On Fri, Jul 16, 2010 at 6:12 PM, Jose <[email protected]> wrote:
> When I use auth.define_tables(username=True) fails
>
>
> Traceback (most recent call last):
> File "/usr/home/jose/web2py/gluon/restricted.py", line 178, in
> restricted
> exec ccode in environment
> File "/usr/home/jose/web2py/applications/csr/models/db.py", line 30,
> in <module>
> auth.define_tables(username=True) #
> creates all needed tables
> File "/usr/home/jose/web2py/gluon/tools.py", line 1075, in
> define_tables
> label=self.messages.label_registration_id),
> File "/usr/home/jose/web2py/gluon/storage.py", line 125, in
> __getattr__
> value = self[key]
> KeyError: 'label_registration_id'
>
> however if I auth.define_tables() works well.
>
> Jose