Nmap Development mailing list archives

Re: zenmap crash


From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 4 Jun 2014 21:39:37 -0500

Martin,

Thank you for this bug report. This crash is caused by an old and
unsupported Python library, PyXML. If you can uninstall it, Zenmap will
work again. Alternatively, we have applied a workaround in the latest
development version which ought to work. You can find the workaround in
this thread: http://seclists.org/nmap-dev/2014/q2/320

Dan




On Wed, Jun 4, 2014 at 12:54 AM, Martin Angermeier <unreality1987 () gmail com>
wrote:

Crashlog trying to PingScan my local network 192.168.178.0/24 (same
happens
with Intense Scan)

Version: 6.46
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/zenmapGUI/ScanInterface.py", line
597, in verify_execution
    self.load_from_command(scan)
  File "/usr/lib/python2.7/site-packages/zenmapGUI/ScanInterface.py", line
613, in load_from_command
    parsed.parse_file(command.get_xml_output_filename())
  File "/usr/lib/python2.7/site-packages/zenmapCore/NmapParser.py", line
799, in parse_file
    self.parse(f)
  File "/usr/lib/python2.7/site-packages/zenmapCore/NmapParser.py", line
793, in parse
    self.parser.parse(f)
  File "/usr/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line
109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py", line
123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line
216, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.7/site-packages/_xmlplus/sax/expatreader.py", line
312, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/lib/python2.7/site-packages/zenmapCore/NmapParser.py", line
953, in startElement
    self._parse_nmaprun(attrs)
  File "/usr/lib/python2.7/site-packages/zenmapCore/NmapParser.py", line
807, in _parse_nmaprun
    if self._nmap_output is None and "nmap_output" in attrs:
  File "/usr/lib/python2.7/site-packages/_xmlplus/sax/xmlreader.py", line
316, in __getitem__
    return self._attrs[name]
KeyError: 0
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

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


Current thread: