Hi, Yes, that was in fact the issue. On fixing that it works. Now, onto David's problem :).
On Jul 16, 6:28 pm, Narendran <gunanar...@gmail.com> wrote: > I guess in rpx_account.py, the __init__ parameter url has to be > changed to login_url to conform with auth in tools.py. > > On Jul 16, 6:16 pm, Narendran <gunanar...@gmail.com> wrote: > > > > > On my case, after upgrade, and trying to use rpx, I get this error: > > Traceback (most recent call last): > > File "/usr/lib/web2py/gluon/restricted.py", line 178, in restricted > > exec ccode in environment > > File "/usr/lib/web2py/applications/deals/controllers/default.py", > > line 156, in <module> > > File "/usr/lib/web2py/gluon/globals.py", line 96, in <lambda> > > self._caller = lambda f: f() > > File "/usr/lib/web2py/applications/deals/controllers/default.py", > > line 135, in user > > return dict(form=auth()) > > File "/usr/lib/web2py/gluon/tools.py", line 966, in __call__ > > if args[0] == 'login': > > File "/usr/lib/web2py/gluon/tools.py", line 1393, in login > > form.vars[passfield] = None > > AttributeError: 'RPXAccount' object has no attribute 'login_url' > > > On Jul 16, 1:44 pm, 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'