Nmap Development mailing list archives

Re: zenmap Error Message after launching the application


From: David Fifield <david () bamsoftware com>
Date: Sun, 28 Jul 2013 18:24:08 -0700

On Mon, Jul 29, 2013 at 01:41:36AM +0100, Femi Oladele wrote:
Version: 6.00
Traceback (most recent call last):
  File "/usr/bin/zenmap", line 158, in <module>
    zenmapGUI.App.run()
  File "/usr/lib/python2.7/dist-packages/zenmapGUI/App.py", line 233, in run
    zenmapCore.I18N.install_gettext(Path.locale_dir)
  File "/usr/lib/python2.7/dist-packages/zenmapCore/I18N.py", line 128, in install_gettext
    t = gettext.translation(APP_NAME, locale_dir, languages = get_locales(), fallback = True)
  File "/usr/lib/python2.7/dist-packages/zenmapCore/I18N.py", line 109, in get_locales
    loc, enc = locale.getdefaultlocale()
  File "/usr/lib/python2.7/locale.py", line 511, in getdefaultlocale
    return _parse_localename(localename)
  File "/usr/lib/python2.7/locale.py", line 443, in _parse_localename
    raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: en_NG

Thanks for this report. Please try version 6.25. It has a fix for the
en_NG locale.

http://seclists.org/nmap-dev/2012/q3/273
http://nmap.org/changelog.html
o [Zenmap] Fixed a crash when using the en_NG locale: "ValueError:
  unknown locale: en_NG" [David Fifield]

As a workaround, you can change your locale to en_NG.UTF-8.
http://nmap.org/book/zenmap-lang.html

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


Current thread: