Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 filesys-based caching crashes out

open
nobody
5
2007-09-01
2007-09-01
Anonymous
No

enabled caching to filesystem due to use of Spyce as a CGI binary. This error got called up when I switched the cachedir to my server's tempdir at /home/<username>/temp

Unexpected exception: (please report!)
Traceback (most recent call last):
File "/home/.seal/username/python23/lib/python2.3/site-packages/spyce-2.1/spyce.py", line 285, in commonHandler
spycecode = self.spyce_cache[spyceInfo]
File "/home/.seal/username/python23/lib/python2.3/site-packages/spyce-2.1/spyceCache.py", line 144, in __getitem__
return self.get(key)
File "/home/.seal/username/python23/lib/python2.3/site-packages/spyce-2.1/spyceCache.py", line 133, in get
if not key in self.cache or not self.valid(key, self.cache[key][0]):
File "/home/.seal/username/python23/lib/python2.3/site-packages/spyce-2.1/spyceCache.py", line 72, in __getitem__
raise KeyError()
KeyError

Discussion