[Zope] Broken page templates in 2.5.0

benpc@widemedia.com benpc@widemedia.com
Sun, 10 Feb 2002 14:02:13 +0000


I have just installed a vanilla source build of Zope 2.5.0 and all the included page templates are broken. If I click on one in the ZMI, or call a page template page I get a PTRuntimeError with the following traceback:

Traceback (innermost last):
  File /var/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 150, in publish_module
  File /var/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 114, in publish
  File /var/zope/2-5-0/lib/python/Zope/__init__.py, line 158, in zpublisher_exception_hook
    (Object: Examples)
  File /var/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /var/zope/2-5-0/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: index_html)
  File /var/zope/2-5-0/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: index_html)
  File /var/zope/2-5-0/lib/python/Shared/DC/Scripts/Bindings.py, line 252, in __call__
    (Object: index_html)
  File /var/zope/2-5-0/lib/python/Shared/DC/Scripts/Bindings.py, line 283, in _bindAndExec
    (Object: index_html)
  File /var/zope/2-5-0/lib/python/Products/PageTemplates/ZopePageTemplate.py, line 207, in _exec
    (Object: index_html)
  File /var/zope/2-5-0/lib/python/Products/PageTemplates/PageTemplate.py, line 76, in pt_render
    (Object: index_html)
PTRuntimeError: Page Template index_html has errors.

Any ideas? 

cheers
Ben
==============
WideMedia Ltd
PO Box 33052
London W9 2XE   

Tel: 020 7286 7660
www.widemedia.com