[issue14839] xml.sax.make_parser() returns "No parsers found"

Robert Koziol report at bugs.python.org
Thu May 17 10:42:53 CEST 2012


New submission from Robert Koziol <rkoziol7 at gmail.com>:

Hi all,

It seems a little weird for me but I can not find this bug created. So I create one.

Invoking xml.sax.make_parser() returns an Exception - as in the following example:

Python 2.7.3rc2 (default, Mar 21 2012, 06:59:11)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.sax
>>> xml.sax.make_parser()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/xml/sax/__init__.py", line 93, in make_parser
    raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found


Kind regards,
Rob

----------
components: XML
messages: 160954
nosy: rkoziol7
priority: normal
severity: normal
status: open
title: xml.sax.make_parser() returns "No parsers found"
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14839>
_______________________________________


More information about the Python-bugs-list mailing list