--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: axi-cache: string/bytes confusion in display
- From: rharwood <rharwood@club.cc.cmu.edu>
- Date: Fri, 07 Aug 2020 14:19:48 -0400
- Message-id: <159682438857.27751.4870333027735067164.reportbug@eesha.mivehind.net>
Package: apt-xapian-index
Version: 0.51
Severity: minor
Tags: patch
Dear Maintainer,
In rdepends output:
rharwood@eesha:~$ axi-cache rdepends apt-xapian-index
apt-xapian-index
Reverse Depends:
b'muon'
b'packagesearch'
b'synaptic'
b'aptitude'
b'python3-apt'
rharwood@eesha:~$
When print() is called on a `bytes` object in python3, it formats it like that
(with the leading 'b' etc.). The smallest fix is probably to change the
print() in do_rdepends() (on line 701) from
print(" ", pkg)
to
print(" ", pkg.decode("utf-8"))
However, this probably shows up other places as well and a more invasive fix
might be better.
Thanks,
--Robbie
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (700, 'testing-debug'), (700, 'testing'), (500, 'unstable-debug'), (500, 'unstable'), (300, 'experimental-debug'), (300, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.7.0-2-amd64 (SMP w/12 CPU threads)
Locale: LANG=es_US.UTF-8, LC_CTYPE=es_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.8.2-3
ii python3-apt 2.1.3
ii python3-debian 0.1.37
ii python3-xapian 1.4.15-1+b1
apt-xapian-index recommends no packages.
Versions of packages apt-xapian-index suggests:
ii python3-xdg 0.26-3
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: apt-xapian-index
Source-Version: 0.54
Done: Alexandre Detiste <tchet@debian.org>
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 968060@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (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 ftpmaster@ftp-master.debian.org)
-----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 <packages@qa.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
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 ---