Re: [web2py] Re: auth.impersonate(0)

2012-10-16 Thread Martin Weissenboeck
Now it's ok - thank you! Regards, Martin 2012/10/16 Massimo Di Pierro > in trunk > > > On Tuesday, 16 October 2012 10:51:08 UTC-5, Ricardo Pedroso wrote: > >> The fix in trunk worked for me. >> >> Martin are you calling impersonate(0) via GET or POST. >> >> Now I'm going to guessing mode >>

Re: [web2py] Re: auth.impersonate(0)

2012-10-16 Thread Massimo Di Pierro
in trunk On Tuesday, 16 October 2012 10:51:08 UTC-5, Ricardo Pedroso wrote: > > The fix in trunk worked for me. > > Martin are you calling impersonate(0) via GET or POST. > > Now I'm going to guessing mode > > I guest it is via GET, right? And probably when you call it > you were not an im

Re: [web2py] Re: auth.impersonate(0)

2012-10-16 Thread Ricardo Pedroso
The fix in trunk worked for me. Martin are you calling impersonate(0) via GET or POST. Now I'm going to guessing mode I guest it is via GET, right? And probably when you call it you were not an impersonator any more. Massimo, maybe it is a condition missing: we have in gluon/tools.py:

Re: [web2py] Re: auth.impersonate(0)

2012-10-16 Thread Martin Weissenboeck
Traceback (most recent call last): File "H:\...\web2py\gluon\restricted.py", line 209, in restricted exec ccode in environment File "H:/.../web2py/applications/secure/controllers/default.py" , line 3988, in File "

Re: [web2py] Re: auth.impersonate(0)

2012-10-16 Thread Massimo Di Pierro
can you show all traceback? On Tuesday, 16 October 2012 07:18:38 UTC-5, mweissen wrote: > > Is this the actual trunc-version? > Version 2.1.1 (2012-10-16 06:19:35) dev > > > I get the same message > local variable 'user' referenced > before assignment > 2012/10/16 Massimo Di Pierro > > >> Ther

Re: [web2py] Re: auth.impersonate(0)

2012-10-16 Thread Martin Weissenboeck
Is this the actual trunc-version? Version 2.1.1 (2012-10-16 06:19:35) dev I get the same message local variable 'user' referenced before assignment 2012/10/16 Massimo Di Pierro > There is a bug, I just fixed it in trunk. > > auth.impersonate(0) > is correct. > > > On Tuesday, 16 October 2012 0

[web2py] Re: auth.impersonate(0)

2012-10-16 Thread Massimo Di Pierro
There is a bug, I just fixed it in trunk. auth.impersonate(0) is correct. On Tuesday, 16 October 2012 04:38:35 UTC-5, mweissen wrote: > > I have called > auth.impersonate(0) > to finish impersonation. > > Now (Version 2.1.1) I see: > > Traceback (most recent call last): > File "H:\...\web2p