Your message dated Tue, 25 Aug 2015 15:28:23 +0000 with message-id <[email protected]> and subject line Bug#796889: fixed in python-xlib 0.14+20091101-5 has caused the Debian Bug report #796889, regarding python-xlib: UnicodeDecodeError on instantiating Xlib.xauth.Xauthority 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.) -- 796889: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796889 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python-xlib Version: 0.14+20091101-4 Severity: grave Justification: renders package unusable Dear Maintainer, After upgrading python-xlib (or python3-xlib) to 0.14+20091101-3 (or -4), attempting to instantiate an Xauthority instance (eg. via attempting to get a Display()) fails with a UnicodeDecodeError: $ python Python 2.7.10 (default, Jul 1 2015, 10:54:53) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from Xlib import xauth >>> xauth.Xauthority() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/dist-packages/Xlib/xauth.py", line 84, in __init__ self.entries.append((family, addr.decode('UTF-8'), File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xac in position 0: invalid start byte Following the logic of Xauthority.__init__ indicates my ~/.Xauthority file has: >>> raw[4:8] # first addr '\xac\x11\x11\x89' Downgrading to 0.14+20091101-1 from Jessie fixes the issue: $ python Python 2.7.10 (default, Jul 1 2015, 10:54:53) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from Xlib import xauth >>> xauth.Xauthority() <Xlib.xauth.Xauthority instance at 0x7fd2656ec8c0> -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (900, 'testing'), (500, 'testing-updates'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-xlib depends on: pn python:any <none> python-xlib recommends no packages. python-xlib suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: python-xlib Source-Version: 0.14+20091101-5 We believe that the bug you reported is fixed in the latest version of python-xlib, 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. Andrew Shadura <[email protected]> (supplier of updated python-xlib 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: SHA256 Format: 1.8 Date: Tue, 25 Aug 2015 16:18:06 +0200 Source: python-xlib Binary: python-xlib python3-xlib Architecture: source Version: 0.14+20091101-5 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Andrew Shadura <[email protected]> Description: python-xlib - interface for Python to the X11 protocol python3-xlib - interface for Python 3 to the X11 protocol Closes: 796889 Changes: python-xlib (0.14+20091101-5) unstable; urgency=medium . * Fix LP: #1482844 properly: lp1432889.patch is incompatible with fix-auth-lp1482844.patch (Closes: #796889). Checksums-Sha1: ee3381796a691c1ce84170cbab33a2f4a87f2770 2183 python-xlib_0.14+20091101-5.dsc 2e17fd9af434cd3c6d9d9ca3328f515a4d726fcb 54728 python-xlib_0.14+20091101-5.debian.tar.xz Checksums-Sha256: 149feb8c7a4fa27803349682064d2303b9355a736501308e611d4c78351ec4ac 2183 python-xlib_0.14+20091101-5.dsc 0432dff8237c0eefc037b4cc6a02f2491cc5af298566b6c1e86e6670ff9ed4bb 54728 python-xlib_0.14+20091101-5.debian.tar.xz Files: 1a32792c76e7578089a96357c604d82b 2183 python optional python-xlib_0.14+20091101-5.dsc e3462d690f0e15e7a8d1b8bfba8dc2f8 54728 python optional python-xlib_0.14+20091101-5.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJV3H8lAAoJEG6k0jEaLSaNF6AP/i2KZ3u3BbRn5YjnPkciXb/l xmrH+2g41fT103GxPNcORhOiT/geqdh05zY9D7V191KZr/3dFhsqWfkx/xtFkyHG cd4/4N4RU4Y2Bbbrss24Eb4qrKtQVJ158MOZvUQ7SD0vuBmKq15c0oxNoQxaj3eb qxdtSTRjznee4q6H4WIROjEDwZvEx7i5Swv26Gr2/GvEcuUnhPCVtXmmIjI4Rete tNZKonqoxMEJiXXx+VJM2UDmrOTg4aq2O6n+O3i7V5I94A4mWph4chDmHa7U5ogW QiTqh3tC/o/S5ezxJPSBBO+2XLp3PFr//t6vkGd1Gzr9u/2q4HmMv2p5CLK1/h04 lD9ZjU2IylIUmIbwvAUV1DXP93Y+3nVOpabSZERypadRlDXpB/9T83iC39af2vsX BUMUtceH55RpEruquoeX5YdbdM8pgHl9v6Rhw0Xzs4IFDipq+qxzKJVPOeKDoddZ PnMez20tCVN8pLVzoZ1kd7mqi4GasBbf7ZwOdGRGSCivX5/QJ+b1JMa3Esgn4tCE FDjZNVyCsZJqxztfnst0DeArp8Rsu9s8m7V6CoqHhxP5RihH+jHKI5td1uMuHN7P oiHqQZW08+Fp2LAV8Uah031TCwIZ9fHbrDdVyv9oJDCcR0opfEtsPkkYjIH3UWbx tV1YAuiWYfE4guyj1aSd =XhOh -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

