Re: Cheetah does't work from ver 2.1

"Jonathan Ellis" <[email protected]> Thu, 31 Aug 2006 06:22:50 -0700
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
I left the template module in contrib because I thought it probably
still worked, but it really isn't supported.  Since it apparently
doesn't work, I'll remove it completely.

The silver lining is, if you're using cheetah, most of the new features
since 2.0 won't be of any benefit to you, so you might as well keep
using Spyce 1.3...

-Jonathan

On Thu, 31 Aug 2006 12:04:31 +0200, "Claudio Driussi"
<[email protected]> said:
> 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
> _______________________________________________
> Spyce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/spyce-users
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott McKay


-------------------------------------------------------------------------
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