I have read the old thread titled: " t3 strange error on 1.71.0 " and i couldnt solve it
I was contracted to coding a website in a short time, and then I discovered web2py Last 2 weeks I have been reading web2py info alot of hours a day, Now I am desperate!! Description or the problem: 1- I have a Mac, a PC (win) and the web hosting I recommended to my client is Webfaction, (yes, rocks) 2- The behaviour is the same at mi Leopard, XP or Webfaction: I register like admin and then set 'mail_administrator' = my email 3- The website requires email verification to users, so I set settings.email_verification=True 4- I configure my gmail to try: settings.email_server='smtp.gmail.com:587' settings.email_auth= 'goldenboy.es:mygmailpass' 5- settings.host_url= 'http://www.website.com" 6- leaving update response as is the email_text include a 'registration_key', but i dont find it at any place of code of T3 t2.messages.register_email_body="Click here "+settings.host_url +"/"+request.application+"/default/verify?key=%(registration_key)s to complete registration" 7- Any attempt of registering show 2 errors in "controllers/default.py", at lines 29 and 112 and : --> NameError: global name 'uuid' is not defined 8 - I know that error ocurrs only when mail_verification is true, so I figure out that if i can't see key in any place of code, then uuid- py may be necesary to generate the universal unique id. Questions: *** Any of you can give a aproximate response? **** what diferences is bettwen changing a variable at db.py or at models of T3, isit ok? *** is there any variable to disable the necessity of registration_key variable? Thanks alot of you !!!

