Package: unicode
Version: 2.2
Severity: important
Hi!
Since unicode-data has been updated to 9.0-1, all functions of "unicode"
other than -w crash:
[~]$ unicode x
Traceback (most recent call last):
File "/usr/bin/unicode", line 906, in <module>
print_characters(processed_args, options.maxcount, format_string,
options.query_wikipedia, options.query_wiktionary)
File "/usr/bin/unicode", line 689, in print_characters
unicode_block = get_unicode_block(c)
File "/usr/bin/unicode", line 238, in get_unicode_block
unicodeblocks = get_unicode_blocks_descriptions()
File "/usr/bin/unicode", line 223, in get_unicode_blocks_descriptions
if line.startswith('#') or ';' not in line or '..' not in line:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal
not in range(128)
[~]$ unicode -r face
Traceback (most recent call last):
File "/usr/bin/unicode", line 906, in <module>
print_characters(processed_args, options.maxcount, format_string,
options.query_wikipedia, options.query_wiktionary)
File "/usr/bin/unicode", line 689, in print_characters
unicode_block = get_unicode_block(c)
File "/usr/bin/unicode", line 238, in get_unicode_block
unicodeblocks = get_unicode_blocks_descriptions()
File "/usr/bin/unicode", line 223, in get_unicode_blocks_descriptions
if line.startswith('#') or ';' not in line or '..' not in line:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal
not in range(128)
Degrading unicode-data to 8.0-3 makes it work again.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (150, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.6.2-x32+ (SMP w/6 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages unicode depends on:
pn python:any <none>
Versions of packages unicode recommends:
ii unicode-data 9.0-1
unicode suggests no packages.
-- no debconf information