[Pkg-mailman-hackers] Bug#919975: mailman3-web: whoosh python2 and python3 databases are not compatible

Pierre-Elliott Bécue peb at debian.org
Mon Jan 21 23:24:59 GMT 2019


Le lundi 21 janvier 2019 à 08:08:16+0000, Sampo Sorsa a écrit :
> Package: mailman3-web
> Version: 0+20180916-2~bpo9+1
> 
> Dear Maintainer,
> 
> After upgrading from earlier python2-based packages, I ran into this problem of Whoosh databases between python2 and python3 being incompatible:
> 
> $ sudo -u www-data /usr/share/mailman3-web/manage.py update_index_one_list example at example.com
> 
> Indexing XXX emails
> Exception in thread Thread-1:
> Traceback (most recent call last):
>  [traceback]
> 
> The solution is to remove /var/lib/mailman3/web/fulltext_index/ and run:
> 
> $ sudo -u www-data /usr/share/mailman3-web/manage.py rebuild_index
> 
> This is mostly FYI for other stretch-backports users. As mailman3-web is not in stretch, it's probably not worth it to bother handling this when upgrading packages.

Dear Sampo,

Thanks for the report.

I agree it's not worth a big trouble, but still, this would be a nice thing
to advertise our end users even in backports. When I met the issue myself, I
found out the workaround, and I thought about a way to advertise end users.

I'll release something this evening.

-- 
Pierre-Elliott Bécue
GPG: 9AE0 4D98 6400 E3B6 7528  F493 0D44 2664 1949 74E2
It's far easier to fight for one's principles than to live up to them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20190122/86fe3eac/attachment.sig>


More information about the Pkg-mailman-hackers mailing list