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

Jonas Meurer jonas at freesources.org
Fri Feb 22 21:35:42 GMT 2019


Pierre-Elliott Bécue:
> 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.

I don't think it's worth the trouble anymore. The python3 django
packages have been in buster and stretch-backports for a while now, and
probably nobody will ever run into this again.

Would you agree with closing this bugreport, Sampo and PEB?

Cheers
 jonas


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-mailman-hackers/attachments/20190222/dc55212c/attachment.sig>


More information about the Pkg-mailman-hackers mailing list