Re: new error AttributeError: _methodBodyChunks

"R. Tyler Ballance" <[email protected]>
Newsgroups gmane.comp.python.cheetah
Message-ID <[email protected]>
On Mon, May 18, 2009 at 01:40:04PM -0700, [email protected] wrote:
>    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

Very odd, can you isolate this into a test case, I can't really figure
out how you're causing this.


-- 
-R. Tyler Ballance
Slide, Inc.

------------------------------------------------------------------------------
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
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkoRyRgACgkQFCbH3D9R4W+QdwCgol4qVHDTX+E3jtup5iebw92W
V2wAn1WEJbSdqiaNIx2jPQmeBD2KmEqB
=aOcO
-----END PGP SIGNATURE-----
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.