I'm using ZPT in a Python Product. PageTemplateFile works fine, using it 
more-or-less as a drop-in replacement for DTMLFile.

However, I want to use METAL with this. Simple macros that work on page 
templates created in the ZODB fail to work from filesystem python products.

The error I'm getting is this:

   Error Type: Undefined
   Error Value: "macros" not found in

If I call _cook() on the PageTemplateFile objects in my module, I get a 
slightly different error:

  Error Type: Undefined
  Error Value: "header_and_footer" not found in

This is the latest version of PageTemplates, TAL, and ZTUtils from CVS, 
with the latest Zope trunk from CVS.

Any ideas?

Steve Alexander
Software Engineer
Cat-Box limited

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to