[ZPT] Memory Leak still?

Ron Bickers rbickers-dated-1008606825.71e7ba@logicetc.com
Mon, 10 Dec 2001 11:33:44 -0500


Well.  That's one way to stop a leak. :-)

I get this traceback when trying to access my site now.

Traceback (innermost last):
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 223, in
publish_module
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 187, in
publish
  File /usr/local/zope-2.4.3/lib/python/Zope/__init__.py, line 226, in
zpublisher_exception_hook
    (Object: )
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 171, in
publish
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/mapply.py, line 160, in
mapply
    (Object: index_html)
  File /usr/local/zope-2.4.3/lib/python/ZPublisher/Publish.py, line 112, in
call_object
    (Object: index_html)
  File /usr/local/zope-2.4.3/lib/python/OFS/DTMLMethod.py, line 199, in
__call__
    (Object: index_html)
  File /usr/local/zope-2.4.3/lib/python/DocumentTemplate/DT_String.py, line
546, in __call__
    (Object: index_html)
  File /usr/local/zope-2.4.3/lib/python/Shared/DC/Scripts/Bindings.py, line
338, in __render_with_namespace__
    (Object: index.html)
  File /usr/local/zope-2.4.3/lib/python/Shared/DC/Scripts/Bindings.py, line
354, in _bindAndExec
    (Object: index.html)
  File /home/brooks/zope/Products/PageTemplates/ZopePageTemplate.py, line
203, in _exec
    (Object: index.html)
  File /home/brooks/zope/Products/PageTemplates/PageTemplate.py, line 85, in
pt_render
    (Object: index.html)
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 158, in
__call__
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 523, in
do_useMacro
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 523, in
do_useMacro
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 343, in
do_optTag_tal
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 325, in
no_tag
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 476, in
do_loop_tal
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 191, in
interpret
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 238, in
do_startTag
  File /usr/local/zope-2.4.3/lib/python/TAL/TALInterpreter.py, line 303, in
attrAction_tal
  File /home/brooks/zope/Products/PageTemplates/TALES.py, line 269, in
evaluateText
  File /home/brooks/zope/Products/PageTemplates/TALES.py, line 247, in
evaluate
  File /home/brooks/zope/Products/PageTemplates/ZRPythonExpr.py, line 49, in
__call__
    (Info: path('item/url') or nothing)
  File Python expression "path('item/url') or nothing", line 2, in
f
  File /home/brooks/zope/Products/PageTemplates/PythonExpr.py, line 81, in
__call__
  File /home/brooks/zope/Products/PageTemplates/Expressions.py, line 157, in
__call__
  File /home/brooks/zope/Products/PageTemplates/Expressions.py, line 146, in
_eval
    (Info: item)
Undefined: Sorry, an error occurred


> -----Original Message-----
> From: Evan Simpson [mailto:evan@zope.com]
> Sent: Monday, December 10, 2001 10:44 AM
> To: Ron Bickers
> Cc: ZPT List
> Subject: Re: [ZPT] Memory Leak still?
>
>
> Ron Bickers wrote:
>
> > I'm using the CVS version of PageTemplates, ZTUtils, and TAL as
> of Dec. 05,
> > and it still seems like something's leaking:
>
> I think it's killed in CVS (trunk and Zope-2_5-branch).  Please
> give it a try.
>
> Thanks,
>
> Evan @ Zope
>
>