No parsers found...
Shagshag13
shagshag13 at yahoo.fr
Wed May 29 05:02:44 EDT 2002
I'd written a script which use a dom parser, try to use it on a HP-UX system
and here is what i get:
Traceback (most recent call last):
File "./one_by_line.py", line 100, in ?
lines_to_write = process_string_including_tags(line)
File "./one_by_line.py", line 63, in process_string_including_tags
dom = parseString(xml_string)
File "/home/shagshag/local/lib/python2.2/xml/dom/minidom.py", line 967, in
parseString
return _doparse(pulldom.parseString, args, kwargs)
File "/home/shagshag/local/lib/python2.2/xml/dom/minidom.py", line 953, in
_doparse
events = apply(func, args, kwargs)
File "/home/shagshag/local/lib/python2.2/xml/dom/pulldom.py", line 340, in
parseString
parser = xml.sax.make_parser()
File "/home/shagshag/local/lib/python2.2/xml/sax/__init__.py", line 93, in
make_parser
raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
i've find many post about building expat.so,
but i don't know how to build it and where to find it.
(can't reach http://sourceforge.net/projects/expat/)
thanks in advance,
s13.
More information about the Python-list
mailing list