
Nmap Development mailing list archives
Re: Zenmap 7.40: Trying to add new profile
From: Daniel Miller <bonsaiviking () gmail com>
Date: Mon, 6 Mar 2017 19:30:21 -0600
Vincent, Thanks for the report. This is an avoidable error, but I also added some code in r36619 that will prevent it from crashing Zenmap in the future. The problem is that your profile's description is followed by an unparseable line. When this happens, the description is returned as a list instead of as a string, and parsing of the config file stops. Its only later that the list is used as an input to set_text() and causes the exception to be thrown. So the real fix is to fix the syntax of your config file. In particular, the description should either be all on one line or wrapped with leading whitespace: description = This is ok, even if the line is really long. description = This is not ok because this line breaks the parsing. description = This is ok because the next line starts with whitespace. Dan On Mon, Mar 6, 2017 at 10:06 AM, Vincent Hotmail <vincegaw () hotmail com> wrote:
Hello Zenmap Support!! I am tring to add a New Profile. What am I doing wrong or how can I correct my Profile file? Version: 7.40 Traceback (most recent call last): File "zenmapGUI\MainWindow.pyo", line 816, in _edit_scan_profile_cb File "zenmapGUI\ProfileEditor.pyo", line 170, in __init__ TypeError: GtkTextBuffer.set_text() argument 1 must be string or read-only buffer, not list The new profile's name is "SSH_Probe" or "SSH Probe". Regards, Vincent <http://aka.ms/weboutlook> _______________________________________________ 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 7.40: Trying to add new profile Vincent Hotmail (Mar 06)
- Re: Zenmap 7.40: Trying to add new profile Daniel Miller (Mar 06)