[Mailman-Users] mmsearch now python?

Mark Sapiro msapiro at value.net
Thu Feb 24 05:50:54 CET 2005


Gerald wrote:

>Perhaps I'm missing something really obvious. I maintain a server
>running the mailman software. It's a FreeBSD 4.9 server running
>mailman-2.1.5_2. After the upgrade the mmsearch command will not run
>from the cgi directory.
>
>Running it gets:
>***
>Mailman CGI error!!!
>The Mailman CGI wrapper encountered a fatal error. This entry is being stored in your syslog:
>
>No such file or directory
>***
>
>I was pulling my hair out trying to figure out what permission or
>problem with apache would cause this since it all looked right. I
>installed this from the ports collection. Then I ran across a link in
>my history for that server that pulled up listinfo from the cgi-bin.
>listinfo worked. Upon further inspection I saw that the mmsearch file
>was not updated in the upgrade:
>
>-rwxr-sr-x   1 www      mailman  17738 Feb 19 14:46 admin
>-rwxr-sr-x   1 www      mailman  17742 Feb 19 14:46 admindb
>-rwxr-sr-x   1 www      mailman  17742 Feb 19 14:46 confirm
>-rwxr-sr-x   1 www      mailman  17742 Feb 19 14:46 create
>-rwxr-sr-x   1 www      mailman  17754 Feb 19 14:46 edithtml
>-rwxr-sr-x   1 www      mailman  17890 Oct  8  2003 htdig
>-rwxr-sr-x   1 www      mailman  17754 Feb 19 14:46 listinfo
>-rwxr-sr-x   1 www      mailman  17906 Oct  8  2003 mmsearch
>-rwxr-sr-x   1 www      mailman  17742 Feb 19 14:46 options
>-rwxr-sr-x   1 www      mailman  17742 Feb 19 14:46 private
>-rwxr-sr-x   1 www      mailman  17742 Feb 19 14:46 rmlist
>-rwxr-sr-x   1 www      mailman  17742 Feb 19 14:46 roster
>-rwxr-sr-x   1 www      mailman  17754 Feb 19 14:46 subscribe
>
>Which ones of these guys don't look like the others? *grin*
>htdig-3.2.0.b6 is installed on this machine and I found these:
>../Mailman/Cgi/mmsearch.py      ../Mailman/Cgi/mmsearch.pyc &
>
>-r-xr-xr-x  1 root  wheel  119892 Feb 17 14:26 /usr/local/bin/htdig
>
>Not being a python coder myself, I don't know if I'm supposed to set up
>apache to execute the python scripts or if there is a way to compile
>these. I'm just really at a loss at the moment for what to do next. The
>date on the htdig in /usr/local/bin seems to indicate mailman is using
>an old htdig. I don't know how to create/get a newer mmsearch though.
>
>How do I get the mmsearch working again in the cgi directory with the
>htdig and web server? The documentation and archives don't seem to
>mention mmsearch much.

The integration of htdig with mailman is done with patches. It is not
part of the standard release. See
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.011.htp

You need to optain and apply the patches

  [ #444879 ] Archive indexer control to improve indexing
  [ #444884 ] Integration of Mailman & htdig for archive search

--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list