On Feb 17, 2021, at 11:06 AM, Mark Dadgar <mark@pdc-racing.net> wrote:
On Feb 17, 2021, at 9:58 AM, Mark Sapiro <mark@msapiro.net> wrote:
On 2/16/21 9:59 PM, Mark Dadgar wrote:
Now that I’ve got my instance back up and running on the latest released code, I am trying to rebuild a list index. I am using Xapian via haystack, which worked beautifully before my recent list meltdown.
Error messages below.
rebuild_index fails with the same error.
This is with django version 3.0.12.
django.utils.six was removed in Django 3.0. See <https://pypi.org/project/django-utils-six/> for a work around replacement. I.e. in your venv do
pip install django-utils-six
OK, that got me a step further. Then I needed to do a “pip install xapian-bindings” and now I am up and running.
One last note on this for the next person who searches the list archives:
I also ran into the “Key too long” error while re-indexing. Applying the patch linked here fixed it:
https://gitlab.com/mailman/hyperkitty/-/issues/322
- Mark
mark@pdc-racing.net | 408-348-2878