Re: Crash Report

Daniel Miller <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <CABmvJnNCHNaz6wCLZZLZ86TGbE2gmMrGg3GCP=+SerWH34npdA@mail.gmail.com>
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 <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.