Nmap Development mailing list archives

Re: Crash Report


From: Daniel Miller <bonsaiviking () gmail com>
Date: Thu, 1 Jun 2017 22:54:41 -0500

Zafer,

It looks like there's something wrong with your Python installation. It
looks like on Ubuntu 16.04, the pyexpat module is provided by the
libpython2.7-stdlib package. You should try to reinstall either this
package or python2.7 itself:

sudo apt-get install --reinstall python2.7

and if that doesn't work:

sudo apt-get install --reinstall libpython2.7-stdlib

Dan

On Thu, Jun 1, 2017 at 4:13 PM, Zafer AKTAN <zafer.aktan () rolands com> wrote:

Traceback (most recent call last):
  File "./zcheckParser.py", line 6, in <module>
    r = __import__(p, {}, {}, ["create_parser"])
  File "/usr/lib/python2.7/xml/sax/expatreader.py", line 24, in <module>
    raise SAXReaderNotAvailable("expat not supported", None)
xml.sax._exceptions.SAXReaderNotAvailable: expat not supported


On 06/01/2017 08:32 AM, Daniel Miller wrote:
import xml.sax
for p in xml.sax.default_parser_list:
    print p
    r = __import__(p, {}, {}, ["create_parser"])
    print repr(r.create_parser())

--
Zafer AKTAN
ROLANDS & ASSOCIATES, Corporation
120 Del Rey Gardens Drive
Del Rey Oaks, CA 93940
831.373.2025
Fax 831.373.2841


_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: