[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#931133: marked as done (apt-xapian-index: unusable after recent python-apt update due to usage of deprecated Package.section attribute)



Your message dated Sun, 08 Mar 2020 12:34:15 +0000
with message-id <E1jAv8J-0009C4-6A@fasolo.debian.org>
and subject line Bug#931133: fixed in apt-xapian-index 0.51
has caused the Debian Bug report #931133,
regarding apt-xapian-index: unusable after recent python-apt update due to usage of deprecated Package.section attribute
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 owner@bugs.debian.org
immediately.)


-- 
931133: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931133
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt-xapian-index
Version: 0.49
Severity: important

Dear Maintainer,

When rebuilding the latest version of apt-xapian-index against the
version of python-apt recently uploaded to Experimental,
apt-xapian-index FTBFS with the following error:

Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 111, in <module>
    indexer.rebuild(opts.pkgfile)
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 758, in rebuild
    self.buildIndex(dbdir, generator)
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 733, in
buildIndex
    for doc in documents:
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 580, in
gen_documents_apt
    yield self.get_document_from_apt(pkg)
  File "/usr/lib/python3/dist-packages/axi/indexer.py", line 543, in
get_document_from_apt
    addon.obj.index(document, pkg)
  File "/usr/share/apt-xapian-index/plugins/sections.py", line 86, in index
    sec = pkg.section
AttributeError: 'Package' object has no attribute 'section'

The usage of Package.version should be replaced by Version.section, as
shown in the recent deprecation notice:
"Package.section is deprecated, use Version.section instead"

I will raise this bug to RC once the version of python-apt that is in
Experimental is uploaded to Sid.

Thanks.

-- 
Simon Quigley
tsimonq2@debian.org
tsimonq2 on freenode and OFTC
5C7A BEA2 0F86 3045 9CC8
C8B5 E27F 2CF8 458C 2FA4

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: apt-xapian-index
Source-Version: 0.51
Done: Julian Andres Klode <jak@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 931133@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@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: Sun, 08 Mar 2020 13:19:12 +0100
Source: apt-xapian-index
Architecture: source
Version: 0.51
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Closes: 931133
Changes:
 apt-xapian-index (0.51) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Debian Janitor ]
   * Use set -e rather than passing -e on the shebang-line.
 .
   [ Julian Andres Klode ]
   * Port the code to work with apt 1.9 (Closes: #931133)
   * Do not pass memonly=True
Checksums-Sha1:
 177174bf9a366c327153a6923201991a8052a822 1825 apt-xapian-index_0.51.dsc
 62849a680e8cc662daaf010579d1390d9f3a042e 44804 apt-xapian-index_0.51.tar.xz
 a309194c2987c2455e79514044f2544173de36d3 5208 apt-xapian-index_0.51_source.buildinfo
Checksums-Sha256:
 2f8505d65be503a422289e15d5aa31304e9f0d37bc849f01dedf267a066c1813 1825 apt-xapian-index_0.51.dsc
 8f2743837a6b05d2e88f69e6f9a025f2c6ea7fb38dce116f0f3124b34bf6abd8 44804 apt-xapian-index_0.51.tar.xz
 23a157060db6d78ad3e700f9f8d8b667ae2e18e89e26938b4b457afb66d28dfc 5208 apt-xapian-index_0.51_source.buildinfo
Files:
 e5d38a78b3e600aa0658b45a4c3bb7ca 1825 admin optional apt-xapian-index_0.51.dsc
 5567036979e73f8905e735e7784faa53 44804 admin optional apt-xapian-index_0.51.tar.xz
 4f4beb3e6ca71aee2cfb42eeccbad6c3 5208 admin optional apt-xapian-index_0.51_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEET7WIqEwt3nmnTHeHb6RY3R2wP3EFAl5k434PHGpha0BkZWJp
YW4ub3JnAAoJEG+kWN0dsD9xVDIP/2XxllkWV8NjST3uCrs3158VN9oCKFpG6t3U
LB13ojsGRxLEI2wgeOq45YZAuzd3zFq9svf3/XKZLRmnjnfAuwhkAGpRYPbd5VNJ
lnNaf1+QJT2+CX2Ym1JzIFm9azDGgy1+4TRFl7Q6rP3ZE6uCrQAHzSmVcWZSJ2tu
x+IOh3ma28ms0VPH4J6UlGr82Ofch3r37ze2BaDVF/6TKRgLMLXvj35u5KftMe8U
FngzcuDvQi29rQci8VZsWRcuQTNZ2uLMb601SHK3Y5/B3fQp/XOuH4nBSjUX7eYm
aQKtftj6j5pbeB2VeKVEEO+sGSef+AxqI+6xLYPxU/kOBjjneugzzbwWsYfRjV/H
XC1GU9Ljl5QtfobuTJ5AM5JoUVUJLPT7ZgtqQenBwMmldyNu3urZgYtLgukPZrWa
P9aaYQei3w9GZ5jH837S4o6dysYAvxN9eZJpZMJYKxrqWSoJVocogpDhyM2cDM1E
F6wEyB3dym7tgXAtCL0aW9t5RMu0tsnLud+DJi4jtQlQCL7pvDbUt2rE5KcN2k5d
15KUQHYQA6ZcJPwLgUx6wYDaIm1j5bjb/wTLqdh79u+r/qu3WWPSx5GAJYgNv9E2
XNcEycE850KxFnrbWcETSFNv1oKxjfajDxvw4BXTOnr/l2O936X1KgYs2zEsUmrb
x4OZ2N8y
=EkUs
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: