xml.dom.minidom parser error

revyakin revyakin at yahoo.com
Mon Sep 30 22:32:18 CEST 2002

Hi all,

We recently upgraded from OS X to 10.2, and from python 2.1 to python
After that my xml parser stopped working: when I attempt to parse an
xml string I get the error shown below.
I don't know whether it matters, but we also installed PIL recently,
and there's a reference to PIL in the error log as well.
Any ideas what this could mean? Writing a parser by myself does not
sound exciting.


>>> q=xml.dom.minidom.parseString('<body />')
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/minidom.py",
line 965, in parseString
  File "/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/minidom.py",
line 951, in _doparse
  File "/BinaryCache/python/python-3.root~193/usr/lib/python2.2/xml/dom/pulldom.py",
line 340, in parseString
  File "/usr/lib/python2.2/site-packages/PIL/__init__.py", line 93, in
    # ;-)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

More information about the Python-list mailing list