[ZPT] manage_page_header not found

Brent Hendricks brentmh@ece.rice.edu
Fri, 30 Nov 2001 15:02:04 -0600


Sometimes I get the following error

"manage_page_header" not found in "here/manage_page_header

when I trying to open a ZPT through the ZMI.  The odd thing is that
it's inconsistent.  I can't get it to happen everytime, but once it
starts, it persists on every page template I try to open.

Here's the traceback:

<!--
Traceback (innermost last):
  File /usr/local/src/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 223, in publish_module
  File /usr/local/src/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 187, in publish
  File /usr/local/src/Zope-2.4.1-src/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook
    (Object: editMetadata.html)
  File /usr/local/src/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 171, in publish
  File /usr/local/src/Zope-2.4.1-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: ptEdit)
  File /usr/local/src/Zope-2.4.1-src/lib/python/ZPublisher/Publish.py, line 112, in call_object
    (Object: ptEdit)
  File /usr/local/src/Zope-2.4.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 324, in __call__
    (Object: ptEdit)
  File /usr/local/src/Zope-2.4.1-src/lib/python/Shared/DC/Scripts/Bindings.py, line 354, in _bindAndExec
    (Object: ptEdit)
  File /usr/local/var/zope/Products/PageTemplates/PageTemplateFile.py, line 163, in _exec
    (Object: ptEdit)
  File /usr/local/var/zope/Products/PageTemplates/PageTemplate.py, line 156, in pt_render
    (Object: ptEdit)
  File /usr/local/lib/python2.1/site-packages/TAL/TALInterpreter.py, line 229, in __call__
  File /usr/local/lib/python2.1/site-packages/TAL/TALInterpreter.py, line 262, in interpret
  File /usr/local/lib/python2.1/site-packages/TAL/TALInterpreter.py, line 503, in do_insertStructure_tal
  File /usr/local/var/zope/Products/PageTemplates/Expressions.py, line 198, in _eval
    (Info: here)
  File /usr/local/var/zope/Products/PageTemplates/Expressions.py, line 327, in restrictedTraverse
    (Object: editMetadata.html)
    (Info: (['manage_page_header'], 0))
  File /usr/local/var/zope/Products/PageTemplates/Expressions.py, line 346, in validate2
    (Object: editMetadata.html)
Undefined: (see above)

I'm using Zope-2.4.2 and ZPT-1.4.1.  Any ideas?

--Brent


-------------------------------------------------------------------------

"The programmer, like the poet, works only slightly removed from pure
 thought-stuff.  He builds his castles in the air, from air, creating
 by exertion of the imagination.  Few media of creation are so
 flexible, so easy to polish and rework, so readily capable of
 realizing grand conceptual structures."
                        -- Frederick Brooks, Jr., The Mythical Man Month