Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xml.sax.make_parser() returns "No parsers found" #59044

Closed
rkoziol7 mannequin opened this issue May 17, 2012 · 2 comments
Closed

xml.sax.make_parser() returns "No parsers found" #59044

rkoziol7 mannequin opened this issue May 17, 2012 · 2 comments
Labels
topic-XML type-bug An unexpected behavior, bug, or error

Comments

@rkoziol7
Copy link
Mannequin

rkoziol7 mannequin commented May 17, 2012

BPO 14839

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2012-05-17.16:31:05.364>
created_at = <Date 2012-05-17.08:42:52.702>
labels = ['expert-XML', 'type-bug', 'invalid']
title = 'xml.sax.make_parser() returns "No parsers found"'
updated_at = <Date 2012-05-17.16:31:05.362>
user = 'https://bugs.python.org/rkoziol7'

bugs.python.org fields:

activity = <Date 2012-05-17.16:31:05.362>
actor = 'Arfrever'
assignee = 'none'
closed = True
closed_date = <Date 2012-05-17.16:31:05.364>
closer = 'Arfrever'
components = ['XML']
creation = <Date 2012-05-17.08:42:52.702>
creator = 'rkoziol7'
dependencies = []
files = []
hgrepos = []
issue_num = 14839
keywords = []
message_count = 2.0
messages = ['160954', '160978']
nosy_count = 2.0
nosy_names = ['Arfrever', 'rkoziol7']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue14839'
versions = ['Python 2.7']

@rkoziol7
Copy link
Mannequin Author

rkoziol7 mannequin commented May 17, 2012

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

@rkoziol7 rkoziol7 mannequin added topic-XML type-bug An unexpected behavior, bug, or error labels May 17, 2012
@Arfrever
Copy link
Mannequin

Arfrever mannequin commented May 17, 2012

Your Python is missing pyexpat.so module, which is built only when expat library has been found. Check build log of Python to see why pyexpat.so is not available. (Maybe expat headers are not installed.)

@Arfrever Arfrever mannequin closed this as completed May 17, 2012
@Arfrever Arfrever mannequin added the invalid label May 17, 2012
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-XML type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

0 participants