Ticket #195 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

exception during closing tab for some scan profiles (as root)

Reported by: getxsick Owned by: gpolo
Priority: high Milestone: Umit 1.0beta1
Component: Umit Version: current svn
Keywords: Cc:

Description

read #194 first.

in this case, we don't have to save the scan. just scan some of listed in #194 profiles, and then close the tab.

here is the exception:

Traceback (most recent call last):
  File "/home/xsx/__usrsrc__/umit/umitGUI/MainWindow.py", line 450, in _close_scan_cb
    self.store_result(page, filename)
  File "/home/xsx/__usrsrc__/umit/umitGUI/MainWindow.py", line 517, in store_result
    page.parsed.write_xml(f)
  File "/home/xsx/__usrsrc__/umit/umitCore/NmapParser.py", line 1140, in write_xml
    self._write_hosts()
  File "/home/xsx/__usrsrc__/umit/umitCore/NmapParser.py", line 1340, in _write_hosts
    "values":host.tcpsequence.get("values", "")}))
  File "/usr/lib/python2.5/xml/sax/saxutils.py", line 132, in startElement
    self._write(' %s=%s' % (name, quoteattr(value)))
  File "/usr/lib/python2.5/xml/sax/saxutils.py", line 73, in quoteattr
    data = escape(data, entities)
  File "/usr/lib/python2.5/xml/sax/saxutils.py", line 39, in escape
    data = data.replace("&", "&")
AttributeError: 'int' object has no attribute 'replace'

Change History

Changed 4 years ago by gpolo

  • status changed from new to closed
  • resolution set to fixed

This has been fixed in the changeset 3927

Note: See TracTickets for help on using tickets.