ports/101166: bittorrent-curses only works under English locales.
Tian-Jian Jiang
barabbas at gmail.com
Tue Aug 1 11:50:24 UTC 2006
>Number: 101166
>Category: ports
>Synopsis: bittorrent-curses only works under English locales.
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 01 11:50:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Tian-Jian Jiang
>Release: 6.1
>Organization:
IASL, IIS, SINICA
>Environment:
FreeBSD 6.1-STABLE #20: Tue Jun 6 10:27:46 CST 2006 i386
>Description:
If the LC_ALL, LANG or other related locale environment settings are all zh_TW.UTF-8, for example, bittorrent-curses will complain these:
Traceback (most recent call last):
File "/usr/local/bin/bittorrent-curses", line 561, in ?
printHelp(uiname, defaults)
File "/usr/local/lib/python2.4/site-packages/BitTorrent/parseargs.py", line 69, in printHelp
print makeHelp(uiname, defaults)
File "/usr/local/lib/python2.4/site-packages/BitTorrent/parseargs.py", line 65, in makeHelp
ret += _("arguments are -\n") + formatDefinitions(defaults, 80)
File "/usr/local/lib/python2.4/site-packages/BitTorrent/parseargs.py", line 96, in formatDefinitions
s.write(indent + word)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 10-12: ordinal not in range(128)
>How-To-Repeat:
Set LC_ALL, LC_CTYPE or LANG to zh_TW.UTF-8 or zh_TW.Big5, and then execute bittorrent-curses.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list