[Usuarios Plone] AttributeError comentarios Scrawl + qPloneCaptchas

Mikel Larreategi mlarreategi at codesyntax.com
Tue Mar 10 16:13:18 UTC 2009


Manuel Gualda Caballero(e)k dio:
> Hola familia,
> 
> Tenemos un sitio con qPloneCaptchas instalado en el que acabamos de
> instalar Scrawl.
> 
> Todo bien hasta que hemos intentado realizar un comentario de prueba en
> un artículo de la bitácora.
> 
> Obtenemos el siguiente error:
> 
> Time      2009/03/10 15:19:51.315 Universal
> User Name (User Id)     utopiaverde (utopiaverde)
> Request URL    
> http://sitioweb.org/organizaciones/articulos/hambre-en-el-mundo/discussion_reply_form
> Exception Type     AttributeError
> Exception Value     'NoneType' object has no attribute 'group'
> 
> Traceback (innermost last):
> 
>     * Module ZPublisher.Publish, line 119, in publish
>     * Module ZPublisher.mapply, line 88, in mapply
>     * Module ZPublisher.Publish, line 42, in call_object
>     * Module Products.CMFFormController.FSControllerPageTemplate, line
> 90, in __call__
>     * Module Products.CMFFormController.BaseControllerPageTemplate, line
> 28, in _call
>     * Module Products.CMFFormController.ControllerBase, line 231, in getNext
>     * Module Products.CMFFormController.Actions.TraverseTo, line 38, in
> __call__
>     * Module ZPublisher.mapply, line 88, in mapply
>     * Module ZPublisher.Publish, line 42, in call_object
>     * Module Products.CMFFormController.FSControllerPythonScript, line
> 101, in __call__
>     * Module Products.CMFFormController.FormController, line 384, in
> validate
>     * Module ZPublisher.mapply, line 88, in mapply
>     * Module ZPublisher.Publish, line 42, in call_object
>     * Module Products.CMFFormController.FSControllerValidator, line 58,
> in __call__
>     * Module Products.CMFFormController.Script, line 145, in __call__
>     * Module Products.CMFCore.FSPythonScript, line 140, in __call__
>     * Module Shared.DC.Scripts.Bindings, line 313, in __call__
>     * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
>     * Module Products.CMFCore.FSPythonScript, line 196, in _exec
>     * Module None, line 14, in captcha_validator
>       <FSControllerValidator at /sitioweb.org/captcha_validator used for
> /sitioweb.org/organizaciones/articulos/hambre-en-el-mundo>
>       Line 14
>     * Module Products.qPloneCaptchas.utils, line 147, in parseKey
> 
> AttributeError: 'NoneType' object has no attribute 'group'
> 
> ---------------------
> 
> En el sitio de pruebas no nos ha dado ningún problema (no tiene
> qPloneCaptchas instalado).
> 
> He buscado en los foros de Plone y QuintaGroup, así como en los
> buscadores de Internet, pero no he logrado encontrar nada para esta
> combinación de productos y la información genérica sobre"AttributeError:
> 'NoneType' object has no attribute" no me aclara las cosas.
> 
> ¿Alguien tiene idea de cómo se puede solucionar este error?
> 
> Gracias por la ayuda y abrazos,
> 

Nosotros utilizamos Scrawl + qPloneComments + collective.captcha en 
producción en un Plone 2.5:

http://www.mondragon.edu/ekt/bloga

La receta para integrar collective.captcha está aquí:

http://www.codesyntax.com/cs-workshop/blog/using-collective.captcha-in-custom-forms


Mikel


-- 
Mikel Larreategi
mlarreategi at codesyntax.com

CodeSyntax
Azitaingo Industrialdea 3 K
E-20600 Eibar
Tel: (+34) 943 82 17 80




More information about the Usuarios-Plone mailing list