EOFError while using file based caching
I am facing the below issue when I am using file based back-end caching. I set the expire time to 3 days. Almost at the end of day 3, I am encountering this issue.
File "/apps/anaconda/2.3/lib/python2.7/site-packages/beaker/cache.py", line 595, in cached return cache[0].get_value(cache_key, createfunc=go) File "/apps/anaconda/2.3/lib/python2.7/site-packages/beaker/cache.py", line 318, in get return self._get_value(key, **kw).get_value() File "/apps/anaconda/2.3/lib/python2.7/site-packages/beaker/container.py", line 330, in get_value self.namespace.acquire_read_lock() File "/apps/anaconda/2.3/lib/python2.7/site-packages/beaker/container.py", line 206, in acquire_read_lock self.open('r', checkcount=True) File "/apps/anaconda/2.3/lib/python2.7/site-packages/beaker/container.py", line 238, in open self.do_open(flags, replace) File "/apps/anaconda/2.3/lib/python2.7/site-packages/beaker/container.py", line 663, in do_open self.hash = pickle.load(fh) EOFError
Thanks
This should be resolved on posix platforms with #140. The likelihood of this occuring should be dropped significantly for all platforms with #139.