[Pkg-hpijs-devel] Bug#635128: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

Olivier Berger oberger at ouvaton.org
Fri Jul 22 21:16:53 UTC 2011


Package: hplip
Version: 3.10.6-2
Severity: normal


Here's an output I got spit by hp-systray or one of its descendants :

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/share/hplip/hpssd.py", line 498, in handle_system_signal
    return handle_signal('system', *args, **kwds)
  File "/usr/share/hplip/hpssd.py", line 494, in handle_signal
    return handle_event(event, args[6:])
  File "/usr/share/hplip/hpssd.py", line 407, in handle_event
    send_event_to_systray_ui(event)
  File "/usr/share/hplip/hpssd.py", line 465, in send_event_to_systray_ui
    e = event.copy()
  File "/usr/share/hplip/base/device.py", line 155, in copy
    return Event(*self.as_tuple())
  File "/usr/share/hplip/base/device.py", line 108, in __init__
    self.title = unicode(utils.xrstrip(title, '\x00'))[:128].encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

Hope this helps.

Best regards,

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (500, 'stable-updates')
Architecture: i386 (i686)

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

Versions of packages hplip depends on:
ii  adduser                3.112+nmu2        add and remove users and groups
ii  coreutils              8.5-1             GNU core utilities
ii  cups                   1.4.4-7           Common UNIX Printing System(tm) - 
ii  cups-client            1.4.4-7           Common UNIX Printing System(tm) - 
ii  hplip-cups             3.10.6-2          HP Linux Printing and Imaging - CU
ii  hplip-data             3.10.6-2          HP Linux Printing and Imaging - da
ii  libc6                  2.11.2-10         Embedded GNU C Library: Shared lib
ii  libcups2               1.4.4-7           Common UNIX Printing System(tm) - 
ii  libdbus-1-3            1.2.24-4+squeeze1 simple interprocess messaging syst
ii  libhpmud0              3.10.6-2          HP Multi-Point Transport Driver (h
ii  libsane                1.0.21-9          API library for scanners
ii  libsane-hpaio          3.10.6-2          HP SANE backend for multi-function
ii  libssl0.9.8            0.9.8o-4squeeze1  SSL shared libraries
ii  lsb-base               3.2-23.2squeeze1  Linux Standard Base 3.2 init scrip
ii  policykit-1            0.96-4            framework for managing administrat
ii  python                 2.6.6-3+squeeze6  interactive high-level object-orie
ii  python-dbus            0.83.1-1          simple interprocess messaging syst
ii  python-imaging         1.1.7-2           Python Imaging Library
ii  python-pexpect         2.3-1             Python module for automating inter
ii  python-support         1.0.10            automated rebuilding support for P

Versions of packages hplip recommends:
ii  avahi-daemon           0.6.27-2+squeeze1 Avahi mDNS/DNS-SD daemon
ii  sane-utils             1.0.21-9          API library for scanners -- utilit

Versions of packages hplip suggests:
ii  hplip-doc                     3.10.6-2   HP Linux Printing and Imaging - do
ii  hplip-gui                     3.10.6-2   HP Linux Printing and Imaging - GU
pn  kdeprint | gtklp | xpp        <none>     (no description available)
ii  python-notify                 0.1.1-2+b2 Python bindings for libnotify

-- no debconf information





More information about the Pkg-hpijs-devel mailing list