Nmap Development mailing list archives
Re: Zenmap crash
From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 19 Oct 2015 18:41:01 -0500
Govno, Thanks for the report. This has been fixed in our development branch, and the fix will be in the next release. Here is the change: diff --git a/zenmap/zenmapGUI/DiffCompare.py b/zenmap/zenmapGUI/DiffCompare.py index 9389fb1..1a37305 100644 --- a/zenmap/zenmapGUI/DiffCompare.py +++ b/zenmap/zenmapGUI/DiffCompare.py @@ -302,7 +302,10 @@ 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.get_nmap_output() + if self.parsed_scan is not None: + return self.parsed_scan.get_nmap_output() + else: + return None nmap_output = property(get_nmap_output) parsed_scan = property(get_parsed_scan) Dan On Mon, Oct 19, 2015 at 6:08 PM, Govno Ebanoe <govno1ebanoe () gmail com> wrote:
Zenmap on my Archlinux desktop trying to compare scan results and... than he it's crashed. And ask me to send this traceback to an email address. As I do. Thanks for nice gui-frontend to nice tool :3 Version: 6.47 Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/zenmapGUI/DiffCompare.py", line 204, in show_scan nmap_output = self.get_nmap_output() File "/usr/lib/python2.7/site-packages/zenmapGUI/DiffCompare.py", line 306, in get_nmap_output return self.parsed_scan.get_nmap_output() AttributeError: 'NoneType' object has no attribute 'get_nmap_output' _______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Zenmap crash Govno Ebanoe (Oct 19)
- Re: Zenmap crash Daniel Miller (Oct 19)
- <Possible follow-ups>
- Zenmap Crash Emily Ann (Oct 20)