Nmap Development mailing list archives
Re: crash report
From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 29 Apr 2014 09:30:05 -0500
On 04/28/2014 09:17 PM, Ryan Alban wrote:
Hi- I've encountered the following when trying to open a scan to perform a comparison between two scans via the GUI. The crash occus on Windows 8.1 update 1 after choosing a file from the file-picker dialogue. Version: 6.46 Traceback (most recent call last): File "zenmapGUI\DiffCompare.pyo", line 201, in show_scan TypeError: GtkTextBuffer.set_text() argument 1 must be string or read-only buffer, not NmapParserSAX log file output is as follows: C:\Program Files (x86)\Nmap\py2exe\library.zip\zenmapGUI\MainWindow.py:722: GtkWarning: Could not find the icon 'gtk-file'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases Traceback (most recent call last): File "zenmapGUI\DiffCompare.pyo", line 201, in show_scan TypeError: GtkTextBuffer.set_text() argument 1 must be string or read-only buffer, not NmapParserSAX C:\Program Files (x86)\Nmap\py2exe\library.zip\zenmapGUI\DiffCompare.py:245: GtkWarning: Could not find the icon '"%1"'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases Traceback (most recent call last): File "zenmapGUI\DiffCompare.pyo", line 201, in show_scan TypeError: GtkTextBuffer.set_text() argument 1 must be string or read-only buffer, not NmapParserSAX _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Ryan and Alexandre,Thanks for this crash report. We fixed this in the development branch, but there is currently no release with the fix. Here is the patch (quite simple) if you can edit the Zenmap Python source:
--- a/zenmap/zenmapGUI/DiffCompare.py +++ b/zenmap/zenmapGUI/DiffCompare.py @@ -298,7 +298,7 @@ class ScanChooser(HIGVBox): def get_nmap_output(self):"""Return the currently selected scan's output as a string, or None if
no valid scan is selected.""" - return self.parsed_scan + return self.parsed_scan.get_nmap_output() nmap_output = property(get_nmap_output) parsed_scan = property(get_parsed_scan) Dan _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Crash report jim.bishop () siriuscom com (Apr 09)
- Re: Crash report Daniel Miller (Apr 10)
- Re: Crash report Jacek Wielemborek (Apr 10)
- RE: Crash report David Moody (Apr 10)
- Re: Crash report Raul Fuentes (Apr 11)
- Re: Crash report Jacek Wielemborek (Apr 10)
- Re: Crash report Daniel Miller (Apr 10)
- <Possible follow-ups>
- Crash Report Isaac Aguilar (Apr 14)
- Crash Report theo w sakti (Apr 14)
- crash report Ryan Alban (Apr 28)
- Re: crash report Daniel Miller (Apr 29)
- Re: crash report Alexandre C Passos (Apr 30)
- Re: crash report Daniel Miller (Apr 29)
- crash report Beau Gibbs (May 02)
- Crash Report Chris Moore (May 14)
- Re: Crash Report Jacek Wielemborek (May 16)
- Re: Crash Report Fyodor (May 21)
- Re: Crash Report Jacek Wielemborek (May 16)
- Crash report Scott Link (Jun 19)