Bug#718263: Backtrace when adding printer with French locales

Theppitak Karoonboonyanan thep at linux.thai.net
Thu Sep 26 06:24:34 UTC 2013


Package: system-config-printer
Version: 1.4.1-4
Followup-For: Bug #718263

Dear Maintainer,

Same for Thai locale when trying to open printer properties dialog:

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1666, in on_edit_activate
    self.dests_iconview_item_activated (self.dests_iconview, paths[0])
  File "/usr/share/system-config-printer/system-config-printer.py", line 512, in dests_iconview_item_activated
    parent=self.PrintersWindow)
  File "/usr/share/system-config-printer/printerproperties.py", line 573, in show
    self.load (name, host=host, encryption=encryption, parent=parent)
  File "/usr/share/system-config-printer/printerproperties.py", line 1477, in load
    self.updatePrinterProperties ()
  File "/usr/share/system-config-printer/printerproperties.py", line 1637, in updatePrinterProperties
    state += ' - ' + reason
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)

Or the print queue:

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 1705, in on_view_print_queue_activate
    parent=self.PrintersWindow)
  File "/usr/share/system-config-printer/jobviewer.py", line 508, in __init__
    self.JobsWindow.set_title (_("Document Print Status (%s)") % title)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe0 in position 0: ordinal not in range(128)

And the dialogs just don't open at all, rendering the program unusable.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=th_TH.utf8, LC_CTYPE=th_TH.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages system-config-printer depends on:
ii  gir1.2-gdkpixbuf-2.0       2.28.2-1
ii  gir1.2-glib-2.0            1.36.0-2+b1
ii  gir1.2-gtk-3.0             3.8.4-1
ii  gir1.2-notify-0.7          0.7.6-1
ii  gir1.2-packagekitglib-1.0  0.8.10-2
ii  gir1.2-pango-1.0           1.32.5-5+b1
ii  gnome-icon-theme           3.8.3-1
ii  python-cups                1.9.62-2
ii  python-cupshelpers         1.4.1-4
ii  python-dbus                1.2.0-2+b1
ii  python-gi                  3.10.0-1
ii  python-libxml2             2.9.1+dfsg1-3
pn  python:any                 <none>

Versions of packages system-config-printer recommends:
ii  cups-pk-helper              0.2.5-1
ii  gir1.2-gnomekeyring-1.0     3.8.0-2
ii  python-smbc                 1.0.6-1+b1
ii  system-config-printer-udev  1.4.1-4

Versions of packages system-config-printer suggests:
pn  python-gnomekeyring  <none>
pn  sessioninstaller     <none>

-- no debconf information




More information about the pkg-gnome-maintainers mailing list