Recaptcha must be imported somewhere for you to use it. Do you have an 
import somewhere in your code? We need more details.

Anthony

On Friday, August 31, 2018 at 8:48:49 AM UTC-4, Rahul wrote:
>
> Hi All,
>     There seems to be an issue with latest version of web2py 2.17.1. I am 
> getting an exception like below for my project . However the same seems to 
> be working fine in web2py 2.15.3 but it gives the message shown in attached 
> image. 
>
> <type 'exceptions.NameError'> global name 'Recaptcha' is not defined
>
>
> File "web2py/applications/artpic/controllers/default.py", line 1759, in 
> register
>     crud.settings.create_captcha= Recaptcha(request, publickey, privatekey
> )
> NameError: global name 'Recaptcha' is not defined
>
> Any idea ? 
>
> Rahul
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to