Re: file cache error
"Jonathan Ellis" <[email protected]> Wed, 09 Jan 2008 13:52:12 -0800
| Newsgroups | gmane.comp.python.spyce.general |
|---|---|
| Message-ID | <[email protected]> |
doh. fixed in the 2.1 branch and trunk On Wed, 9 Jan 2008 14:40:04 -0400, "Christopher Clarke" <cclarke-wYfHrJ5eQDBWk0Htik3J/[email protected]> said: > Hi > > I'm pretty sure that this worked in 2.03 > When i include > cache = 'file' > cachedir = '/tmp' > in config.py > > i get > Unexpectedcted exception: (please report!) > Traceback (most recent call last): > File "/usr/local/lib/spyce-2.1/spyce.py", line 285, in commonHandler > spycecode = self.spyce_cache[spyceInfo] > File "/usr/local/lib/spyce-2.1/spyceCache.py", line 144, in > __getitem__ > return self.get(key) > File "/usr/local/lib/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 "/usr/local/lib/spyce-2.1/spyceCache.py", line 72, in > __getitem__ > raise KeyError() > KeyError > > Regards > Chris ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace