new cheetah gives errors!

View: New views
1 Messages — Rating Filter:   Alert me  

new cheetah gives errors!

by mobiledreamers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

   page = str(web.render(htmlfile, asTemplate=True, terms=terms))
  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-2.2.1-py2.5-linux-i686.egg/Cheetah/Compiler.py", line 1712, in addImportedVarNames
    if self._methodBodyChunks and raw_statement and not settings.get('useLegacyImportMode'):
  File "/usr/lib/python2.5/site-packages/Cheetah-2.2.1-py2.5-linux-i686.egg/Cheetah/Compiler.py", line 1612, in __getattr__
    raise AttributeError, name
AttributeError: _methodBodyChunks

24.7.109.70:54112 - - [05/Aug/2009 14:09:48] "HTTP/1.1 GET /s" - 500 Internal Server Error

 
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Cheetahtemplate-discuss mailing list
Cheetahtemplate-discuss@...
https://lists.sourceforge.net/lists/listinfo/cheetahtemplate-discuss