[Python-modules-team] Bug#956653: python3-xapian-haystack: Broken compatibility with haystack on Debian Buster 10

Luigi Toscano luigi.toscano at tiscali.it
Mon Apr 13 22:53:49 BST 2020


Package: python3-xapian-haystack
Version: 2.1.0-3
Severity: important

Dear Maintainer,

This is a follow-up of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951207

I configured xapian-haystack as the haystack backend of mailman3
on a Debian 10 system.
When I try to index a mailing list, I get the error:

[ERROR/MainProcess] Failed indexing 1 - 1000 (retry 5/5): update() got an
unexpected keyword argument 'commit' (pid 28083): update() got an unexpected
keyword argument 'commit'
Traceback (most recent call last):
  File
"/usr/lib/python3/dist-packages/haystack/management/commands/update_index.py",
line 97, in do_update
    backend.update(index, current_qs, commit=commit)
TypeError: update() got an unexpected keyword argument 'commit'
[...]

If I apply the patch, the indexing works successfully.

Please backport the change to stable-updates as well,
otherwise the archiving feature of mailman is broken
when using the efficient xapian backend.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (850, 'testing'), (800, 'unstable'), (750, 'experimental'),
(750, 'stable'), (500, 'unstable-debug'), (500, 'stable-debug'), (500,
'oldstable-debug'), (500, 'buildd-unstable'), (500, 'oldstable'), (1,
'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-xapian-haystack depends on:
ii  python3                  3.8.2-2
pn  python3-django-haystack  <none>
ii  python3-xapian           1.4.15-1+b1

python3-xapian-haystack recommends no packages.

python3-xapian-haystack suggests no packages.



More information about the Python-modules-team mailing list