Ticket #195 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.
