Your message dated Wed, 29 Nov 2023 17:19:04 +0000 with message-id <[email protected]> and subject line Bug#940987: fixed in apt-xapian-index 0.54 has caused the Debian Bug report #940987, regarding rdetails fails: TypeError: sequence item 0: expected str instance, bytes found 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.) -- 940987: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940987 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt-xapian-index Version: 0.50 Severity: important Hi, Trying to issue axi-cache rdetails fails: % axi-cache rdetails apt-xapian-index Traceback (most recent call last): File "/usr/bin/axi-cache", line 861, in <module> sys.exit(ui.perform()) File "/usr/bin/axi-cache", line 852, in perform return f(self.args) File "/usr/bin/axi-cache", line 718, in do_rdetails print(name, tag, " ".join(deps)) TypeError: sequence item 0: expected str instance, bytes found It seems the query is returning bytes instead of strings. Converting with utf-8 makes it work (but I have no idea if this fix is correct): deps = map(lambda x: x.decode('utf-8'), db.get_rdeps(name, pfx)) -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.2.0-2-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages apt-xapian-index depends on: ii python3 3.7.3-1 ii python3-apt 1.8.4 ii python3-debian 0.1.36 ii python3-xapian 1.4.12-2 apt-xapian-index recommends no packages. Versions of packages apt-xapian-index suggests: ii python3-xdg 0.25-5 -- no debconf information
--- End Message ---
--- Begin Message ---Source: apt-xapian-index Source-Version: 0.54 Done: Alexandre Detiste <[email protected]> We believe that the bug you reported is fixed in the latest version of apt-xapian-index, 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. Alexandre Detiste <[email protected]> (supplier of updated apt-xapian-index 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: Wed, 29 Nov 2023 18:01:47 +0100 Source: apt-xapian-index Architecture: source Version: 0.54 Distribution: unstable Urgency: low Maintainer: Debian QA Group <[email protected]> Changed-By: Alexandre Detiste <[email protected]> Closes: 863959 940987 968060 1018310 1032332 1039456 Changes: apt-xapian-index (0.54) unstable; urgency=low . * QA upload. . * remove undeclared need for python3-six (Closes: #1032332, #1039456) * bump to debhelper 13 & some forward compatibility with 14/15 * migrate from python3-nose to python3-nose2 (Closes: #1018310) * fix "unowned files after purge" (Closes: #863959) * remove old references to deprecated debian_bundle * fix remaining old Python2 "print" (Closes: #968060) * provide a native systemd timer matching the cron job * fix Py2->3 fallout: "rdetails fails: TypeError:" (Closes: #940987) * review with mypy, remove more Python2 hybridation * set Rules-Requires-Root: no * d/control: remove redundant dh-python . [ Debian Janitor ] * Remove constraints unnecessary since stretch: + Build-Depends-Indep: Drop versioned constraint on bash-completion. . [ Gioele Barabucci ] * d/post{inst,rm},preinst: Remove code for ancient versions Checksums-Sha1: f25457d36d5df615940305346f2867d3d821f1fb 1838 apt-xapian-index_0.54.dsc 814770a20f8b9f8efbb990392cc188cf0af15b0f 45748 apt-xapian-index_0.54.tar.xz 03b227b89d940afa4b76040046af9dda4963d1ac 6693 apt-xapian-index_0.54_source.buildinfo Checksums-Sha256: d2e0b02f10fe4730cc79ebf5cb2fd3d6b39204dfc5ee12025c59cfb21cbbe008 1838 apt-xapian-index_0.54.dsc 7e584861d4f7cb34742c130d9eb2c26e776e685622f21c65a1ab59c5231a7f66 45748 apt-xapian-index_0.54.tar.xz 52219ace27ee7868d308463583a495fb151ef8b91c94853a9d566f9c871df08a 6693 apt-xapian-index_0.54_source.buildinfo Files: 98880c06dd9c2588459a41dd272d7ec9 1838 admin optional apt-xapian-index_0.54.dsc 3ccba0a13bb448f11a9e0f3978c61c05 45748 admin optional apt-xapian-index_0.54.tar.xz 8433f83d93fcae93bd407667b1732b4d 6693 admin optional apt-xapian-index_0.54_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmVnbqQRHHRjaGV0QGRl Ymlhbi5vcmcACgkQMfMURUShdBoj9RAAqNTIQ0alrJoHKgvBzqdlPFl3fjhsl7nB 1UvOhvRK8dpxnEL6fiJd4cbRS+Lf2i+zo5K5nCD2fmmhMgPnhIwwXhDyoFp65spq 1qhS2PlYlU7zH90wzNqmgOQef9GuOM66NnaV9+KOCH1pDmZbLS9pH7AqA/6E/I7X gMNBcnqhr2/FCpgn7RK6rL5S2I9lkHn8AcP8j3/dmSJ3yOmawTdcV1ENIgQht/rZ OUxnW0jWMJXZViRG4V7jqaXSP9ibVCsO7JzQ73iwLFkTN8WtJ/MB9fAWU+1ZLME3 mycZMyBfd0CyGT7S23qTemElHQsqfTM0drrf1PW0XIZtouR3XtgGsH1SHgaDaM20 GPo0GxS0jFVFw/49GfvvaNpPPFoZMgbY7hNJaDFA5dYHwf31pIPOGwvDqPuD2NGO WDhwnyLhmtgHsdUPINswZ5pPPM/or0SEy9iNrE6rYER6hG+rRtncbTg95Uzx8IAr d4Yyype7bzsvFaMuFex/+KSN+p8qMhKH8KsBk1Yhu2v7rShbTgb/5uGdj16ooPkE FRuN5OR9WgjreVkYTjxZcsHXC3PCis9J8AMPkV0dBBnbTm3T/o1IjMOMeFNvam0r qj/oYf+Hq4/cEjga3k9eiTnyb2JkUQ6BlENTOtgjfFNS5dBhCZGYUjn3uVw8JK1K VcBCqdwKJm8= =512l -----END PGP SIGNATURE-----
--- End Message ---

