On 3/23/07, Mark, Jonathan (Integic) <[EMAIL PROTECTED]> wrote:
Module TAL.XMLParser, line 48, in __init__
Module TAL.XMLParser, line 72, in createParser
Nothing got corrupted, your python lost it's expat XML parser:
def createParser(self, encoding=None):
global XMLParseError
try:
from Products.ParsedXML.Expat import pyexpat
XMLParseError = pyexpat.ExpatError
return pyexpat.ParserCreate(encoding, ' ')
except ImportError:
from xml.parsers import expat
XMLParseError = expat.ExpatError
return expat.ParserCreate(encoding, ' ')
In other words, reinstall expat and your ZPT page will reappear.
--
Martijn Pieters
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )