On Tue, Apr 1, 2025 at 8:04 PM Philip Bondi <pjbo...@systemdatabase.com>
wrote:

> Hello to all:
>
> Following along:
> https://docs.mailman3.org/en/latest/install/virtualenv.html#setting-up-fulltext-search-xapian
>
> But Method 1 does not create /opt/mailman/web/xapian_index for me on
> Debian 12
>
> export XAPIAN_VERSION="1.4.27"
> curl
> https://raw.githubusercontent.com/notanumber/xapian-haystack/master/xapian_wheel_builder.sh
> -o xapian_wheel_builder.sh
> bash xapian_wheel_builder.sh $XAPIAN_VERSION
>
> (venv) mailman@shackleton12:~$ find /opt/mailman -type d -name '*xapian*'
> /opt/mailman/venv/lib/python3.11/site-packages/xapian
>
> /opt/mailman/venv/lib/python3.11/site-packages/xapian_haystack-3.1.0.dist-info
> /opt/mailman/venv/lib/python3.11/site-packages/xapian-1.4.27.dist-info
> (venv) mailman@shackleton12:~$ find /opt/mailman -type f -name
> '*xapian_index*'
>

Would that be -d instead of -f ? Anyway..


> (venv) mailman@shackleton12:~$
>
> When I try to search, I get this stack trace by email:
>
>
>
> Internal Server Error: /archives/search
>

That's because you did NOT install the indexer. You missed to run one step:
(venv)$ ls *.whl
(venv)$pip install *xapian-1.4.27*.whl* xapian-haystack # ensure you give
the full filename

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/MF54WSEYQ42I72P7PEMDCWSWT3TEGW2Y/

This message sent to arch...@mail-archive.com

Reply via email to