Your message dated Mon, 08 May 2017 06:48:53 +0000 with message-id <[email protected]> and subject line Bug#861731: fixed in hplip 3.16.11+repack0-3 has caused the Debian Bug report #861731, regarding hplip - UnicodeDecodeError in /usr/share/hplip/base/sixext.py, impossible to print certain files to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 861731: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861731 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: hplip Version: 3.16.11+repack0-2 Severity: important Tags: upstream Dear Maintainer, * What led up to the situation? Trying to print a document with non ASCII characters in its title. This led to a UnicodeDecodeError: D [03/May/2017:10:59:23 +0200] [Job 1345] Traceback (most recent call last): D [03/May/2017:10:59:23 +0200] [Job 1345] File \"/usr/lib/cups/filter/hpps\", line 203, in <module> D [03/May/2017:10:59:23 +0200] [Job 1345] os.write(output_fd, to_bytes_utf8(\'@PJL SET JOBNAME=\"%s\"\\x0a\' % title)) D [03/May/2017:10:59:23 +0200] [Job 1345] File \"/usr/share/hplip/base/sixext.py\", line 109, in to_bytes_utf8 D [03/May/2017:10:59:23 +0200] [Job 1345] return s.encode(\"utf-8\") D [03/May/2017:10:59:23 +0200] [Job 1345] UnicodeEncodeError: \'utf-8\' codec can\'t encode character \'\\udce2\' in position 47: surrogates not allowed * What exactly did you do (or not do) that was effective (or ineffective)? Manually fix "/usr/share/hplip/base/sixext.py" by applying the patch proposed in "https://launchpadlibrarian.net/213208457/sixext.patch" * What was the outcome of this action? It fixed the problem, printing works fine now. -- Package-specific info: -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (250, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-2-amd64 (SMP w/12 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages hplip depends on: ii adduser 3.115 ii coreutils 8.26-3 ii cups 2.2.1-8 ii hplip-data 3.16.11+repack0-2 ii libc6 2.24-10 ii libcups2 2.2.1-8 ii libdbus-1-3 1.10.18-1 ii libhpmud0 3.16.11+repack0-2 ii libsane 1.0.25-4 ii libsane-hpaio 3.16.11+repack0-2 ii libsnmp30 5.7.3+dfsg-1.7 ii libusb-1.0-0 2:1.0.21-1 ii lsb-base 9.20161125 ii policykit-1 0.105-17 ii printer-driver-hpcups 3.16.11+repack0-2 ii python3 3.5.3-1 ii python3-dbus 1.2.4-1+b1 ii python3-gi 3.22.0-2 ii python3-pexpect 4.2.1-1 ii python3-pil 4.0.0-4 ii python3-reportlab 3.3.0-2 ii wget 1.18-5 Versions of packages hplip recommends: ii avahi-daemon 0.6.32-2 ii printer-driver-postscript-hp 3.16.11+repack0-2 pn sane-utils <none> Versions of packages hplip suggests: pn hplip-doc <none> pn hplip-gui <none> pn python3-notify2 <none> pn system-config-printer <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: hplip Source-Version: 3.16.11+repack0-3 We believe that the bug you reported is fixed in the latest version of hplip, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Didier Raboud <[email protected]> (supplier of updated hplip package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 04 May 2017 18:35:44 +0200 Source: hplip Binary: hplip hplip-data printer-driver-postscript-hp hplip-gui hplip-doc hpijs-ppds printer-driver-hpijs printer-driver-hpcups libhpmud0 libhpmud-dev libsane-hpaio Architecture: source Version: 3.16.11+repack0-3 Distribution: unstable Urgency: low Maintainer: Debian Printing Team <[email protected]> Changed-By: Didier Raboud <[email protected]> Description: hpijs-ppds - HP Linux Printing and Imaging - HPIJS PPD files hplip - HP Linux Printing and Imaging System (HPLIP) hplip-data - HP Linux Printing and Imaging - data files hplip-doc - HP Linux Printing and Imaging - documentation hplip-gui - HP Linux Printing and Imaging - GUI utilities (Qt-based) libhpmud-dev - HP Multi-Point Transport Driver (hpmud) development libraries libhpmud0 - HP Multi-Point Transport Driver (hpmud) run-time libraries libsane-hpaio - HP SANE backend for multi-function peripherals printer-driver-hpcups - HP Linux Printing and Imaging - CUPS Raster driver (hpcups) printer-driver-hpijs - HP Linux Printing and Imaging - printer driver (hpijs) printer-driver-postscript-hp - HP Printers PostScript Descriptions Closes: 861731 Changes: hplip (3.16.11+repack0-3) unstable; urgency=low . [ Gaurav Sood ] * Fix handling of unicode filenames in sixext.py (Closes: #861731, LP: #1480152) Checksums-Sha1: 260ed308ff0ccc8084835e409d9861b46ec83eed 3038 hplip_3.16.11+repack0-3.dsc b2bf9eab92668ddb952bf283b72420dceeb129d9 102020 hplip_3.16.11+repack0-3.debian.tar.xz 58cf277813366ed6e222c89f63ee76b0f116440b 12137 hplip_3.16.11+repack0-3_source.buildinfo Checksums-Sha256: 4e666fc961e414ba24a4cb92017d93b17abcb93ff0afbec9d16a0ff5dd5fa588 3038 hplip_3.16.11+repack0-3.dsc 5ccc0cb52f455fed486ec05c862eddd424ef8bee4c214c42240fce48d77c983e 102020 hplip_3.16.11+repack0-3.debian.tar.xz 8468d77a4fd84c54ae1c54b87793aee8cf2bfba77489ea0a16d13b6ff97469f4 12137 hplip_3.16.11+repack0-3_source.buildinfo Files: 50fbb896a97d4a2898c1ec08a507bf68 3038 utils optional hplip_3.16.11+repack0-3.dsc e8cee78d5e842d89deb5eb2ddf55968c 102020 utils optional hplip_3.16.11+repack0-3.debian.tar.xz 10732a6cf3ac073951e4f5b035750ac0 12137 utils optional hplip_3.16.11+repack0-3_source.buildinfo -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAlkQEWkACgkQi8+nHsoW NFUQQwv9Fu5sbbpC517AOtBoSRke4ydTUbwRs/H7QkrcANNb0vVP9ScEdemhn1Mc F4/J8/HqgwGqpR9GGVLI89o6aXULQAuggAU5iGv0b5vJJVxTvzVlFSQ5eXRsCxZV GNl66K70nC5KoK1YowRwAD3BmTk9Fy+bhXj7VZBBFXjaA3JUSUxcpR8xdaXbNzgz +umXr7H6j4uKvVWjKb7WPGgbpf20gZJ0LrrcTOaMrksAgmPR1sXv4S4iH7xEHR5g IHPu8KarsDH0vVgf0/tKO4whcJdm1g52gjJNw42AYcR1CVaM3QxmAwP3PSqfnCVn wSIc30u8OGax9JM1eXwl2hSmtI7uXuDGGYL/mCcGAnQ50oQ1rBkpgPtWDHjcoUOs UWdMcvEiqfolD3uDdO+GZ2t6cpTbTTjSSoYtrLD0CLCb5JuSEAkeSf0AjJEiYR4m LwdINXwKKZti6GdaHk2HXJRmEyJPfqaa0baQkHsZlddo+S5fyy3uJ3IOZ/3A8InD jR3ZVgUC =/FFl -----END PGP SIGNATURE-----
--- End Message ---
