[Zope] Re: TAL Hotfix 2004-07-13 for Zope 2.7.0, 2.7.1

Josef Meile jmeile at hotmail.com
Wed Jul 14 05:10:48 EDT 2004


--- In zope at yahoogroups.com, Mike Ekstrand <michael-zope at e...> wrote:
 > I installed the hotfix on my Zope 2.7.1 install (platform: win32), and
 > am now getting errors in some pages using METAL.
 >
 > It's a METALError, with the following message:
 >
 > macro 'root/admin/macros/macros/page' has incompatible version '1.4', at
 > line 5, column 1
 >
 > The pages referencing this macro worked just fine before the hotfix.
 >
Yup, same here. I'm running Zope 2.7.1 + Hotfix_20040713 under gentoo 
linux kernel 2.4.22. I have a product which uses some macros and with 
the patch doesn't work. Removing it everything works perfectly.

Complete traceback:
2004-07-14T10:59:24 ERROR(200) SiteError 
http://localhost/temp/manage_addProduct/JMColorPicker/manage_addJMColorPickerForm
Traceback (most recent call last):
   File "/usr/local/Zope/2.7.1/lib/python/ZPublisher/Publish.py", line 
101, in publish
     request, bind=1)
   File "/usr/local/Zope/2.7.1/lib/python/ZPublisher/mapply.py", line 
88, in mapply
     if debug is not None: return debug(object,args,context)
   File "/usr/local/Zope/2.7.1/lib/python/ZPublisher/Publish.py", line 
39, in call_object
     result=apply(object,args) # Type s<cr> to step into published object.
   File 
"/usr/local/Zope/2.7.1/data/Products/JMColorPicker/JMColorPicker.py", 
line 25, in manage_addJMColorPickerForm
     return _addJMColorPickerForm.__of__(self)(Kind='JMColorPicker')
   File 
"/usr/local/Zope/2.7.1/lib/python/Shared/DC/Scripts/Bindings.py", line 
306, in __call__
     return self._bindAndExec(args, kw, None)
   File 
"/usr/local/Zope/2.7.1/lib/python/Shared/DC/Scripts/Bindings.py", line 
343, in _bindAndExec
     return self._exec(bound_data, args, kw)
   File 
"/usr/local/Zope/2.7.1/lib/python/Products/PageTemplates/PageTemplateFile.py", 
line 106, in _exec
     return self.pt_render(extra_context=bound_names)
   File 
"/usr/local/Zope/2.7.1/lib/python/Products/PageTemplates/PageTemplate.py", 
line 96, in pt_render
     tal=not source, strictinsert=0)()
   File "/usr/local/Zope/2.7.1/lib/python/TAL/TALInterpreter.py", line 
189, in __call__
     self.interpret(self.program)
   File "/usr/local/Zope/2.7.1/lib/python/TAL/TALInterpreter.py", line 
233, in interpret
     handlers[opcode](self, args)
   File "/usr/local/Zope/2.7.1/lib/python/TAL/TALInterpreter.py", line 
656, in do_useMacro
     self.position)
METALError: macro 'here/generic_add/macros/addHeader' has incompatible 
version '1.4', at line 1, column 1

I don't know what "version '1.4'" means, I'm not defining such thing.

Thanks in advanced,
Josef


More information about the Zope mailing list