Nmap Development mailing list archives

Re: Crash Report


From: David Fifield <david () bamsoftware com>
Date: Fri, 26 Jul 2013 19:00:14 -0700

On Fri, Jun 28, 2013 at 09:57:55PM +0400, Дмитрий Никитич wrote:
Version: 6.26SVN
Traceback (most recent call last):
  File "/usr/local/bin/zenmap", line 157, in <module>
    zenmapGUI.App.run()
  File "/usr/local/lib/python2.7/dist-packages/zenmapGUI/App.py", line 232, in run
    zenmapCore.I18N.install_gettext(Path.locale_dir)
  File "/usr/local/lib/python2.7/dist-packages/zenmapCore/I18N.py", line 133, in install_gettext
    t = gettext.translation(APP_NAME, locale_dir, languages = get_locales(), fallback = True)
  File "/usr/lib/python2.7/gettext.py", line 493, in translation
    t = _translations.setdefault(key, class_(fp))
  File "/usr/lib/python2.7/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.7/gettext.py", line 313, in _parse
    v = v.split(';')
AttributeError: 'list' object has no attribute 'split'

Thanks for this report. By searching for the error string, I found some
similar bug reports on issue trackers.

http://bugs.python.org/issue1448060
https://bugzilla.redhat.com/show_bug.cgi?id=252136

It seems that some versions of Python gettext have a problem when a
certain datum "Plural-Forms" has two lines. I'm guessing that you use
the Russian localization--I found that our Russian translation (ru.po)
had a Plural-Forms of two lines. I modified it to take one in r31544.

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

Current thread: