Dear List On my FreeBSD box I get this error: 'xml.sax.expatreader' module has no attribute 'create_parser' Google tells me that maybe the xml-support is not installed. This seems a bit strange to me since the tranceback is: File /var/zope-sites/Nettalk/Extensions/parse_xml.py, line 325, in parse File /usr/local/lib/python2.1/xml/sax/__init__.py, line 43, in parseString File /usr/local/lib/python2.1/xml/sax/__init__.py, line 76, in make_parser File /usr/local/lib/python2.1/xml/sax/__init__.py, line 101, in _create_parser Any idea what the problem might be? \Oliver
On Thu, Oct 24, 2002 at 10:23:28PM +0200, Oliver Marx wrote:
On my FreeBSD box I get this error:
'xml.sax.expatreader' module has no attribute 'create_parser'
Google tells me that maybe the xml-support is not installed.
This seems a bit strange to me since the tranceback is:
File /var/zope-sites/Nettalk/Extensions/parse_xml.py, line 325, in parse File /usr/local/lib/python2.1/xml/sax/__init__.py, line 43, in parseString File /usr/local/lib/python2.1/xml/sax/__init__.py, line 76, in make_parser File /usr/local/lib/python2.1/xml/sax/__init__.py, line 101, in _create_parser
Any idea what the problem might be?
Python comes by default with a xml.sax package that can work with the pyexpat package; but the latter package only gets built on UNIX boxes if the Expat libraries have been installed. The Python xml-support package includes the pyexpat package for you, plus updated/expanded XML python libraries. Or so I understand. ;) -- Martijn Pieters | Software Engineer mailto:mj@zope.com | Zope Corporation http://www.zope.com/ | Creators of Zope http://www.zope.org/ ---------------------------------------------
participants (2)
-
Martijn Pieters -
Oliver Marx