Re: [web2py] Error writing an auth_event

2012-02-02 Thread pbreit
I moved "form = auth()" to the top of the function which seems to have fixed it (I have some other code in the user() function that required me to create the form before the return).

Re: [web2py] Error writing an auth_event

2012-02-02 Thread Carlos Costa
Looking the code above, elif is hit when len(rows) = 0. So I am stuck here, how could it retrive any value if the lenght is zero? Must look this whole code to understand it. 2012/2/2 pbreit > I'm not really using memberships and I have auto group creation turned off: > > auth.settings.create_use

Re: [web2py] Error writing an auth_event

2012-02-02 Thread pbreit
I'm not really using memberships and I have auto group creation turned off: auth.settings.create_user_groups = False It works OK in my dev environment so it has something to do with my production data. One thing I noticed is that it looks like it might be trying to validate NOT_IN_DB. Since it

Re: [web2py] Error writing an auth_event

2012-02-02 Thread Carlos Costa
Hard to guess withou the model, but looks like its related to the membership. 2012/2/2 pbreit > My code is erroring and it looks like the culprit is the logging of an > auth_event. It's happening on a lightly customized auth_user Profile update. > > > > Traceback (most recent call last): > Fil

[web2py] Error writing an auth_event

2012-02-02 Thread pbreit
My code is erroring and it looks like the culprit is the logging of an auth_event. It's happening on a lightly customized auth_user Profile update. Traceback (most recent call last): File "/opt/web2py/gluon/restricted.py", line 204, in restricted exec ccode in environment File "/opt/web