Hi there!
Recently I've updated web2py to the last stable
version 2.14.6-stable+timestamp.2016.05.10.00.21.47
ERROR:web2py:Traceback (most recent call last):
File "/home/gonguinguen/medios/gluon/restricted.py", line 227, in
restricted
exec ccode in environment
File "/home/gonguinguen/medios/applications/webmedios/models/0.py", line
19, in <module>
cache.redis = RedisCache('localhost:6379', with_lock=True)
File "/home/gonguinguen/medios/gluon/contrib/redis_cache.py", line 90, in
RedisCache
with_lock=with_lock, fail_gracefully=fail_gracefully))
File "/home/gonguinguen/medios/gluon/contrib/redis_cache.py", line 126,
in __init__
self._release_script = register_release_lock(self.r_server)
File "/home/gonguinguen/medios/gluon/contrib/redis_utils.py", line 69, in
register_release_lock
rtn = conn.register_script(_LUA_RELEASE_LOCK)
AttributeError: 'str' object has no attribute 'register_script'
Any ideas on how to solve it?
I'm a bit lost. I've tried instantiating RedisCache with_lock=False but the
error is the same.
Thanks in advance!
Regards,
Lisandro.
--
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.