[Bug 3482] New: help -k localization error

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Sun Jun 3 19:55:34 CDT 2012


http://bz.selenic.com/show_bug.cgi?id=3482

          Priority: normal
            Bug ID: 3482
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: help -k localization error
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: kiilerix at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

Apparently some kind of double localization.

Mercurial Distributed SCM (version 2.2.2+10-0a0cf3f26938)

$ LANG=da_DK.utf8 ./hg help -k commit
** Unknown exception encountered with possibly-broken third-party extension
hg-git
** which supports versions unknown of Mercurial.
** Please disable hg-git and try your action again.
** If that fixes the bug please report it to the extension author.
** Python 2.7.3 (default, Apr 30 2012, 21:18:10) [GCC 4.7.0 20120416 (Red Hat
4.7.0-2)]
** Mercurial Distributed SCM (version 2.2.2+10-0a0cf3f26938)
** Udvidelser indlæst: patchbomb, graphlog, mq, hg-git, mbox, convert, extdiff,
transplant, rebase, interhg
Traceback (most recent call last):
  File "./hg", line 38, in <module>
    mercurial.dispatch.run()
  File "/home/mk/hg/mercurial/dispatch.py", line 28, in run
    sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
  File "/home/mk/hg/mercurial/dispatch.py", line 65, in dispatch
    return _runcatch(req)
  File "/home/mk/hg/mercurial/dispatch.py", line 88, in _runcatch
    return _dispatch(req)
  File "/home/mk/hg/mercurial/dispatch.py", line 739, in _dispatch
    cmdpats, cmdoptions)
  File "/home/mk/hg/mercurial/dispatch.py", line 513, in runcommand
    ret = _runcommand(ui, options, cmd, d)
  File "/home/mk/hg/mercurial/dispatch.py", line 829, in _runcommand
    return checkargs()
  File "/home/mk/hg/mercurial/dispatch.py", line 800, in checkargs
    return cmdfunc()
  File "/home/mk/hg/mercurial/dispatch.py", line 736, in <lambda>
    d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
  File "/home/mk/hg/mercurial/util.py", line 475, in check
    return func(*args, **kwargs)
  File "/home/mk/hg/mercurial/commands.py", line 3330, in help_
    matches = help.topicmatch(kw)
  File "/home/mk/hg/mercurial/help.py", line 82, in topicmatch
    or lowercontains(doc())):
  File "/home/mk/hg/mercurial/help.py", line 73, in lowercontains
    return kw in encoding.lower(_(container))
  File "/home/mk/hg/mercurial/i18n.py", line 42, in gettext
    u = u'\n\n'.join([p and t.ugettext(p) or '' for p in paragraphs])
  File "/usr/lib/python2.7/gettext.py", line 406, in ugettext
    return unicode(message)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 82:
ordinal not in range(128)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list