new error AttributeError: _methodBodyChunks

[email protected]
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
./code.py

 *** WARNING ***
 The following keys are members of the Template class and will result in
NameMapper collisions!
  > __doc__

 Please change the key's name or use the compiler setting
"prioritizeSearchListOverSelf=True" to prevent the NameMapper from using
 the Template member in place of your searchList variable
 ***************

http://0.0.0.0:8080/

 *** WARNING ***
 The following keys are members of the Template class and will result in
NameMapper collisions!
  > __doc__

 Please change the key's name or use the compiler setting
"prioritizeSearchListOverSelf=True" to prevent the NameMapper from using
 the Template member in place of your searchList variable
 ***************

192.168.0.193:50774 - - [18/May/2009 13:37:39] "HTTP/1.1 GET /manage" - 302
Found
Traceback (most recent call last):
  File "/home/mark/work/common/web/application.py", line 241, in process
    return self.handle()
  File "/home/mark/work/common/web/application.py", line 232, in handle
    return self._delegate(fn, self.fvars, args)
  File "/home/mark/work/common/web/application.py", line 411, in _delegate
    return handle_class(cls)
  File "/home/mark/work/common/web/application.py", line 386, in
handle_class
    return tocall(*args)
  File "/home/mark/work/pop/user.py", line 262, in proxyfunc
    return func(self, *args, **kw)
  File "/home/mark/work/pop/search.py", line 217, in GET
    except:return web.render('newsearchresults.html')
  File "/home/mark/work/common/web/cheetah.py", line 96, in render
    compiled_tmpl = _compiletemplate(template, base=base, isString=isString)
  File "/home/mark/work/common/web/utils.py", line 338, in __call__
    self.cache[key] = self.func(*args, **keywords)
  File "/home/mark/work/common/web/cheetah.py", line 42, in
__compiletemplate
    tmpl_compiler.addImportedVarNames(execspace.keys())
  File "/usr/lib/python2.5/site-packages/Cheetah/Compiler.py", line 1709, in
addImportedVarNames
    if self._methodBodyChunks and raw_statement and not
settings.get('useLegacyImportMode'):
  File "/usr/lib/python2.5/site-packages/Cheetah/Compiler.py", line 1609, in
__getattr__
    raise AttributeError, name
AttributeError: _methodBodyChunks

192.168.0.193:50774 - - [18/May/2009 13:37:43] "HTTP/1.1 GET /s" - 500
Internal Server Error

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

_______________________________________________
Cheetahtemplate-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.