[Cheetahtemplate-discuss] Cheetah error with tutorial example?
Brought to you by:
rtyler,
tavis_rudd
From: Sandrine R. <san...@lo...> - 2004-06-18 09:57:34
|
Hi all! I'm a new user of Cheetah (from threee hours exactly...). I'm reading the tutorial I found on the Cheetah site and try to follow the examples given. But I have an error with the example in section 1.5. Im working with Cheeta 0.9.15 under debian and with Python 2.3.4. The cheetah compile is ok but when I try to fill I get: Filling test.tmpl -> test.html Traceback (most recent call last): File "../../bin/cheetah", line 3, in ? CheetahWrapper().main() File "/home/sand/local/lib/python/Cheetah/CheetahWrapper.py", line 472, in main meth() File "/home/sand/local/lib/python/Cheetah/CheetahWrapper.py", line 411, in fill self.compileOrFill() File "/home/sand/local/lib/python/Cheetah/CheetahWrapper.py", line 401, in compileOrFill self.compileOrFillBundle(b) File "/home/sand/local/lib/python/Cheetah/CheetahWrapper.py", line 261, in compileOrFillBundle output =3D str(obj) File "<string>", line 29, in respond File "/home/sand/local/lib/python/Cheetah/NameMapper.py", line 212, in valueForName return _valueForName(obj, nameChunks, executeCallables=3DexecuteCallables) File "/home/sand/local/lib/python/Cheetah/NameMapper.py", line 223, in _valueForName binding =3D valueForKey(obj, firstKey) File "/home/sand/local/lib/python/Cheetah/NameMapper.py", line 197, in valueForKey raise NotFound, key Cheetah.NameMapper.NotFound: field One of you have an idea? Thanks!=20 --=20 Sandrine Ribeau LOGILAB, Paris (France). http://www.logilab.com http://www.logilab.fr http://www.logilab.org D=E9veloppement logiciel avanc=E9 - Intelligence Artificielle - Formations |