Nmap Development mailing list archives

Re: Error when executing nmap 6.47


From: Daniel Miller <bonsaiviking () gmail com>
Date: Thu, 11 Sep 2014 12:54:04 -0500

On Mon, Sep 8, 2014 at 7:53 AM, Denis O. Landry <denislan () msn com> wrote:

 Version: 6.47
Traceback (most recent call last):
  File "zenmap", line 189, in <module>
  File "zenmapGUI\App.pyo", line 331, in run
  File "zenmapGUI\App.pyo", line 188, in new_window
  File "zenmapGUI\MainWindow.pyo", line 211, in __init__
  File "zenmapGUI\MainWindow.pyo", line 426, in _create_ui_manager
  File "zenmapGUI\MainWindow.pyo", line 490, in get_recent_scans
TypeError: must be encoded string without NULL bytes, not str


Denis,

This error means that there is a NULL character in a filename that we're
trying to open. I'm not sure why this would be, but you should be able to
fix the crash by deleting the "%USERPROFILE%\.zenmap\recent_scans" file. If
you wouldn't mind sending a copy of that file in response to this message,
we can check if there's anything we need to do to better handle this case.
It should just contain a list of recent Nmap XML files separated by
semicolons.

Dan
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: