Bug#484136: system-config-printer: Application refuses to start (UnicodeDecodeError)

Daniel R. danielrodriguez.es at gmail.com
Mon Jun 2 17:05:55 UTC 2008


Package: system-config-printer
Version: 0.7.81-3
Severity: grave
Justification: renders package unusable

Hello, 

As of today (2-June-2008), whenever I try to start system-config-printer
it just briefly shows a window and stops executing.

If started from console, it shows an error stating there is a (python) 
parsing error (output attached).

Thanks,


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

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

Versions of packages system-config-printer depends on:
ii  gksu                          2.0.0-5    graphical frontend to su
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-cups                   1.9.31-1   Python bindings for CUPS
ii  python-dbus                   0.82.4-2   simple interprocess messaging syst
ii  python-elementtree            1.2.6-12   Light-weight toolkit for XML proce
ii  python-glade2                 2.12.1-1   GTK+ bindings: Glade support
ii  python-gnome2                 2.22.0-1   Python bindings for the GNOME desk
ii  python-gtk2                   2.12.1-1   Python bindings for the GTK+ widge
ii  python-notify                 0.1.1-2+b1 Python bindings for libnotify
ii  python-support                0.7.7      automated rebuilding support for P

system-config-printer recommends no packages.

-- no debconf information
-------------- next part --------------
Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 4418, in <module>
    main(start_printer, change_ppd)
  File "/usr/share/system-config-printer/system-config-printer.py", line 4392, in main
    mainwindow = GUI(start_printer, change_ppd)
  File "/usr/share/system-config-printer/system-config-printer.py", line 327, in __init__
    self.newPrinterGUI = np = NewPrinterGUI(self)
  File "/usr/share/system-config-printer/system-config-printer.py", line 2345, in __init__
    col = gtk.TreeViewColumn (_("Share"), gtk.CellRendererText (),
  File "/usr/lib/python2.5/gettext.py", line 566, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib/python2.5/gettext.py", line 530, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.5/gettext.py", line 478, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.5/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.5/gettext.py", line 337, in _parse
    tmsg = unicode(tmsg, self._charset)
  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 534-536: invalid data


More information about the pkg-gnome-maintainers mailing list