In trunk now as  1.81.2. Thank you!

On 16 Lug, 15:40, "mr.freeze" <[email protected]> wrote:
> Please try changing line 1401 of tools.py from:
>     if self.settings.login_form:
> to...
>    else:
>
> Not sure why this line was changed but it seems to be the problem.
>
> On Jul 16, 3:34 pm, Phyo Arkar <[email protected]> wrote:
>
> > And why CAS ? I dont use CAS at all..
>
> > On Fri, Jul 16, 2010 at 8:34 PM, Phyo Arkar <[email protected]>wrote:
>
> > > 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

Reply via email to