[Mailman-Users] Mailman3 - from Whoosh to Xapian

2022-05-25 Thread Stephen J. Turnbull
Kimmo L. writes:

 > import xapian
 > ModuleNotFoundError: No module named 'xapian'

I'm pretty sure this occurs when the Xapian application and its
libraries are not installed.  xapian-haystack is an adapter from C++
(or maybe C) to Python, it is not a complete installation of the
Xapian package.  See Requirements at

https://pypi.org/project/xapian-haystack/

Have you installed Xapian itself?  If you have and still no luck, let
us know.  I know that many sites have successfully installed Xapian as
the indexer for their Mailman instance.

Steve

--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Mailman3 - from Whoosh to Xapian

2022-05-24 Thread Kimmo L.
Hello!

My idea/plan is to replace Whoosh with Xapian.
So far i have added this line inside settings.py: 'ENGINE': 
'xapian_backend.XapianEngine',
and installed pip package: pip install xapian-haystack

Put i think its not enough and im missing something. If i try to do use 
"mailman-web rebuild_index", then i get some error messages:
File "/opt/mailman/venv/lib64/python3.9/site-packages/xapian_backend.py", line 
23, in 
import xapian
ModuleNotFoundError: No module named 'xapian'

Any ideas what im missing ?

Br,
Kimmo
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/