[Mailman-Users] Mailman-2.1.23 and reCAPTCHA

Mark Sapiro mark at msapiro.net
Sat Jun 3 18:04:38 EDT 2017


On 06/02/2017 10:03 AM, sp2l wrote:
> Greetings.
> 
> 
> Does somebody  succeeded intergating
> reCAPTCHA to Mailman-2.1.23 ?
> 
> I tried belows:
> https://www.dragonsreach.it/2014/05/03/adding-recaptcha-support-to-mailman/
> 
> 
> but unsuccessfully...
> 
> Mailman reports the following:
> 
> Jun 02 18:07:09 2017 admin(4038): @@@@@@@@@@
> admin(4038): [----- Mailman Version: 2.1.23 -----] 
> admin(4038): [----- Traceback ------] 
> admin(4038): Traceback (most recent call last):
> admin(4038):   File "/usr/local/mailman/scripts/driver", line 102, in run_main
> admin(4038):     pkg = __import__('Mailman.Cgi', globals(), locals(), [scriptname])
> admin(4038):   File "/usr/local/mailman/Mailman/Cgi/listinfo.py", line 37, in <module>
> admin(4038):    from recaptcha.client import captcha
> admin(4038): ImportError: No module named recaptcha.client


The patch you installed requires the installation of recaptcha-client
<https://pypi.python.org/pypi/recaptcha-client/>.

This is not recaptcha <https://pypi.python.org/pypi/recaptcha/1.0rc1>.

sudo pip install recaptcha-client

should do it.

-- 
Mark Sapiro <mark at msapiro.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