Hi all,
Has anyone run into this problem? If you use Redis to store sessions, when
logging out, the following error is thrown. I'm looking into i8t myself,
but thought others may have run into it as well.
Thanks
Rod
<type 'exceptions.AttributeError'> 'MockQuery' object has no attribute
'delete'
Versionweb2py™Version 2.9.12-stable+timestamp.2015.02.13.23.31.09Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
Traceback (most recent call last):
File "C:\projects\unity\web2py\gluon\restricted.py", line 226, in restricted
exec ccode in environment
File "C:/projects/unity/web2py/applications/unity_gm/controllers/user.py"
<https://127.0.0.1/admin/edit/unity_gm/controllers/user.py>, line 223, in
<module>
File "C:\projects\unity\web2py\gluon\globals.py", line 393, in <lambda>
self._caller = lambda f: f()
File "C:\projects\unity\web2py\gluon\tools.py", line 3458, in f
return action(*a, **b)
File "C:/projects/unity/web2py/applications/unity_gm/controllers/user.py"
<https://127.0.0.1/admin/edit/unity_gm/controllers/user.py>, line 114, in logout
form = auth.logout()
File "C:\projects\unity\web2py\gluon\tools.py", line 2671, in logout
current.session.renew(clear_session=not self.settings.keep_session_onlogout)
File "C:\projects\unity\web2py\gluon\globals.py", line 953, in renew
self.clear()
File "C:\projects\unity\web2py\gluon\globals.py", line 1069, in clear
table._db(table.id == record_id).delete()
AttributeError: 'MockQuery' object has no attribute 'delete'
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.