On 07/18/2016 03:17 AM, Odhiambo Washington wrote:

I have a strange problem here. When I try a search on my list archives, I
see this on the browser:

Bug in Mailman version 2.1.22
...
And in the error log I see the details here ->:
http://gw.kictanet.or.ke/~wash/error.txt


The traceback is

admin(46841): Traceback (most recent call last):
admin(46841):   File "/usr/local/mailman/scripts/driver", line 117, in run_main
admin(46841):     main()
admin(46841):   File "/usr/local/mailman/Mailman/Cgi/mmsearch.py", line 213, in 
main
admin(46841):     child = Popen(cmd, stdin=PIPE, stdout=PIPE)
admin(46841):   File "/usr/local/lib/python2.7/subprocess.py", line 710, in 
__init__
admin(46841):     errread, errwrite)
admin(46841):   File "/usr/local/lib/python2.7/subprocess.py", line 1335, in 
_execute_child
admin(46841):     raise child_exception
admin(46841): OSError: [Errno 2] No such file or directory

which says Popen can't execute cmd because of the Errno2, No such file or directory.

cmd is whatever you have configured for HTDIG_HTSEARCH_PATH in mm_cfg.py. The default in Defaults.py is

HTDIG_HTSEARCH_PATH = '/usr/local/bin/htsearch'

Does HTDIG_HTSEARCH_PATH contain a path to the htdig htsearch program in your installation?

--
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to