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
tsimo...@debian.org
tsimonq2 on freenode and OFTC
5C7A BEA2 0F86 3045 9CC8
C8B5 E27F 2CF8 458C 2FA4

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to