[ZPT] METAL "incompatible version" error
Scott Murawski
azbok@hotmail.com
Wed, 31 Oct 2001 12:55:58 -0500
<html><div style='background-color:'>>Subject: [ZPT] METAL "incompatible version" error
<DIV></DIV>>Date: Tue, 30 Oct 2001 11:26:39 -0500 (EST)
<DIV></DIV>>
<DIV></DIV>>I'm trying to use ZPT for the first time, in Zope 2.4.2. I keep getting
<DIV></DIV>>this error when trying to view a document using a macro::
<DIV></DIV>>
<DIV></DIV>> TAL.TALDefs.METALError: macro 'here/master' has incompatible version None, at line 1, column 1
<DIV></DIV>>
<DIV></DIV>>Anyone have a clue what that's about? The document calling the macro is
<DIV></DIV>>very simple::
<DIV></DIV>
<P>I had the same problem when I tried using ZPT for the first time like a week ago. 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. This means you can have multiple macros in one document. So 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>