[Reportbug-maint] Bug#450674: reportbug: Problems with UTF-8 in data retrieved from BTS

GSR gsr.bugs at infernal-iceberg.com
Tue Jun 2 20:20:30 UTC 2009

Package: reportbug
Version: 4.4
Severity: normal


It seems there are still some problems with UTF-8.

$ reportbug -M xkb-data
Detected character set: UTF-8
Please change your locale if this is incorrect.

Using 'GSR <gsr.bugs at infernal-iceberg.com>' as your from address.
Getting status for xkb-data...
Checking for newer versions at packages.debian.org...
Will send report to Debian (per lsb_release).
Querying Debian BTS for reports on xkeyboard-config (source)...
36 bug reports found:

Outstanding bugs -- Important bugs; More information needed (1 bug)
   1) #514846  UK AT keyboard does not work on IBM compatible computers

Outstanding bugs -- Normal bugs; Unclassified (7 bugs)
   2) #497341  [xkb-data] README.Debian customised layouts section instructions
   3) #498915  xkb-data: Non-breakable spaces in Russian layout
   4) #509046  russian keyboard layout incompatible with latin layouts
   5) #513981  xkb-data: missing key for Sun Type 6 euro usb
   6) #517697  xkb-data: PK keyboard Layout letters dont join properly
   7) #526702  xkb-data: error with model=macbook79 layout=us variant=mac
   8) #530816  xkb-data: error with model=macintosh layout=fr variant=latin9

Outstanding bugs -- Normal bugs; More information needed (2 bugs)
   9) #480024  xkb-data 1.2 doesn't support swedish letters
  10) #519742  Duplicate definitions for XF86AudioMedia in xkb/symbols/inet

Outstanding bugs -- Wishlist items; Patch Available (1 bug)
  11) #522260  xkb-data: Support for Genius KKB-2050U keyboard

Outstanding bugs -- Wishlist items; Unclassified (5 bugs)
  12) #317091  gnome-keyboard-applet: only four languages allowed!
  13) #487951  xkb-data: Please document possible layouts, variants and options
  14) #520625  /usr/bin/kxkb: Can't add more than 4 keyboard layouts.
  15) #521195  Please bring back the old French dvorak layout
  16) #526004  It would be nice to have italian coder variant in xkb-data

Outstanding bugs -- Wishlist items; More information needed (1 bug)
  17) #530820  xkb-data: Please add il variant to replace underscore with hebre

Outstanding bugs -- Wishlist items; Will Not Fix (1 bug)
  18) #56173  xlibs: [xkb] pc geometry file has wrong colors for some function 

Forwarded bugs -- Important bugs (2 bugs)
  19) #409612  xlibs-data: Modifier mappings broken
  20) #469335  rules/base references nonexistent symbols/sun_vndr/us(sun[45])

Forwarded bugs -- Normal bugs (3 bugs)
  21) #463373  xkb-data: grp:alts_toggle broken
  22) #483683  xkb-data: "grp:alts_toggle" correction patch
  23) #483687  xkb-data: "grp:alts_toggle" correction patch

Forwarded bugs -- Minor bugs (2 bugs)
  24) #291853  xkbcomp warns about <RALT> having 2 symbols
  25) #296616  xbase-clients: xkbcomp gives warnings

Resolved bugs -- Important bugs (4 bugs)
  26) #513557  Patches for Crimean Tatar (Crimean Turkish) keyboard layouts
  27) #514097  xkb-data broke pc104
  28) #514975  xkb-data: Keyboard unuseable with version 1.5-2
  29) #530585  hal: HAL registers too many keyboard devices

Resolved bugs -- Normal bugs (6 bugs)
  30) #405940  combine key dosn't work anymore
  31) #513426  xkb-data: canadian layout is misleading
  32) #514409  xkb-data does not support cz_qwerty anymore
  33) #515152  xserver-xorg: xkb no longer works
Traceback (most recent call last):
  File "/usr/bin/reportbug", line 1877, in <module>
  File "/usr/bin/reportbug", line 895, in main
    return iface.user_interface()
  File "/usr/bin/reportbug", line 1436, in user_interface
  File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 534, in handle_bts_query
    mirrors, http_proxy, screen, title)
  File "/usr/lib/pymodules/python2.5/reportbug/ui/text_ui.py", line 616, in browse_bugs
    sys.stderr.write(line.decode('utf-8').encode(output_encoding, "replace"))
  File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 78-79: invalid data

Guessing, "34)" would be #524390.

-- Package-specific info:
** /home/unnamed/.reportbugrc:
reportbug_version "3.32"
mode standard
ui urwid
realname "GSR"
email "gsr.bugs at infernal-iceberg.com"

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.21     Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.4        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                 1.5.26     debconf utilities
pn  debsums                       <none>     (no description available)
pn  dlocate                       <none>     (no description available)
ii  exim4                         4.69-11    metapackage to ease Exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.69-11    lightweight Exim MTA (v4) daemon
ii  file                          5.03-1     Determines file type using "magic"
ii  gnupg                         1.4.9-4    GNU privacy guard - a free PGP rep
pn  python-gnome2-extras          <none>     (no description available)
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge
pn  python-urwid                  <none>     (no description available)
pn  python-vte                    <none>     (no description available)

-- no debconf information

More information about the Reportbug-maint mailing list