|
Hello there! Another strange behavior, when trying to register a new user I get: Traceback (most recent call last): File "gluon/restricted.py", line 184, in restricted exec ccode in environment File "/var/local/web2py/applications/alunos/controllers/default.py", line 112, in <module> File "gluon/globals.py", line 103, in <lambda> self._caller = lambda f: f() File "/var/local/web2py/applications/alunos/controllers/default.py", line 29, in register def register(): return dict(form=t2.register(verification=settings.email_verification,sender=settings.email_sender)) File "applications/alunos/modules/t2.py", line 1077, in register vars={'registration_key': str(uuid.uuid4()) if verification else ''} NameError: global name 'uuid' is not defined What could be the problem? Julio Monteiro Júlio Monteiro wrote: I was testing the new released version with T3, but I am getting a strange error now. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [web2py:34290] T3 strange error on 1.71.0 Júlio Monteiro
- [web2py:34294] Re: T3 strange error on 1.71... Júlio Monteiro
- [web2py:34304] Re: T3 strange error on ... Douglas Soares de Andrade
- [web2py:34306] Re: T3 strange error... Júlio Monteiro
- [web2py:34320] Re: T3 strange error on ... mdipierro
- [web2py:34330] Re: T3 strange error... Júlio Monteiro

