Nmap Development mailing list archives

Re: crash report


From: Daniel Miller <bonsaiviking () gmail com>
Date: Fri, 18 Mar 2016 10:50:45 -0500

Thanks for this bug report! We're having trouble setting the locale on OS
X, so Zenmap currently uses a blank locale, which apparently causes this
function to crash. I've just pushed a fix in r35712 that should avoid the
issue, and you can apply it yourself by downloading the attached patch and
running:

sudo patch
"/Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages/zenmapCore/NmapParser.py"
r35712.patch

On Fri, Mar 18, 2016 at 4:27 AM, R.A.P. Ygosse <r.ygosse () gmail com> wrote:

Version: 7.10
Traceback (most recent call last):
  File
"/Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages/zenmapGUI/ScanNmapOutputPage.py",
line 293, in _show_details
    window.add(ScanRunDetailsPage(entry.parsed))
  File
"/Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages/zenmapGUI/ScanRunDetailsPage.py",
line 245, in __init__
    self._set_from_scan(scan)
  File
"/Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages/zenmapGUI/ScanRunDetailsPage.py",
line 256, in _set_from_scan
    self.info_start_label.set_text(scan.get_formatted_date())
  File
"/Applications/Zenmap.app/Contents/Resources/lib/python2.7/site-packages/zenmapCore/NmapParser.py",
line 627, in get_formatted_date
    locale.getpreferredencoding())
LookupError: unknown encoding:


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

Attachment: r35712.patch
Description:

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

Current thread: