Nmap Development mailing list archives

Re: zenmap crash in NmapParser.py


From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 20 May 2014 21:14:32 -0500

On Tue, May 20, 2014 at 9:05 PM, Daniel Miller <bonsaiviking () gmail com>wrote:


Jiří, Chris, and Etienne,

Thank you for your bug reports. This crash is happening because you have
PyXML installed. Python 2's standard library provides XML support through
the xml library [1], but for legacy reasons if it detects PyXML installed,
it will import that instead [2]. The two codebases have diverged, since
PyXML has not been actively developed for over 10 years and has been
abandoned by its maintainers. Crashes of this sort are common with code
that was written for Python 2.4 (as PyXML was).

For now, your best option is to uninstall PyXML. I will continue to
research and see if there is a solution to prevent Python from importing it
if it is present. Your bug reports are appreciated.

Happy scanning,

Dan


Sorry, forgot the references:

[1] https://docs.python.org/2/library/xml.html
[2] https://fedoraproject.org/wiki/Features/RemovePyXML
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: