file cache error

Christopher Clarke <cclarke-wYfHrJ5eQDBWk0Htik3J/[email protected]> Wed, 9 Jan 2008 14:40:04 -0400
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
--===============0184582518==
Content-Type: multipart/alternative; boundary=Apple-Mail-12-405989307


--Apple-Mail-12-405989307
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

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
--Apple-Mail-12-405989307
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: 7bit

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi<div><br class="webkit-block-placeholder"></div><div>I'm pretty sure that this worked in 2.03<div>When i include&nbsp;</div><div><div>&nbsp;cache = 'file'</div><div>&nbsp;cachedir = '/tmp'</div><div>in config.py</div><div><br class="webkit-block-placeholder"></div><div>i get&nbsp;</div><div><span class="Apple-style-span" style="font-family: Times; font-size: 16px; "><pre>Unexpected<span class="Apple-style-span" style="font-family: Times; white-space: normal; "><span class="Apple-style-span" style="font-family: Monaco; white-space: pre; ">cted exception: (please report!)</span></span></pre><pre>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</pre><pre><br class="webkit-block-placeholder"></pre><pre>Regards</pre><pre>Chris</pre></span></div></div></div></body></html>
--Apple-Mail-12-405989307--


--===============0184582518==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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
--===============0184582518==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Spyce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spyce-users

--===============0184582518==--