From: Claudio D. <cla...@cs...> - 2006-08-31 10:04:45
|
I have an spyce application written before ver. 2.1 which use cheetah template system, now with new version it does't work the error log is: Spyce exception File: C:\PyTools\spyce21\www\docs\examples\template.spy Message: KeyError: 0 Stack: C:\PyTools\spyce21\spyceCache.py:46, in __getitem__: return self.cache[key] C:\PyTools\spyce21\spyceCache.py:133, in get: if not key in self.cache or not self.valid(key, self.cache[key][0]): C:\PyTools\spyce21\spyceCache.py:144, in __getitem__: return self.get(key) C:\PyTools\spyce21\contrib\modules\template.py:52, in cheetah: return cheetahCache[filename](searchList=lookup) template.spy:16, in (main): =template.cheetah('template.tmpl') In the documentation template.spy example was dropped out and if i take it from old version, i get the same error. many thanks Claudio |