How did you enter this shell ?
Is this problem present also when using the cache inside a normal
web-application ?
On Thursday, September 13, 2012 5:14:11 AM UTC+2, devrunner wrote:
>
> Any idea guys what's the problem in this error:
>
> >>> from gluon.contrib.redis_cache import RedisCache
> >>> cache.redis = RedisCache('localhost:6379', db=None, debug=True)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "gluon/contrib/redis_cache.py", line 39, in RedisCache
> RedisCache.redis_instance = RedisClient(*args, **vars)
> File "gluon/contrib/redis_cache.py", line 55, in __init__
> self.request = current.request
> AttributeError: 'thread._local' object has no attribute 'request'
>
>
>
--