[ZPT] METAL "incompatible version" error

Scott Murawski azbok@hotmail.com
Wed, 31 Oct 2001 12:55:58 -0500


<html><div style='background-color:'>&gt;Subject: [ZPT] METAL "incompatible version" error 
<DIV></DIV>&gt;Date: Tue, 30 Oct 2001 11:26:39 -0500 (EST) 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;I'm trying to use ZPT for the first time, in Zope 2.4.2. I keep getting 
<DIV></DIV>&gt;this error when trying to view a document using a macro:: 
<DIV></DIV>&gt; 
<DIV></DIV>&gt; TAL.TALDefs.METALError: macro 'here/master' has incompatible version None, at line 1, column 1 
<DIV></DIV>&gt; 
<DIV></DIV>&gt;Anyone have a clue what that's about? The document calling the macro is 
<DIV></DIV>&gt;very simple:: 
<DIV></DIV>
<P>I had the same problem when I tried using ZPT for the first time like a week ago.&nbsp; You need to do this:</P>
<P>METAL:use-macro="here/master/macros/MacroName"</P>
<P>The macros items is special to METAL to access your macros.&nbsp; This means you can have multiple macros in one document.&nbsp; So&nbsp;assuming that master is your document name and MacroName defined like this in the master document:</P>
<P>METAL:define-macro="MacroName"</P>
<P>Hopefully that works for you</P></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>