Cheetah does't work from ver 2.1

Claudio Driussi <[email protected]> Thu, 31 Aug 2006 12:04:31 +0200
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642