You can just change line 1401 of tools.py to 'else:' and it should work.
On Jul 16, 8:48 am, Narendran <gunanar...@gmail.com> wrote: > Looks like there is no get_user method in default Auth. I find a > get_or_create_user. May be the name was modified in the recent > checkins. > > On Jul 16, 6:34 pm, "mr.freeze" <nat...@freezable.com> wrote: > > > Line 1401 of tools.py needs to be changed (back) from... > > if self.settings.login_form: > > to... > > else: > > > It didn't affect my test app because it already used CAS. > > > On Jul 16, 3:44 am, David Marko <dma...@tiscali.cz> wrote: > > > > The same problem is on all apps I have. > > > > David > > > > On 16 čnc, 10:21, David Marko <dma...@tiscali.cz> wrote: > > > > > I updated web2py but it breaks my app. This is what I got for standard > > > > login dialog. (no rpx_account login used, app remained unchanged) > > > > > Traceback (most recent call last): > > > > File "c:\java\google_appengine\web2py\gluon\restricted.py", line > > > > 178, in restricted > > > > exec ccode in environment > > > > File "c:/java/google_appengine/web2py/applications/tp/controllers/ > > > > default.py", line 300, in <module> > > > > File "c:\java\google_appengine\web2py\gluon\globals.py", line 96, in > > > > <lambda> > > > > self._caller = lambda f: f() > > > > File "c:/java/google_appengine/web2py/applications/tp/controllers/ > > > > default.py", line 277, in user > > > > return dict(form=auth()) > > > > File "c:\java\google_appengine\web2py\gluon\tools.py", line 967, in > > > > __call__ > > > > return self.login() > > > > File "c:\java\google_appengine\web2py\gluon\tools.py", line 1404, in > > > > login > > > > cas_user = cas.get_user() > > > > AttributeError: 'Auth' object has no attribute 'get_user'